Class InstanceStorageConfigReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.connect.InstanceStorageConfigReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<InstanceStorageConfigReference>
- Enclosing interface:
InstanceStorageConfigReference
@Stability(Stable)
public static final class InstanceStorageConfigReference.Builder
extends Object
implements software.amazon.jsii.Builder<InstanceStorageConfigReference>
A builder for
InstanceStorageConfigReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionassociationId(String associationId) Sets the value ofInstanceStorageConfigReference.getAssociationId()build()Builds the configured instance.instanceArn(String instanceArn) Sets the value ofInstanceStorageConfigReference.getInstanceArn()resourceType(String resourceType) Sets the value ofInstanceStorageConfigReference.getResourceType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
associationId
@Stability(Stable) public InstanceStorageConfigReference.Builder associationId(String associationId) Sets the value ofInstanceStorageConfigReference.getAssociationId()- Parameters:
associationId- The AssociationId of the InstanceStorageConfig resource. This parameter is required.- Returns:
this
-
instanceArn
Sets the value ofInstanceStorageConfigReference.getInstanceArn()- Parameters:
instanceArn- The InstanceArn of the InstanceStorageConfig resource. This parameter is required.- Returns:
this
-
resourceType
Sets the value ofInstanceStorageConfigReference.getResourceType()- Parameters:
resourceType- The ResourceType of the InstanceStorageConfig resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<InstanceStorageConfigReference>- Returns:
- a new instance of
InstanceStorageConfigReference - Throws:
NullPointerException- if any required attribute was not provided
-