Class CfnStorageSystem.Builder

java.lang.Object
software.amazon.awscdk.services.datasync.CfnStorageSystem.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnStorageSystem>
Enclosing class:
CfnStorageSystem

@Stability(Stable) public static final class CfnStorageSystem.Builder extends Object implements software.amazon.jsii.Builder<CfnStorageSystem>
A fluent builder for CfnStorageSystem.
  • Method Details

    • create

      @Stability(Stable) public static CfnStorageSystem.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      Returns:
      a new instance of CfnStorageSystem.Builder.
    • agentArns

      @Stability(Stable) public CfnStorageSystem.Builder agentArns(List<String> 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.

      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.
      Returns:
      this
    • serverConfiguration

      @Stability(Stable) public CfnStorageSystem.Builder serverConfiguration(IResolvable serverConfiguration)
      Specifies the server name and network port required to connect with the management interface of your on-premises storage system.

      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 CfnStorageSystem.Builder serverConfiguration(CfnStorageSystem.ServerConfigurationProperty serverConfiguration)
      Specifies the server name and network port required to connect with the management interface of your on-premises storage system.

      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

      @Stability(Stable) public CfnStorageSystem.Builder systemType(String systemType)
      Specifies the type of on-premises storage system that you want DataSync Discovery to collect information about.

      DataSync Discovery currently supports NetApp Fabric-Attached Storage (FAS) and All Flash FAS (AFF) systems running ONTAP 9.7 or later.

      Parameters:
      systemType - Specifies the type of on-premises storage system that you want DataSync Discovery to collect information about. This parameter is required.
      Returns:
      this
    • cloudWatchLogGroupArn

      @Stability(Stable) public CfnStorageSystem.Builder cloudWatchLogGroupArn(String cloudWatchLogGroupArn)
      Specifies the ARN of the Amazon CloudWatch log group for monitoring and logging discovery job events.

      Parameters:
      cloudWatchLogGroupArn - Specifies the ARN of the Amazon CloudWatch log group for monitoring and logging discovery job events. This parameter is required.
      Returns:
      this
    • name

      @Stability(Stable) public CfnStorageSystem.Builder name(String name)
      Specifies a familiar name for your on-premises storage system.

      Parameters:
      name - Specifies a familiar name for your on-premises storage system. This parameter is required.
      Returns:
      this
    • serverCredentials

      @Stability(Stable) public CfnStorageSystem.Builder serverCredentials(IResolvable serverCredentials)
      Specifies the user name and password for accessing your on-premises storage system's management interface.

      Parameters:
      serverCredentials - Specifies the user name and password for accessing your on-premises storage system's management interface. This parameter is required.
      Returns:
      this
    • serverCredentials

      @Stability(Stable) public CfnStorageSystem.Builder serverCredentials(CfnStorageSystem.ServerCredentialsProperty serverCredentials)
      Specifies the user name and password for accessing your on-premises storage system's management interface.

      Parameters:
      serverCredentials - Specifies the user name and password for accessing your on-premises storage system's management interface. This parameter is required.
      Returns:
      this
    • tags

      @Stability(Stable) public CfnStorageSystem.Builder tags(List<? extends CfnTag> 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.

      Parameters:
      tags - Specifies labels that help you categorize, filter, and search for your AWS resources. This parameter is required.
      Returns:
      this
    • build

      @Stability(Stable) public CfnStorageSystem build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnStorageSystem>
      Returns:
      a newly built instance of CfnStorageSystem.