Package com.pulumi.aws.dms.inputs
Class EndpointState.Builder
- java.lang.Object
-
- com.pulumi.aws.dms.inputs.EndpointState.Builder
-
- Enclosing class:
- EndpointState
public static final class EndpointState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(EndpointState defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EndpointStatebuild()EndpointState.BuildercertificateArn(com.pulumi.core.Output<java.lang.String> certificateArn)EndpointState.BuildercertificateArn(java.lang.String certificateArn)EndpointState.BuilderdatabaseName(com.pulumi.core.Output<java.lang.String> databaseName)EndpointState.BuilderdatabaseName(java.lang.String databaseName)EndpointState.BuilderelasticsearchSettings(EndpointElasticsearchSettingsArgs elasticsearchSettings)EndpointState.BuilderelasticsearchSettings(com.pulumi.core.Output<EndpointElasticsearchSettingsArgs> elasticsearchSettings)EndpointState.BuilderendpointArn(com.pulumi.core.Output<java.lang.String> endpointArn)EndpointState.BuilderendpointArn(java.lang.String endpointArn)EndpointState.BuilderendpointId(com.pulumi.core.Output<java.lang.String> endpointId)EndpointState.BuilderendpointId(java.lang.String endpointId)EndpointState.BuilderendpointType(com.pulumi.core.Output<java.lang.String> endpointType)EndpointState.BuilderendpointType(java.lang.String endpointType)EndpointState.BuilderengineName(com.pulumi.core.Output<java.lang.String> engineName)EndpointState.BuilderengineName(java.lang.String engineName)EndpointState.BuilderextraConnectionAttributes(com.pulumi.core.Output<java.lang.String> extraConnectionAttributes)EndpointState.BuilderextraConnectionAttributes(java.lang.String extraConnectionAttributes)EndpointState.BuilderkafkaSettings(EndpointKafkaSettingsArgs kafkaSettings)EndpointState.BuilderkafkaSettings(com.pulumi.core.Output<EndpointKafkaSettingsArgs> kafkaSettings)EndpointState.BuilderkinesisSettings(EndpointKinesisSettingsArgs kinesisSettings)EndpointState.BuilderkinesisSettings(com.pulumi.core.Output<EndpointKinesisSettingsArgs> kinesisSettings)EndpointState.BuilderkmsKeyArn(com.pulumi.core.Output<java.lang.String> kmsKeyArn)EndpointState.BuilderkmsKeyArn(java.lang.String kmsKeyArn)EndpointState.BuildermongodbSettings(EndpointMongodbSettingsArgs mongodbSettings)EndpointState.BuildermongodbSettings(com.pulumi.core.Output<EndpointMongodbSettingsArgs> mongodbSettings)EndpointState.BuildermysqlSettings(EndpointMysqlSettingsArgs mysqlSettings)EndpointState.BuildermysqlSettings(com.pulumi.core.Output<EndpointMysqlSettingsArgs> mysqlSettings)EndpointState.BuilderoracleSettings(EndpointOracleSettingsArgs oracleSettings)EndpointState.BuilderoracleSettings(com.pulumi.core.Output<EndpointOracleSettingsArgs> oracleSettings)EndpointState.Builderpassword(com.pulumi.core.Output<java.lang.String> password)EndpointState.Builderpassword(java.lang.String password)EndpointState.BuilderpauseReplicationTasks(com.pulumi.core.Output<java.lang.Boolean> pauseReplicationTasks)EndpointState.BuilderpauseReplicationTasks(java.lang.Boolean pauseReplicationTasks)EndpointState.Builderport(com.pulumi.core.Output<java.lang.Integer> port)EndpointState.Builderport(java.lang.Integer port)EndpointState.BuilderpostgresSettings(EndpointPostgresSettingsArgs postgresSettings)EndpointState.BuilderpostgresSettings(com.pulumi.core.Output<EndpointPostgresSettingsArgs> postgresSettings)EndpointState.BuilderredisSettings(EndpointRedisSettingsArgs redisSettings)EndpointState.BuilderredisSettings(com.pulumi.core.Output<EndpointRedisSettingsArgs> redisSettings)EndpointState.BuilderredshiftSettings(EndpointRedshiftSettingsArgs redshiftSettings)EndpointState.BuilderredshiftSettings(com.pulumi.core.Output<EndpointRedshiftSettingsArgs> redshiftSettings)EndpointState.Builderregion(com.pulumi.core.Output<java.lang.String> region)EndpointState.Builderregion(java.lang.String region)EndpointState.BuildersecretsManagerAccessRoleArn(com.pulumi.core.Output<java.lang.String> secretsManagerAccessRoleArn)EndpointState.BuildersecretsManagerAccessRoleArn(java.lang.String secretsManagerAccessRoleArn)EndpointState.BuildersecretsManagerArn(com.pulumi.core.Output<java.lang.String> secretsManagerArn)EndpointState.BuildersecretsManagerArn(java.lang.String secretsManagerArn)EndpointState.BuilderserverName(com.pulumi.core.Output<java.lang.String> serverName)EndpointState.BuilderserverName(java.lang.String serverName)EndpointState.BuilderserviceAccessRole(com.pulumi.core.Output<java.lang.String> serviceAccessRole)EndpointState.BuilderserviceAccessRole(java.lang.String serviceAccessRole)EndpointState.BuildersslMode(com.pulumi.core.Output<java.lang.String> sslMode)EndpointState.BuildersslMode(java.lang.String sslMode)EndpointState.Buildertags(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)EndpointState.Buildertags(java.util.Map<java.lang.String,java.lang.String> tags)EndpointState.BuildertagsAll(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tagsAll)EndpointState.BuildertagsAll(java.util.Map<java.lang.String,java.lang.String> tagsAll)EndpointState.Builderusername(com.pulumi.core.Output<java.lang.String> username)EndpointState.Builderusername(java.lang.String username)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(EndpointState defaults)
-
-
Method Detail
-
certificateArn
public EndpointState.Builder certificateArn(@Nullable com.pulumi.core.Output<java.lang.String> certificateArn)
- Parameters:
certificateArn- ARN for the certificate.- Returns:
- builder
-
certificateArn
public EndpointState.Builder certificateArn(java.lang.String certificateArn)
- Parameters:
certificateArn- ARN for the certificate.- Returns:
- builder
-
databaseName
public EndpointState.Builder databaseName(@Nullable com.pulumi.core.Output<java.lang.String> databaseName)
- Parameters:
databaseName- Name of the endpoint database.- Returns:
- builder
-
databaseName
public EndpointState.Builder databaseName(java.lang.String databaseName)
- Parameters:
databaseName- Name of the endpoint database.- Returns:
- builder
-
elasticsearchSettings
public EndpointState.Builder elasticsearchSettings(@Nullable com.pulumi.core.Output<EndpointElasticsearchSettingsArgs> elasticsearchSettings)
- Parameters:
elasticsearchSettings- Configuration block for OpenSearch settings. See below.- Returns:
- builder
-
elasticsearchSettings
public EndpointState.Builder elasticsearchSettings(EndpointElasticsearchSettingsArgs elasticsearchSettings)
- Parameters:
elasticsearchSettings- Configuration block for OpenSearch settings. See below.- Returns:
- builder
-
endpointArn
public EndpointState.Builder endpointArn(@Nullable com.pulumi.core.Output<java.lang.String> endpointArn)
- Parameters:
endpointArn- ARN for the endpoint.- Returns:
- builder
-
endpointArn
public EndpointState.Builder endpointArn(java.lang.String endpointArn)
- Parameters:
endpointArn- ARN for the endpoint.- Returns:
- builder
-
endpointId
public EndpointState.Builder endpointId(@Nullable com.pulumi.core.Output<java.lang.String> endpointId)
- Parameters:
endpointId- Database endpoint identifier. Identifiers must contain from 1 to 255 alphanumeric characters or hyphens, begin with a letter, contain only ASCII letters, digits, and hyphens, not end with a hyphen, and not contain two consecutive hyphens.- Returns:
- builder
-
endpointId
public EndpointState.Builder endpointId(java.lang.String endpointId)
- Parameters:
endpointId- Database endpoint identifier. Identifiers must contain from 1 to 255 alphanumeric characters or hyphens, begin with a letter, contain only ASCII letters, digits, and hyphens, not end with a hyphen, and not contain two consecutive hyphens.- Returns:
- builder
-
endpointType
public EndpointState.Builder endpointType(@Nullable com.pulumi.core.Output<java.lang.String> endpointType)
- Parameters:
endpointType- Type of endpoint. Valid values are `source`, `target`.- Returns:
- builder
-
endpointType
public EndpointState.Builder endpointType(java.lang.String endpointType)
- Parameters:
endpointType- Type of endpoint. Valid values are `source`, `target`.- Returns:
- builder
-
engineName
public EndpointState.Builder engineName(@Nullable com.pulumi.core.Output<java.lang.String> engineName)
- Parameters:
engineName- Type of engine for the endpoint. Valid values are `aurora`, `aurora-postgresql`, `aurora-serverless`, `aurora-postgresql-serverless`,`azuredb`, `azure-sql-managed-instance`, `babelfish`, `db2`, `db2-zos`, `docdb`, `dynamodb`, `elasticsearch`, `kafka`, `kinesis`, `mariadb`, `mongodb`, `mysql`, `opensearch`, `oracle`, `postgres`, `redshift`,`redshift-serverless`, `sqlserver`, `neptune` ,`sybase`. Please note that some of engine names are available only for `target` endpoint type (e.g. `redshift`).- Returns:
- builder
-
engineName
public EndpointState.Builder engineName(java.lang.String engineName)
- Parameters:
engineName- Type of engine for the endpoint. Valid values are `aurora`, `aurora-postgresql`, `aurora-serverless`, `aurora-postgresql-serverless`,`azuredb`, `azure-sql-managed-instance`, `babelfish`, `db2`, `db2-zos`, `docdb`, `dynamodb`, `elasticsearch`, `kafka`, `kinesis`, `mariadb`, `mongodb`, `mysql`, `opensearch`, `oracle`, `postgres`, `redshift`,`redshift-serverless`, `sqlserver`, `neptune` ,`sybase`. Please note that some of engine names are available only for `target` endpoint type (e.g. `redshift`).- Returns:
- builder
-
extraConnectionAttributes
public EndpointState.Builder extraConnectionAttributes(@Nullable com.pulumi.core.Output<java.lang.String> extraConnectionAttributes)
- Parameters:
extraConnectionAttributes- Additional attributes associated with the connection. For available attributes for a `source` Endpoint, see [Sources for data migration](https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.html). For available attributes for a `target` Endpoint, see [Targets for data migration](https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.html).- Returns:
- builder
-
extraConnectionAttributes
public EndpointState.Builder extraConnectionAttributes(java.lang.String extraConnectionAttributes)
- Parameters:
extraConnectionAttributes- Additional attributes associated with the connection. For available attributes for a `source` Endpoint, see [Sources for data migration](https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.html). For available attributes for a `target` Endpoint, see [Targets for data migration](https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.html).- Returns:
- builder
-
kafkaSettings
public EndpointState.Builder kafkaSettings(@Nullable com.pulumi.core.Output<EndpointKafkaSettingsArgs> kafkaSettings)
- Parameters:
kafkaSettings- Configuration block for Kafka settings. See below.- Returns:
- builder
-
kafkaSettings
public EndpointState.Builder kafkaSettings(EndpointKafkaSettingsArgs kafkaSettings)
- Parameters:
kafkaSettings- Configuration block for Kafka settings. See below.- Returns:
- builder
-
kinesisSettings
public EndpointState.Builder kinesisSettings(@Nullable com.pulumi.core.Output<EndpointKinesisSettingsArgs> kinesisSettings)
- Parameters:
kinesisSettings- Configuration block for Kinesis settings. See below.- Returns:
- builder
-
kinesisSettings
public EndpointState.Builder kinesisSettings(EndpointKinesisSettingsArgs kinesisSettings)
- Parameters:
kinesisSettings- Configuration block for Kinesis settings. See below.- Returns:
- builder
-
kmsKeyArn
public EndpointState.Builder kmsKeyArn(@Nullable com.pulumi.core.Output<java.lang.String> kmsKeyArn)
- Parameters:
kmsKeyArn- ARN for the KMS key that will be used to encrypt the connection parameters. If you do not specify a value for `kmsKeyArn`, then AWS DMS will use your default encryption key. AWS KMS creates the default encryption key for your AWS account. Your AWS account has a different default encryption key for each AWS region. When `engineName` is `redshift`, `kmsKeyArn` is the KMS Key for the Redshift target and the parameter `redshift_settings.server_side_encryption_kms_key_id` encrypts the S3 intermediate storage. The following arguments are optional:- Returns:
- builder
-
kmsKeyArn
public EndpointState.Builder kmsKeyArn(java.lang.String kmsKeyArn)
- Parameters:
kmsKeyArn- ARN for the KMS key that will be used to encrypt the connection parameters. If you do not specify a value for `kmsKeyArn`, then AWS DMS will use your default encryption key. AWS KMS creates the default encryption key for your AWS account. Your AWS account has a different default encryption key for each AWS region. When `engineName` is `redshift`, `kmsKeyArn` is the KMS Key for the Redshift target and the parameter `redshift_settings.server_side_encryption_kms_key_id` encrypts the S3 intermediate storage. The following arguments are optional:- Returns:
- builder
-
mongodbSettings
public EndpointState.Builder mongodbSettings(@Nullable com.pulumi.core.Output<EndpointMongodbSettingsArgs> mongodbSettings)
- Parameters:
mongodbSettings- Configuration block for MongoDB settings. See below.- Returns:
- builder
-
mongodbSettings
public EndpointState.Builder mongodbSettings(EndpointMongodbSettingsArgs mongodbSettings)
- Parameters:
mongodbSettings- Configuration block for MongoDB settings. See below.- Returns:
- builder
-
mysqlSettings
public EndpointState.Builder mysqlSettings(@Nullable com.pulumi.core.Output<EndpointMysqlSettingsArgs> mysqlSettings)
- Parameters:
mysqlSettings- Configuration block for MySQL settings. See below.- Returns:
- builder
-
mysqlSettings
public EndpointState.Builder mysqlSettings(EndpointMysqlSettingsArgs mysqlSettings)
- Parameters:
mysqlSettings- Configuration block for MySQL settings. See below.- Returns:
- builder
-
oracleSettings
public EndpointState.Builder oracleSettings(@Nullable com.pulumi.core.Output<EndpointOracleSettingsArgs> oracleSettings)
- Parameters:
oracleSettings- Configuration block for Oracle settings. See below.- Returns:
- builder
-
oracleSettings
public EndpointState.Builder oracleSettings(EndpointOracleSettingsArgs oracleSettings)
- Parameters:
oracleSettings- Configuration block for Oracle settings. See below.- Returns:
- builder
-
password
public EndpointState.Builder password(@Nullable com.pulumi.core.Output<java.lang.String> password)
- Parameters:
password- Password to be used to login to the endpoint database.- Returns:
- builder
-
password
public EndpointState.Builder password(java.lang.String password)
- Parameters:
password- Password to be used to login to the endpoint database.- Returns:
- builder
-
pauseReplicationTasks
public EndpointState.Builder pauseReplicationTasks(@Nullable com.pulumi.core.Output<java.lang.Boolean> pauseReplicationTasks)
- Parameters:
pauseReplicationTasks- Whether to pause associated running replication tasks, regardless if they are managed by Terraform, prior to modifying the endpoint. Only tasks paused by the resource will be restarted after the modification completes. Default is `false`.- Returns:
- builder
-
pauseReplicationTasks
public EndpointState.Builder pauseReplicationTasks(java.lang.Boolean pauseReplicationTasks)
- Parameters:
pauseReplicationTasks- Whether to pause associated running replication tasks, regardless if they are managed by Terraform, prior to modifying the endpoint. Only tasks paused by the resource will be restarted after the modification completes. Default is `false`.- Returns:
- builder
-
port
public EndpointState.Builder port(@Nullable com.pulumi.core.Output<java.lang.Integer> port)
- Parameters:
port- Port used by the endpoint database.- Returns:
- builder
-
port
public EndpointState.Builder port(java.lang.Integer port)
- Parameters:
port- Port used by the endpoint database.- Returns:
- builder
-
postgresSettings
public EndpointState.Builder postgresSettings(@Nullable com.pulumi.core.Output<EndpointPostgresSettingsArgs> postgresSettings)
- Parameters:
postgresSettings- Configuration block for Postgres settings. See below.- Returns:
- builder
-
postgresSettings
public EndpointState.Builder postgresSettings(EndpointPostgresSettingsArgs postgresSettings)
- Parameters:
postgresSettings- Configuration block for Postgres settings. See below.- Returns:
- builder
-
redisSettings
public EndpointState.Builder redisSettings(@Nullable com.pulumi.core.Output<EndpointRedisSettingsArgs> redisSettings)
-
redisSettings
public EndpointState.Builder redisSettings(EndpointRedisSettingsArgs redisSettings)
-
redshiftSettings
public EndpointState.Builder redshiftSettings(@Nullable com.pulumi.core.Output<EndpointRedshiftSettingsArgs> redshiftSettings)
- Parameters:
redshiftSettings- Configuration block for Redshift settings. See below.- Returns:
- builder
-
redshiftSettings
public EndpointState.Builder redshiftSettings(EndpointRedshiftSettingsArgs redshiftSettings)
- Parameters:
redshiftSettings- Configuration block for Redshift settings. See below.- Returns:
- builder
-
region
public EndpointState.Builder region(@Nullable com.pulumi.core.Output<java.lang.String> region)
- Parameters:
region- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.- Returns:
- builder
-
region
public EndpointState.Builder region(java.lang.String region)
- Parameters:
region- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.- Returns:
- builder
-
secretsManagerAccessRoleArn
public EndpointState.Builder secretsManagerAccessRoleArn(@Nullable com.pulumi.core.Output<java.lang.String> secretsManagerAccessRoleArn)
- Parameters:
secretsManagerAccessRoleArn- ARN of the IAM role that specifies AWS DMS as the trusted entity and has the required permissions to access the value in the Secrets Manager secret referred to by `secretsManagerArn`. The role must allow the `iam:PassRole` action. > **Note:** You can specify one of two sets of values for these permissions. You can specify the values for this setting and `secretsManagerArn`. Or you can specify clear-text values for `username`, `password` , `serverName`, and `port`. You can't specify both.- Returns:
- builder
-
secretsManagerAccessRoleArn
public EndpointState.Builder secretsManagerAccessRoleArn(java.lang.String secretsManagerAccessRoleArn)
- Parameters:
secretsManagerAccessRoleArn- ARN of the IAM role that specifies AWS DMS as the trusted entity and has the required permissions to access the value in the Secrets Manager secret referred to by `secretsManagerArn`. The role must allow the `iam:PassRole` action. > **Note:** You can specify one of two sets of values for these permissions. You can specify the values for this setting and `secretsManagerArn`. Or you can specify clear-text values for `username`, `password` , `serverName`, and `port`. You can't specify both.- Returns:
- builder
-
secretsManagerArn
public EndpointState.Builder secretsManagerArn(@Nullable com.pulumi.core.Output<java.lang.String> secretsManagerArn)
- Parameters:
secretsManagerArn- Full ARN, partial ARN, or friendly name of the Secrets Manager secret that contains the endpoint connection details. Supported only when `engineName` is `aurora`, `aurora-postgresql`, `mariadb`, `mongodb`, `mysql`, `oracle`, `postgres`, `redshift`, or `sqlserver`.- Returns:
- builder
-
secretsManagerArn
public EndpointState.Builder secretsManagerArn(java.lang.String secretsManagerArn)
- Parameters:
secretsManagerArn- Full ARN, partial ARN, or friendly name of the Secrets Manager secret that contains the endpoint connection details. Supported only when `engineName` is `aurora`, `aurora-postgresql`, `mariadb`, `mongodb`, `mysql`, `oracle`, `postgres`, `redshift`, or `sqlserver`.- Returns:
- builder
-
serverName
public EndpointState.Builder serverName(@Nullable com.pulumi.core.Output<java.lang.String> serverName)
- Parameters:
serverName- Host name of the server.- Returns:
- builder
-
serverName
public EndpointState.Builder serverName(java.lang.String serverName)
- Parameters:
serverName- Host name of the server.- Returns:
- builder
-
serviceAccessRole
public EndpointState.Builder serviceAccessRole(@Nullable com.pulumi.core.Output<java.lang.String> serviceAccessRole)
- Parameters:
serviceAccessRole- ARN used by the service access IAM role for DynamoDB endpoints.- Returns:
- builder
-
serviceAccessRole
public EndpointState.Builder serviceAccessRole(java.lang.String serviceAccessRole)
- Parameters:
serviceAccessRole- ARN used by the service access IAM role for DynamoDB endpoints.- Returns:
- builder
-
sslMode
public EndpointState.Builder sslMode(@Nullable com.pulumi.core.Output<java.lang.String> sslMode)
- Parameters:
sslMode- SSL mode to use for the connection. Valid values are `none`, `require`, `verify-ca`, `verify-full`- Returns:
- builder
-
sslMode
public EndpointState.Builder sslMode(java.lang.String sslMode)
- Parameters:
sslMode- SSL mode to use for the connection. Valid values are `none`, `require`, `verify-ca`, `verify-full`- Returns:
- builder
-
tags
public EndpointState.Builder tags(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)
- Parameters:
tags- Map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Returns:
- builder
-
tags
public EndpointState.Builder tags(java.util.Map<java.lang.String,java.lang.String> tags)
- Parameters:
tags- Map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Returns:
- builder
-
tagsAll
public EndpointState.Builder tagsAll(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tagsAll)
- Parameters:
tagsAll- Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.- Returns:
- builder
-
tagsAll
public EndpointState.Builder tagsAll(java.util.Map<java.lang.String,java.lang.String> tagsAll)
- Parameters:
tagsAll- Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.- Returns:
- builder
-
username
public EndpointState.Builder username(@Nullable com.pulumi.core.Output<java.lang.String> username)
- Parameters:
username- User name to be used to login to the endpoint database.- Returns:
- builder
-
username
public EndpointState.Builder username(java.lang.String username)
- Parameters:
username- User name to be used to login to the endpoint database.- Returns:
- builder
-
build
public EndpointState build()
-
-