Class UseCaseReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.connect.UseCaseReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<UseCaseReference>
- Enclosing interface:
UseCaseReference
@Stability(Stable)
public static final class UseCaseReference.Builder
extends Object
implements software.amazon.jsii.Builder<UseCaseReference>
A builder for
UseCaseReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.instanceId(String instanceId) Sets the value ofUseCaseReference.getInstanceId()integrationAssociationId(String integrationAssociationId) Sets the value ofUseCaseReference.getIntegrationAssociationId()useCaseArn(String useCaseArn) Sets the value ofUseCaseReference.getUseCaseArn()Sets the value ofUseCaseReference.getUseCaseId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
instanceId
Sets the value ofUseCaseReference.getInstanceId()- Parameters:
instanceId- The InstanceId of the UseCase resource. This parameter is required.- Returns:
this
-
integrationAssociationId
@Stability(Stable) public UseCaseReference.Builder integrationAssociationId(String integrationAssociationId) Sets the value ofUseCaseReference.getIntegrationAssociationId()- Parameters:
integrationAssociationId- The IntegrationAssociationId of the UseCase resource. This parameter is required.- Returns:
this
-
useCaseArn
Sets the value ofUseCaseReference.getUseCaseArn()- Parameters:
useCaseArn- The ARN of the UseCase resource. This parameter is required.- Returns:
this
-
useCaseId
Sets the value ofUseCaseReference.getUseCaseId()- Parameters:
useCaseId- The UseCaseId of the UseCase resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<UseCaseReference>- Returns:
- a new instance of
UseCaseReference - Throws:
NullPointerException- if any required attribute was not provided
-