Class CfnMigrationProjectPropsMixin.DataProviderDescriptorProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.dms.CfnMigrationProjectPropsMixin.DataProviderDescriptorProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMigrationProjectPropsMixin.DataProviderDescriptorProperty>
- Enclosing interface:
CfnMigrationProjectPropsMixin.DataProviderDescriptorProperty
@Stability(Stable)
public static final class CfnMigrationProjectPropsMixin.DataProviderDescriptorProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMigrationProjectPropsMixin.DataProviderDescriptorProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.dataProviderArn(String dataProviderArn) dataProviderIdentifier(String dataProviderIdentifier) dataProviderName(String dataProviderName) secretsManagerAccessRoleArn(String secretsManagerAccessRoleArn) secretsManagerSecretId(String secretsManagerSecretId)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
dataProviderArn
@Stability(Stable) public CfnMigrationProjectPropsMixin.DataProviderDescriptorProperty.Builder dataProviderArn(String dataProviderArn) - Parameters:
dataProviderArn- The Amazon Resource Name (ARN) of the data provider.- Returns:
this
-
dataProviderIdentifier
@Stability(Stable) public CfnMigrationProjectPropsMixin.DataProviderDescriptorProperty.Builder dataProviderIdentifier(String dataProviderIdentifier) Sets the value ofCfnMigrationProjectPropsMixin.DataProviderDescriptorProperty.getDataProviderIdentifier()- Parameters:
dataProviderIdentifier- the value to be set.- Returns:
this
-
dataProviderName
@Stability(Stable) public CfnMigrationProjectPropsMixin.DataProviderDescriptorProperty.Builder dataProviderName(String dataProviderName) Sets the value ofCfnMigrationProjectPropsMixin.DataProviderDescriptorProperty.getDataProviderName()- Parameters:
dataProviderName- The user-friendly name of the data provider.- Returns:
this
-
secretsManagerAccessRoleArn
@Stability(Stable) public CfnMigrationProjectPropsMixin.DataProviderDescriptorProperty.Builder secretsManagerAccessRoleArn(String secretsManagerAccessRoleArn) Sets the value ofCfnMigrationProjectPropsMixin.DataProviderDescriptorProperty.getSecretsManagerAccessRoleArn()- Parameters:
secretsManagerAccessRoleArn- The ARN of the role used to access AWS Secrets Manager.- Returns:
this
-
secretsManagerSecretId
@Stability(Stable) public CfnMigrationProjectPropsMixin.DataProviderDescriptorProperty.Builder secretsManagerSecretId(String secretsManagerSecretId) Sets the value ofCfnMigrationProjectPropsMixin.DataProviderDescriptorProperty.getSecretsManagerSecretId()- Parameters:
secretsManagerSecretId- The identifier of the AWS Secrets Manager Secret used to store access credentials for the data provider.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnMigrationProjectPropsMixin.DataProviderDescriptorProperty>- Returns:
- a new instance of
CfnMigrationProjectPropsMixin.DataProviderDescriptorProperty - Throws:
NullPointerException- if any required attribute was not provided
-