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