/* * 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 CreateIntegrationWorkflowRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable { /** *
* The unique name of the domain. *
*/ private String domainName; /** ** The type of workflow. The only supported value is APPFLOW_INTEGRATION. *
*/ private String workflowType; /** ** Configuration data for integration workflow. *
*/ private IntegrationConfig integrationConfig; /** ** The name of the profile object type. *
*/ private String objectTypeName; /** ** The Amazon Resource Name (ARN) of the IAM role. Customer Profiles assumes this role to create resources on your * behalf as part of workflow execution. *
*/ private String roleArn; /** ** The tags used to organize, track, or control access for this resource. *
*/ private java.util.Map* 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 CreateIntegrationWorkflowRequest withDomainName(String domainName) { setDomainName(domainName); return this; } /** ** The type of workflow. The only supported value is APPFLOW_INTEGRATION. *
* * @param workflowType * The type of workflow. The only supported value is APPFLOW_INTEGRATION. * @see WorkflowType */ public void setWorkflowType(String workflowType) { this.workflowType = workflowType; } /** ** The type of workflow. The only supported value is APPFLOW_INTEGRATION. *
* * @return The type of workflow. The only supported value is APPFLOW_INTEGRATION. * @see WorkflowType */ public String getWorkflowType() { return this.workflowType; } /** ** The type of workflow. The only supported value is APPFLOW_INTEGRATION. *
* * @param workflowType * The type of workflow. The only supported value is APPFLOW_INTEGRATION. * @return Returns a reference to this object so that method calls can be chained together. * @see WorkflowType */ public CreateIntegrationWorkflowRequest withWorkflowType(String workflowType) { setWorkflowType(workflowType); return this; } /** ** The type of workflow. The only supported value is APPFLOW_INTEGRATION. *
* * @param workflowType * The type of workflow. The only supported value is APPFLOW_INTEGRATION. * @return Returns a reference to this object so that method calls can be chained together. * @see WorkflowType */ public CreateIntegrationWorkflowRequest withWorkflowType(WorkflowType workflowType) { this.workflowType = workflowType.toString(); return this; } /** ** Configuration data for integration workflow. *
* * @param integrationConfig * Configuration data for integration workflow. */ public void setIntegrationConfig(IntegrationConfig integrationConfig) { this.integrationConfig = integrationConfig; } /** ** Configuration data for integration workflow. *
* * @return Configuration data for integration workflow. */ public IntegrationConfig getIntegrationConfig() { return this.integrationConfig; } /** ** Configuration data for integration workflow. *
* * @param integrationConfig * Configuration data for integration workflow. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateIntegrationWorkflowRequest withIntegrationConfig(IntegrationConfig integrationConfig) { setIntegrationConfig(integrationConfig); 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 CreateIntegrationWorkflowRequest withObjectTypeName(String objectTypeName) { setObjectTypeName(objectTypeName); return this; } /** ** The Amazon Resource Name (ARN) of the IAM role. Customer Profiles assumes this role to create resources on your * behalf as part of workflow execution. *
* * @param roleArn * The Amazon Resource Name (ARN) of the IAM role. Customer Profiles assumes this role to create resources on * your behalf as part of workflow execution. */ public void setRoleArn(String roleArn) { this.roleArn = roleArn; } /** ** The Amazon Resource Name (ARN) of the IAM role. Customer Profiles assumes this role to create resources on your * behalf as part of workflow execution. *
* * @return The Amazon Resource Name (ARN) of the IAM role. Customer Profiles assumes this role to create resources * on your behalf as part of workflow execution. */ public String getRoleArn() { return this.roleArn; } /** ** The Amazon Resource Name (ARN) of the IAM role. Customer Profiles assumes this role to create resources on your * behalf as part of workflow execution. *
* * @param roleArn * The Amazon Resource Name (ARN) of the IAM role. Customer Profiles assumes this role to create resources on * your behalf as part of workflow execution. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateIntegrationWorkflowRequest withRoleArn(String roleArn) { setRoleArn(roleArn); 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 CreateIntegrationWorkflowRequest withTags(java.util.Map