Class IntegrationAssociationReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.connect.IntegrationAssociationReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<IntegrationAssociationReference>
- Enclosing interface:
IntegrationAssociationReference
@Stability(Stable)
public static final class IntegrationAssociationReference.Builder
extends Object
implements software.amazon.jsii.Builder<IntegrationAssociationReference>
A builder for
IntegrationAssociationReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.instanceId(String instanceId) Sets the value ofIntegrationAssociationReference.getInstanceId()integrationArn(String integrationArn) Sets the value ofIntegrationAssociationReference.getIntegrationArn()integrationType(String integrationType) Sets the value ofIntegrationAssociationReference.getIntegrationType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
instanceId
Sets the value ofIntegrationAssociationReference.getInstanceId()- Parameters:
instanceId- The InstanceId of the IntegrationAssociation resource. This parameter is required.- Returns:
this
-
integrationArn
@Stability(Stable) public IntegrationAssociationReference.Builder integrationArn(String integrationArn) Sets the value ofIntegrationAssociationReference.getIntegrationArn()- Parameters:
integrationArn- The IntegrationArn of the IntegrationAssociation resource. This parameter is required.- Returns:
this
-
integrationType
@Stability(Stable) public IntegrationAssociationReference.Builder integrationType(String integrationType) Sets the value ofIntegrationAssociationReference.getIntegrationType()- Parameters:
integrationType- The IntegrationType of the IntegrationAssociation resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<IntegrationAssociationReference>- Returns:
- a new instance of
IntegrationAssociationReference - Throws:
NullPointerException- if any required attribute was not provided
-