Class ReplicationInstanceArgs.Builder

  • Enclosing class:
    ReplicationInstanceArgs

    public static final class ReplicationInstanceArgs.Builder
    extends java.lang.Object
    • Method Detail

      • allocatedStorage

        public ReplicationInstanceArgs.Builder allocatedStorage​(@Nullable
                                                                com.pulumi.core.Output<java.lang.Integer> allocatedStorage)
        Parameters:
        allocatedStorage - The amount of storage (in gigabytes) to be initially allocated for the replication instance.
        Returns:
        builder
      • allocatedStorage

        public ReplicationInstanceArgs.Builder allocatedStorage​(java.lang.Integer allocatedStorage)
        Parameters:
        allocatedStorage - The amount of storage (in gigabytes) to be initially allocated for the replication instance.
        Returns:
        builder
      • allowMajorVersionUpgrade

        public ReplicationInstanceArgs.Builder allowMajorVersionUpgrade​(@Nullable
                                                                        com.pulumi.core.Output<java.lang.Boolean> allowMajorVersionUpgrade)
        Parameters:
        allowMajorVersionUpgrade - Indicates that major version upgrades are allowed.
        Returns:
        builder
      • allowMajorVersionUpgrade

        public ReplicationInstanceArgs.Builder allowMajorVersionUpgrade​(java.lang.Boolean allowMajorVersionUpgrade)
        Parameters:
        allowMajorVersionUpgrade - Indicates that major version upgrades are allowed.
        Returns:
        builder
      • applyImmediately

        public ReplicationInstanceArgs.Builder applyImmediately​(@Nullable
                                                                com.pulumi.core.Output<java.lang.Boolean> applyImmediately)
        Parameters:
        applyImmediately - Indicates whether the changes should be applied immediately or during the next maintenance window. Only used when updating an existing resource.
        Returns:
        builder
      • applyImmediately

        public ReplicationInstanceArgs.Builder applyImmediately​(java.lang.Boolean applyImmediately)
        Parameters:
        applyImmediately - Indicates whether the changes should be applied immediately or during the next maintenance window. Only used when updating an existing resource.
        Returns:
        builder
      • autoMinorVersionUpgrade

        public ReplicationInstanceArgs.Builder autoMinorVersionUpgrade​(@Nullable
                                                                       com.pulumi.core.Output<java.lang.Boolean> autoMinorVersionUpgrade)
        Parameters:
        autoMinorVersionUpgrade - Indicates that minor engine upgrades will be applied automatically to the replication instance during the maintenance window.
        Returns:
        builder
      • autoMinorVersionUpgrade

        public ReplicationInstanceArgs.Builder autoMinorVersionUpgrade​(java.lang.Boolean autoMinorVersionUpgrade)
        Parameters:
        autoMinorVersionUpgrade - Indicates that minor engine upgrades will be applied automatically to the replication instance during the maintenance window.
        Returns:
        builder
      • availabilityZone

        public ReplicationInstanceArgs.Builder availabilityZone​(@Nullable
                                                                com.pulumi.core.Output<java.lang.String> availabilityZone)
        Parameters:
        availabilityZone - The EC2 Availability Zone that the replication instance will be created in.
        Returns:
        builder
      • availabilityZone

        public ReplicationInstanceArgs.Builder availabilityZone​(java.lang.String availabilityZone)
        Parameters:
        availabilityZone - The EC2 Availability Zone that the replication instance will be created in.
        Returns:
        builder
      • engineVersion

        public ReplicationInstanceArgs.Builder engineVersion​(@Nullable
                                                             com.pulumi.core.Output<java.lang.String> engineVersion)
        Parameters:
        engineVersion - The engine version number of the replication instance.
        Returns:
        builder
      • engineVersion

        public ReplicationInstanceArgs.Builder engineVersion​(java.lang.String engineVersion)
        Parameters:
        engineVersion - The engine version number of the replication instance.
        Returns:
        builder
      • kmsKeyArn

        public ReplicationInstanceArgs.Builder kmsKeyArn​(@Nullable
                                                         com.pulumi.core.Output<java.lang.String> kmsKeyArn)
        Parameters:
        kmsKeyArn - The Amazon Resource Name (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.
        Returns:
        builder
      • kmsKeyArn

        public ReplicationInstanceArgs.Builder kmsKeyArn​(java.lang.String kmsKeyArn)
        Parameters:
        kmsKeyArn - The Amazon Resource Name (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.
        Returns:
        builder
      • multiAz

        public ReplicationInstanceArgs.Builder multiAz​(@Nullable
                                                       com.pulumi.core.Output<java.lang.Boolean> multiAz)
        Parameters:
        multiAz - Specifies if the replication instance is a multi-az deployment. You cannot set the `availability_zone` parameter if the `multi_az` parameter is set to `true`.
        Returns:
        builder
      • multiAz

        public ReplicationInstanceArgs.Builder multiAz​(java.lang.Boolean multiAz)
        Parameters:
        multiAz - Specifies if the replication instance is a multi-az deployment. You cannot set the `availability_zone` parameter if the `multi_az` parameter is set to `true`.
        Returns:
        builder
      • networkType

        public ReplicationInstanceArgs.Builder networkType​(@Nullable
                                                           com.pulumi.core.Output<java.lang.String> networkType)
        Parameters:
        networkType - The type of IP address protocol used by a replication instance. Valid values: `IPV4`, `DUAL`.
        Returns:
        builder
      • networkType

        public ReplicationInstanceArgs.Builder networkType​(java.lang.String networkType)
        Parameters:
        networkType - The type of IP address protocol used by a replication instance. Valid values: `IPV4`, `DUAL`.
        Returns:
        builder
      • preferredMaintenanceWindow

        public ReplicationInstanceArgs.Builder preferredMaintenanceWindow​(@Nullable
                                                                          com.pulumi.core.Output<java.lang.String> preferredMaintenanceWindow)
        Parameters:
        preferredMaintenanceWindow - The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC). - Default: A 30-minute window selected at random from an 8-hour block of time per region, occurring on a random day of the week. - Format: `ddd:hh24:mi-ddd:hh24:mi` - Valid Days: `mon, tue, wed, thu, fri, sat, sun` - Constraints: Minimum 30-minute window.
        Returns:
        builder
      • preferredMaintenanceWindow

        public ReplicationInstanceArgs.Builder preferredMaintenanceWindow​(java.lang.String preferredMaintenanceWindow)
        Parameters:
        preferredMaintenanceWindow - The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC). - Default: A 30-minute window selected at random from an 8-hour block of time per region, occurring on a random day of the week. - Format: `ddd:hh24:mi-ddd:hh24:mi` - Valid Days: `mon, tue, wed, thu, fri, sat, sun` - Constraints: Minimum 30-minute window.
        Returns:
        builder
      • publiclyAccessible

        public ReplicationInstanceArgs.Builder publiclyAccessible​(@Nullable
                                                                  com.pulumi.core.Output<java.lang.Boolean> publiclyAccessible)
        Parameters:
        publiclyAccessible - Specifies the accessibility options for the replication instance. A value of true represents an instance with a public IP address. A value of false represents an instance with a private IP address.
        Returns:
        builder
      • publiclyAccessible

        public ReplicationInstanceArgs.Builder publiclyAccessible​(java.lang.Boolean publiclyAccessible)
        Parameters:
        publiclyAccessible - Specifies the accessibility options for the replication instance. A value of true represents an instance with a public IP address. A value of false represents an instance with a private IP address.
        Returns:
        builder
      • replicationInstanceClass

        public ReplicationInstanceArgs.Builder replicationInstanceClass​(com.pulumi.core.Output<java.lang.String> replicationInstanceClass)
        Parameters:
        replicationInstanceClass - The compute and memory capacity of the replication instance as specified by the replication instance class. See [AWS DMS User Guide](https://docs.aws.amazon.com/dms/latest/userguide/CHAP_ReplicationInstance.Types.html) for available instance sizes and advice on which one to choose.
        Returns:
        builder
      • replicationInstanceClass

        public ReplicationInstanceArgs.Builder replicationInstanceClass​(java.lang.String replicationInstanceClass)
        Parameters:
        replicationInstanceClass - The compute and memory capacity of the replication instance as specified by the replication instance class. See [AWS DMS User Guide](https://docs.aws.amazon.com/dms/latest/userguide/CHAP_ReplicationInstance.Types.html) for available instance sizes and advice on which one to choose.
        Returns:
        builder
      • replicationInstanceId

        public ReplicationInstanceArgs.Builder replicationInstanceId​(com.pulumi.core.Output<java.lang.String> replicationInstanceId)
        Parameters:
        replicationInstanceId - The replication instance identifier. This parameter is stored as a lowercase string. - Must contain from 1 to 63 alphanumeric characters or hyphens. - First character must be a letter. - Cannot end with a hyphen - Cannot contain two consecutive hyphens.
        Returns:
        builder
      • replicationInstanceId

        public ReplicationInstanceArgs.Builder replicationInstanceId​(java.lang.String replicationInstanceId)
        Parameters:
        replicationInstanceId - The replication instance identifier. This parameter is stored as a lowercase string. - Must contain from 1 to 63 alphanumeric characters or hyphens. - First character must be a letter. - Cannot end with a hyphen - Cannot contain two consecutive hyphens.
        Returns:
        builder
      • replicationSubnetGroupId

        public ReplicationInstanceArgs.Builder replicationSubnetGroupId​(@Nullable
                                                                        com.pulumi.core.Output<java.lang.String> replicationSubnetGroupId)
        Parameters:
        replicationSubnetGroupId - A subnet group to associate with the replication instance.
        Returns:
        builder
      • replicationSubnetGroupId

        public ReplicationInstanceArgs.Builder replicationSubnetGroupId​(java.lang.String replicationSubnetGroupId)
        Parameters:
        replicationSubnetGroupId - A subnet group to associate with the replication instance.
        Returns:
        builder
      • tags

        public ReplicationInstanceArgs.Builder tags​(@Nullable
                                                    com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tags)
        Parameters:
        tags - A 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 ReplicationInstanceArgs.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - A 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
      • vpcSecurityGroupIds

        public ReplicationInstanceArgs.Builder vpcSecurityGroupIds​(@Nullable
                                                                   com.pulumi.core.Output<java.util.List<java.lang.String>> vpcSecurityGroupIds)
        Parameters:
        vpcSecurityGroupIds - A list of VPC security group IDs to be used with the replication instance. The VPC security groups must work with the VPC containing the replication instance.
        Returns:
        builder
      • vpcSecurityGroupIds

        public ReplicationInstanceArgs.Builder vpcSecurityGroupIds​(java.util.List<java.lang.String> vpcSecurityGroupIds)
        Parameters:
        vpcSecurityGroupIds - A list of VPC security group IDs to be used with the replication instance. The VPC security groups must work with the VPC containing the replication instance.
        Returns:
        builder
      • vpcSecurityGroupIds

        public ReplicationInstanceArgs.Builder vpcSecurityGroupIds​(java.lang.String... vpcSecurityGroupIds)
        Parameters:
        vpcSecurityGroupIds - A list of VPC security group IDs to be used with the replication instance. The VPC security groups must work with the VPC containing the replication instance.
        Returns:
        builder