Class EndpointArgs.Builder

  • Enclosing class:
    EndpointArgs

    public static final class EndpointArgs.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • certificateArn

        public EndpointArgs.Builder certificateArn​(@Nullable
                                                   com.pulumi.core.Output<java.lang.String> certificateArn)
        Parameters:
        certificateArn - ARN for the certificate.
        Returns:
        builder
      • certificateArn

        public EndpointArgs.Builder certificateArn​(java.lang.String certificateArn)
        Parameters:
        certificateArn - ARN for the certificate.
        Returns:
        builder
      • databaseName

        public EndpointArgs.Builder databaseName​(@Nullable
                                                 com.pulumi.core.Output<java.lang.String> databaseName)
        Parameters:
        databaseName - Name of the endpoint database.
        Returns:
        builder
      • databaseName

        public EndpointArgs.Builder databaseName​(java.lang.String databaseName)
        Parameters:
        databaseName - Name of the endpoint database.
        Returns:
        builder
      • elasticsearchSettings

        public EndpointArgs.Builder elasticsearchSettings​(@Nullable
                                                          com.pulumi.core.Output<EndpointElasticsearchSettingsArgs> elasticsearchSettings)
        Parameters:
        elasticsearchSettings - Configuration block for OpenSearch settings. See below.
        Returns:
        builder
      • endpointId

        public EndpointArgs.Builder endpointId​(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 EndpointArgs.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 EndpointArgs.Builder endpointType​(com.pulumi.core.Output<java.lang.String> endpointType)
        Parameters:
        endpointType - Type of endpoint. Valid values are `source`, `target`.
        Returns:
        builder
      • endpointType

        public EndpointArgs.Builder endpointType​(java.lang.String endpointType)
        Parameters:
        endpointType - Type of endpoint. Valid values are `source`, `target`.
        Returns:
        builder
      • engineName

        public EndpointArgs.Builder engineName​(com.pulumi.core.Output<java.lang.String> engineName)
        Parameters:
        engineName - Type of engine for the endpoint. Valid values are `aurora`, `aurora-postgresql`, `azuredb`, `azure-sql-managed-instance`, `babelfish`, `db2`, `db2-zos`, `docdb`, `dynamodb`, `elasticsearch`, `kafka`, `kinesis`, `mariadb`, `mongodb`, `mysql`, `opensearch`, `oracle`, `postgres`, `redshift`, `s3`, `sqlserver`, `sybase`. Please note that some of engine names are available only for `target` endpoint type (e.g. `redshift`).
        Returns:
        builder
      • engineName

        public EndpointArgs.Builder engineName​(java.lang.String engineName)
        Parameters:
        engineName - Type of engine for the endpoint. Valid values are `aurora`, `aurora-postgresql`, `azuredb`, `azure-sql-managed-instance`, `babelfish`, `db2`, `db2-zos`, `docdb`, `dynamodb`, `elasticsearch`, `kafka`, `kinesis`, `mariadb`, `mongodb`, `mysql`, `opensearch`, `oracle`, `postgres`, `redshift`, `s3`, `sqlserver`, `sybase`. Please note that some of engine names are available only for `target` endpoint type (e.g. `redshift`).
        Returns:
        builder
      • extraConnectionAttributes

        public EndpointArgs.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 EndpointArgs.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 EndpointArgs.Builder kafkaSettings​(@Nullable
                                                  com.pulumi.core.Output<EndpointKafkaSettingsArgs> kafkaSettings)
        Parameters:
        kafkaSettings - Configuration block for Kafka settings. See below.
        Returns:
        builder
      • kinesisSettings

        public EndpointArgs.Builder kinesisSettings​(@Nullable
                                                    com.pulumi.core.Output<EndpointKinesisSettingsArgs> kinesisSettings)
        Parameters:
        kinesisSettings - Configuration block for Kinesis settings. See below.
        Returns:
        builder
      • kmsKeyArn

        public EndpointArgs.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 `kms_key_arn`, 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. To encrypt an S3 target with a KMS Key, use the parameter `s3_settings.server_side_encryption_kms_key_id`. When `engine_name` is `redshift`, `kms_key_arn` 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 EndpointArgs.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 `kms_key_arn`, 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. To encrypt an S3 target with a KMS Key, use the parameter `s3_settings.server_side_encryption_kms_key_id`. When `engine_name` is `redshift`, `kms_key_arn` 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 EndpointArgs.Builder mongodbSettings​(@Nullable
                                                    com.pulumi.core.Output<EndpointMongodbSettingsArgs> mongodbSettings)
        Parameters:
        mongodbSettings - Configuration block for MongoDB settings. See below.
        Returns:
        builder
      • password

        public EndpointArgs.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 EndpointArgs.Builder password​(java.lang.String password)
        Parameters:
        password - Password to be used to login to the endpoint database.
        Returns:
        builder
      • pauseReplicationTasks

        public EndpointArgs.Builder pauseReplicationTasks​(@Nullable
                                                          com.pulumi.core.Output<java.lang.Boolean> pauseReplicationTasks)
      • pauseReplicationTasks

        public EndpointArgs.Builder pauseReplicationTasks​(java.lang.Boolean pauseReplicationTasks)
      • port

        public EndpointArgs.Builder port​(@Nullable
                                         com.pulumi.core.Output<java.lang.Integer> port)
        Parameters:
        port - Port used by the endpoint database.
        Returns:
        builder
      • port

        public EndpointArgs.Builder port​(java.lang.Integer port)
        Parameters:
        port - Port used by the endpoint database.
        Returns:
        builder
      • postgresSettings

        public EndpointArgs.Builder postgresSettings​(@Nullable
                                                     com.pulumi.core.Output<EndpointPostgresSettingsArgs> postgresSettings)
        Parameters:
        postgresSettings - Configuration block for Postgres settings. See below.
        Returns:
        builder
      • redshiftSettings

        public EndpointArgs.Builder redshiftSettings​(@Nullable
                                                     com.pulumi.core.Output<EndpointRedshiftSettingsArgs> redshiftSettings)
        Parameters:
        redshiftSettings - Configuration block for Redshift settings. See below.
        Returns:
        builder
      • s3Settings

        public EndpointArgs.Builder s3Settings​(@Nullable
                                               com.pulumi.core.Output<EndpointS3SettingsArgs> s3Settings)
        Parameters:
        s3Settings - (**Deprecated**, use the `aws.dms.S3Endpoint` resource instead) Configuration block for S3 settings. See below.
        Returns:
        builder
      • s3Settings

        public EndpointArgs.Builder s3Settings​(EndpointS3SettingsArgs s3Settings)
        Parameters:
        s3Settings - (**Deprecated**, use the `aws.dms.S3Endpoint` resource instead) Configuration block for S3 settings. See below.
        Returns:
        builder
      • secretsManagerAccessRoleArn

        public EndpointArgs.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 `secrets_manager_arn`. 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 `secrets_manager_arn`. Or you can specify clear-text values for `username`, `password` , `server_name`, and `port`. You can't specify both.
        Returns:
        builder
      • secretsManagerAccessRoleArn

        public EndpointArgs.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 `secrets_manager_arn`. 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 `secrets_manager_arn`. Or you can specify clear-text values for `username`, `password` , `server_name`, and `port`. You can't specify both.
        Returns:
        builder
      • secretsManagerArn

        public EndpointArgs.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 `engine_name` is `aurora`, `aurora-postgresql`, `mariadb`, `mongodb`, `mysql`, `oracle`, `postgres`, `redshift`, or `sqlserver`.
        Returns:
        builder
      • secretsManagerArn

        public EndpointArgs.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 `engine_name` is `aurora`, `aurora-postgresql`, `mariadb`, `mongodb`, `mysql`, `oracle`, `postgres`, `redshift`, or `sqlserver`.
        Returns:
        builder
      • serverName

        public EndpointArgs.Builder serverName​(@Nullable
                                               com.pulumi.core.Output<java.lang.String> serverName)
        Parameters:
        serverName - Host name of the server.
        Returns:
        builder
      • serverName

        public EndpointArgs.Builder serverName​(java.lang.String serverName)
        Parameters:
        serverName - Host name of the server.
        Returns:
        builder
      • serviceAccessRole

        public EndpointArgs.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 EndpointArgs.Builder serviceAccessRole​(java.lang.String serviceAccessRole)
        Parameters:
        serviceAccessRole - ARN used by the service access IAM role for dynamodb endpoints.
        Returns:
        builder
      • sslMode

        public EndpointArgs.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 EndpointArgs.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 EndpointArgs.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 `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tags

        public EndpointArgs.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 `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • username

        public EndpointArgs.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 EndpointArgs.Builder username​(java.lang.String username)
        Parameters:
        username - User name to be used to login to the endpoint database.
        Returns:
        builder