/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.customerprofiles.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.AmazonWebServiceRequest; /** * * @see AWS * API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class PutIntegrationRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable { /** *
* The unique name of the domain. *
*/ private String domainName; /** ** The URI of the S3 bucket or any other type of data source. *
*/ private String uri; /** ** The name of the profile object type. *
*/ private String objectTypeName; /** ** The tags used to organize, track, or control access for this resource. *
*/ private java.util.Map* The configuration that controls how Customer Profiles retrieves data from the source. *
*/ private FlowDefinition flowDefinition; /** *
* A map in which each key is an event type from an external application such as Segment or Shopify, and each value
* is an ObjectTypeName
(template) used to ingest the event. It supports the following event types:
* SegmentIdentify
, ShopifyCreateCustomers
, ShopifyUpdateCustomers
,
* ShopifyCreateDraftOrders
, ShopifyUpdateDraftOrders
, ShopifyCreateOrders
,
* and ShopifyUpdatedOrders
.
*
* The unique name of the domain. *
* * @param domainName * The unique name of the domain. */ public void setDomainName(String domainName) { this.domainName = domainName; } /** ** The unique name of the domain. *
* * @return The unique name of the domain. */ public String getDomainName() { return this.domainName; } /** ** The unique name of the domain. *
* * @param domainName * The unique name of the domain. * @return Returns a reference to this object so that method calls can be chained together. */ public PutIntegrationRequest withDomainName(String domainName) { setDomainName(domainName); return this; } /** ** The URI of the S3 bucket or any other type of data source. *
* * @param uri * The URI of the S3 bucket or any other type of data source. */ public void setUri(String uri) { this.uri = uri; } /** ** The URI of the S3 bucket or any other type of data source. *
* * @return The URI of the S3 bucket or any other type of data source. */ public String getUri() { return this.uri; } /** ** The URI of the S3 bucket or any other type of data source. *
* * @param uri * The URI of the S3 bucket or any other type of data source. * @return Returns a reference to this object so that method calls can be chained together. */ public PutIntegrationRequest withUri(String uri) { setUri(uri); return this; } /** ** The name of the profile object type. *
* * @param objectTypeName * The name of the profile object type. */ public void setObjectTypeName(String objectTypeName) { this.objectTypeName = objectTypeName; } /** ** The name of the profile object type. *
* * @return The name of the profile object type. */ public String getObjectTypeName() { return this.objectTypeName; } /** ** The name of the profile object type. *
* * @param objectTypeName * The name of the profile object type. * @return Returns a reference to this object so that method calls can be chained together. */ public PutIntegrationRequest withObjectTypeName(String objectTypeName) { setObjectTypeName(objectTypeName); return this; } /** ** The tags used to organize, track, or control access for this resource. *
* * @return The tags used to organize, track, or control access for this resource. */ public java.util.Map* The tags used to organize, track, or control access for this resource. *
* * @param tags * The tags used to organize, track, or control access for this resource. */ public void setTags(java.util.Map* The tags used to organize, track, or control access for this resource. *
* * @param tags * The tags used to organize, track, or control access for this resource. * @return Returns a reference to this object so that method calls can be chained together. */ public PutIntegrationRequest withTags(java.util.Map* The configuration that controls how Customer Profiles retrieves data from the source. *
* * @param flowDefinition * The configuration that controls how Customer Profiles retrieves data from the source. */ public void setFlowDefinition(FlowDefinition flowDefinition) { this.flowDefinition = flowDefinition; } /** ** The configuration that controls how Customer Profiles retrieves data from the source. *
* * @return The configuration that controls how Customer Profiles retrieves data from the source. */ public FlowDefinition getFlowDefinition() { return this.flowDefinition; } /** ** The configuration that controls how Customer Profiles retrieves data from the source. *
* * @param flowDefinition * The configuration that controls how Customer Profiles retrieves data from the source. * @return Returns a reference to this object so that method calls can be chained together. */ public PutIntegrationRequest withFlowDefinition(FlowDefinition flowDefinition) { setFlowDefinition(flowDefinition); return this; } /** *
* A map in which each key is an event type from an external application such as Segment or Shopify, and each value
* is an ObjectTypeName
(template) used to ingest the event. It supports the following event types:
* SegmentIdentify
, ShopifyCreateCustomers
, ShopifyUpdateCustomers
,
* ShopifyCreateDraftOrders
, ShopifyUpdateDraftOrders
, ShopifyCreateOrders
,
* and ShopifyUpdatedOrders
.
*
ObjectTypeName
(template) used to ingest the event. It supports the
* following event types: SegmentIdentify
, ShopifyCreateCustomers
,
* ShopifyUpdateCustomers
, ShopifyCreateDraftOrders
,
* ShopifyUpdateDraftOrders
, ShopifyCreateOrders
, and
* ShopifyUpdatedOrders
.
*/
public java.util.Map
* A map in which each key is an event type from an external application such as Segment or Shopify, and each value
* is an ObjectTypeName
(template) used to ingest the event. It supports the following event types:
* SegmentIdentify
, ShopifyCreateCustomers
, ShopifyUpdateCustomers
,
* ShopifyCreateDraftOrders
, ShopifyUpdateDraftOrders
, ShopifyCreateOrders
,
* and ShopifyUpdatedOrders
.
*
ObjectTypeName
(template) used to ingest the event. It supports the following
* event types: SegmentIdentify
, ShopifyCreateCustomers
,
* ShopifyUpdateCustomers
, ShopifyCreateDraftOrders
,
* ShopifyUpdateDraftOrders
, ShopifyCreateOrders
, and
* ShopifyUpdatedOrders
.
*/
public void setObjectTypeNames(java.util.Map
* A map in which each key is an event type from an external application such as Segment or Shopify, and each value
* is an ObjectTypeName
(template) used to ingest the event. It supports the following event types:
* SegmentIdentify
, ShopifyCreateCustomers
, ShopifyUpdateCustomers
,
* ShopifyCreateDraftOrders
, ShopifyUpdateDraftOrders
, ShopifyCreateOrders
,
* and ShopifyUpdatedOrders
.
*
ObjectTypeName
(template) used to ingest the event. It supports the following
* event types: SegmentIdentify
, ShopifyCreateCustomers
,
* ShopifyUpdateCustomers
, ShopifyCreateDraftOrders
,
* ShopifyUpdateDraftOrders
, ShopifyCreateOrders
, and
* ShopifyUpdatedOrders
.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public PutIntegrationRequest withObjectTypeNames(java.util.Map