Class CfnStackPropsMixin.StorageConnectorProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.appstream.CfnStackPropsMixin.StorageConnectorProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnStackPropsMixin.StorageConnectorProperty>
- Enclosing interface:
CfnStackPropsMixin.StorageConnectorProperty
@Stability(Stable)
public static final class CfnStackPropsMixin.StorageConnectorProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnStackPropsMixin.StorageConnectorProperty>
A builder for
CfnStackPropsMixin.StorageConnectorProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.connectorType(String connectorType) Sets the value ofCfnStackPropsMixin.StorageConnectorProperty.getConnectorType()Sets the value ofCfnStackPropsMixin.StorageConnectorProperty.getDomains()resourceIdentifier(String resourceIdentifier) Sets the value ofCfnStackPropsMixin.StorageConnectorProperty.getResourceIdentifier()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
connectorType
@Stability(Stable) public CfnStackPropsMixin.StorageConnectorProperty.Builder connectorType(String connectorType) Sets the value ofCfnStackPropsMixin.StorageConnectorProperty.getConnectorType()- Parameters:
connectorType- The type of storage connector.- Returns:
this
-
domains
@Stability(Stable) public CfnStackPropsMixin.StorageConnectorProperty.Builder domains(List<String> domains) Sets the value ofCfnStackPropsMixin.StorageConnectorProperty.getDomains()- Parameters:
domains- The names of the domains for the account.- Returns:
this
-
resourceIdentifier
@Stability(Stable) public CfnStackPropsMixin.StorageConnectorProperty.Builder resourceIdentifier(String resourceIdentifier) Sets the value ofCfnStackPropsMixin.StorageConnectorProperty.getResourceIdentifier()- Parameters:
resourceIdentifier- The ARN of the storage connector.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnStackPropsMixin.StorageConnectorProperty>- Returns:
- a new instance of
CfnStackPropsMixin.StorageConnectorProperty - Throws:
NullPointerException- if any required attribute was not provided
-