Class CfnStorageSystemProps.Builder
java.lang.Object
software.amazon.awscdk.services.datasync.CfnStorageSystemProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnStorageSystemProps>
- Enclosing interface:
CfnStorageSystemProps
@Stability(Stable)
public static final class CfnStorageSystemProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnStorageSystemProps>
A builder for
CfnStorageSystemProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnStorageSystemProps.getAgentArns()build()Builds the configured instance.cloudWatchLogGroupArn(String cloudWatchLogGroupArn) Sets the value ofCfnStorageSystemProps.getCloudWatchLogGroupArn()Sets the value ofCfnStorageSystemProps.getName()serverConfiguration(IResolvable serverConfiguration) Sets the value ofCfnStorageSystemProps.getServerConfiguration()serverConfiguration(CfnStorageSystem.ServerConfigurationProperty serverConfiguration) Sets the value ofCfnStorageSystemProps.getServerConfiguration()serverCredentials(IResolvable serverCredentials) Sets the value ofCfnStorageSystemProps.getServerCredentials()serverCredentials(CfnStorageSystem.ServerCredentialsProperty serverCredentials) Sets the value ofCfnStorageSystemProps.getServerCredentials()systemType(String systemType) Sets the value ofCfnStorageSystemProps.getSystemType()Sets the value ofCfnStorageSystemProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
agentArns
Sets the value ofCfnStorageSystemProps.getAgentArns()- Parameters:
agentArns- the value to be set. This parameter is required.- Returns:
this
-
serverConfiguration
@Stability(Stable) public CfnStorageSystemProps.Builder serverConfiguration(IResolvable serverConfiguration) Sets the value ofCfnStorageSystemProps.getServerConfiguration()- Parameters:
serverConfiguration- the value to be set. This parameter is required.- Returns:
this
-
serverConfiguration
@Stability(Stable) public CfnStorageSystemProps.Builder serverConfiguration(CfnStorageSystem.ServerConfigurationProperty serverConfiguration) Sets the value ofCfnStorageSystemProps.getServerConfiguration()- Parameters:
serverConfiguration- the value to be set. This parameter is required.- Returns:
this
-
systemType
Sets the value ofCfnStorageSystemProps.getSystemType()- Parameters:
systemType- the value to be set. This parameter is required.- Returns:
this
-
cloudWatchLogGroupArn
@Stability(Stable) public CfnStorageSystemProps.Builder cloudWatchLogGroupArn(String cloudWatchLogGroupArn) Sets the value ofCfnStorageSystemProps.getCloudWatchLogGroupArn()- Parameters:
cloudWatchLogGroupArn- the value to be set.- Returns:
this
-
name
Sets the value ofCfnStorageSystemProps.getName()- Parameters:
name- the value to be set.- Returns:
this
-
serverCredentials
@Stability(Stable) public CfnStorageSystemProps.Builder serverCredentials(IResolvable serverCredentials) Sets the value ofCfnStorageSystemProps.getServerCredentials()- Parameters:
serverCredentials- the value to be set.- Returns:
this
-
serverCredentials
@Stability(Stable) public CfnStorageSystemProps.Builder serverCredentials(CfnStorageSystem.ServerCredentialsProperty serverCredentials) Sets the value ofCfnStorageSystemProps.getServerCredentials()- Parameters:
serverCredentials- the value to be set.- Returns:
this
-
tags
Sets the value ofCfnStorageSystemProps.getTags()- Parameters:
tags- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnStorageSystemProps>- Returns:
- a new instance of
CfnStorageSystemProps - Throws:
NullPointerException- if any required attribute was not provided
-