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
-
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
- Specifies the Amazon Resource Name (ARN) of the DataSync agent that connects to and reads from your on-premises storage system's management interface. This parameter is required. You can only specify one ARN.- Returns:
this
-
serverConfiguration
@Stability(Stable) public CfnStorageSystemProps.Builder serverConfiguration(IResolvable serverConfiguration) Sets the value ofCfnStorageSystemProps.getServerConfiguration()
- Parameters:
serverConfiguration
- Specifies the server name and network port required to connect with the management interface of your on-premises storage system. This parameter is required.- Returns:
this
-
serverConfiguration
@Stability(Stable) public CfnStorageSystemProps.Builder serverConfiguration(CfnStorageSystem.ServerConfigurationProperty serverConfiguration) Sets the value ofCfnStorageSystemProps.getServerConfiguration()
- Parameters:
serverConfiguration
- Specifies the server name and network port required to connect with the management interface of your on-premises storage system. This parameter is required.- Returns:
this
-
systemType
Sets the value ofCfnStorageSystemProps.getSystemType()
- Parameters:
systemType
- Specifies the type of on-premises storage system that you want DataSync Discovery to collect information about. This parameter is required.DataSync Discovery currently supports NetApp Fabric-Attached Storage (FAS) and All Flash FAS (AFF) systems running ONTAP 9.7 or later.
- Returns:
this
-
cloudWatchLogGroupArn
@Stability(Stable) public CfnStorageSystemProps.Builder cloudWatchLogGroupArn(String cloudWatchLogGroupArn) Sets the value ofCfnStorageSystemProps.getCloudWatchLogGroupArn()
- Parameters:
cloudWatchLogGroupArn
- Specifies the ARN of the Amazon CloudWatch log group for monitoring and logging discovery job events.- Returns:
this
-
name
Sets the value ofCfnStorageSystemProps.getName()
- Parameters:
name
- Specifies a familiar name for your on-premises storage system.- Returns:
this
-
serverCredentials
@Stability(Stable) public CfnStorageSystemProps.Builder serverCredentials(IResolvable serverCredentials) Sets the value ofCfnStorageSystemProps.getServerCredentials()
- Parameters:
serverCredentials
- Specifies the user name and password for accessing your on-premises storage system's management interface.- Returns:
this
-
serverCredentials
@Stability(Stable) public CfnStorageSystemProps.Builder serverCredentials(CfnStorageSystem.ServerCredentialsProperty serverCredentials) Sets the value ofCfnStorageSystemProps.getServerCredentials()
- Parameters:
serverCredentials
- Specifies the user name and password for accessing your on-premises storage system's management interface.- Returns:
this
-
tags
Sets the value ofCfnStorageSystemProps.getTags()
- Parameters:
tags
- Specifies labels that help you categorize, filter, and search for your AWS resources. We recommend creating at least a name tag for your on-premises storage system.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnStorageSystemProps>
- Returns:
- a new instance of
CfnStorageSystemProps
- Throws:
NullPointerException
- if any required attribute was not provided
-