Class CreateReplicationInstanceRequest

java.lang.Object
com.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.databasemigrationservice.model.CreateReplicationInstanceRequest
All Implemented Interfaces:
ReadLimitInfo, Serializable, Cloneable

public class CreateReplicationInstanceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable

See Also:
  • Constructor Details

    • CreateReplicationInstanceRequest

      public CreateReplicationInstanceRequest()
  • Method Details

    • setReplicationInstanceIdentifier

      public void setReplicationInstanceIdentifier(String replicationInstanceIdentifier)

      The replication instance identifier. This parameter is stored as a lowercase string.

      Constraints:

      • Must contain from 1 to 63 alphanumeric characters or hyphens.
      • First character must be a letter.
      • Cannot end with a hyphen or contain two consecutive hyphens.

      Example: myrepinstance

      Parameters:
      replicationInstanceIdentifier - The replication instance identifier. This parameter is stored as a lowercase string.

      Constraints:

      • Must contain from 1 to 63 alphanumeric characters or hyphens.
      • First character must be a letter.
      • Cannot end with a hyphen or contain two consecutive hyphens.

      Example: myrepinstance

    • getReplicationInstanceIdentifier

      public String getReplicationInstanceIdentifier()

      The replication instance identifier. This parameter is stored as a lowercase string.

      Constraints:

      • Must contain from 1 to 63 alphanumeric characters or hyphens.
      • First character must be a letter.
      • Cannot end with a hyphen or contain two consecutive hyphens.

      Example: myrepinstance

      Returns:
      The replication instance identifier. This parameter is stored as a lowercase string.

      Constraints:

      • Must contain from 1 to 63 alphanumeric characters or hyphens.
      • First character must be a letter.
      • Cannot end with a hyphen or contain two consecutive hyphens.

      Example: myrepinstance

    • withReplicationInstanceIdentifier

      public CreateReplicationInstanceRequest withReplicationInstanceIdentifier(String replicationInstanceIdentifier)

      The replication instance identifier. This parameter is stored as a lowercase string.

      Constraints:

      • Must contain from 1 to 63 alphanumeric characters or hyphens.
      • First character must be a letter.
      • Cannot end with a hyphen or contain two consecutive hyphens.

      Example: myrepinstance

      Parameters:
      replicationInstanceIdentifier - The replication instance identifier. This parameter is stored as a lowercase string.

      Constraints:

      • Must contain from 1 to 63 alphanumeric characters or hyphens.
      • First character must be a letter.
      • Cannot end with a hyphen or contain two consecutive hyphens.

      Example: myrepinstance

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setAllocatedStorage

      public void setAllocatedStorage(Integer allocatedStorage)

      The amount of storage (in gigabytes) to be initially allocated for the replication instance.

      Parameters:
      allocatedStorage - The amount of storage (in gigabytes) to be initially allocated for the replication instance.
    • getAllocatedStorage

      public Integer getAllocatedStorage()

      The amount of storage (in gigabytes) to be initially allocated for the replication instance.

      Returns:
      The amount of storage (in gigabytes) to be initially allocated for the replication instance.
    • withAllocatedStorage

      public CreateReplicationInstanceRequest withAllocatedStorage(Integer allocatedStorage)

      The amount of storage (in gigabytes) to be initially allocated for the replication instance.

      Parameters:
      allocatedStorage - The amount of storage (in gigabytes) to be initially allocated for the replication instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setReplicationInstanceClass

      public void setReplicationInstanceClass(String replicationInstanceClass)

      The compute and memory capacity of the replication instance as specified by the replication instance class.

      Valid Values: dms.t2.micro | dms.t2.small | dms.t2.medium | dms.t2.large | dms.c4.large | dms.c4.xlarge | dms.c4.2xlarge | dms.c4.4xlarge

      Parameters:
      replicationInstanceClass - The compute and memory capacity of the replication instance as specified by the replication instance class.

      Valid Values: dms.t2.micro | dms.t2.small | dms.t2.medium | dms.t2.large | dms.c4.large | dms.c4.xlarge | dms.c4.2xlarge | dms.c4.4xlarge

    • getReplicationInstanceClass

      public String getReplicationInstanceClass()

      The compute and memory capacity of the replication instance as specified by the replication instance class.

      Valid Values: dms.t2.micro | dms.t2.small | dms.t2.medium | dms.t2.large | dms.c4.large | dms.c4.xlarge | dms.c4.2xlarge | dms.c4.4xlarge

      Returns:
      The compute and memory capacity of the replication instance as specified by the replication instance class.

      Valid Values: dms.t2.micro | dms.t2.small | dms.t2.medium | dms.t2.large | dms.c4.large | dms.c4.xlarge | dms.c4.2xlarge | dms.c4.4xlarge

    • withReplicationInstanceClass

      public CreateReplicationInstanceRequest withReplicationInstanceClass(String replicationInstanceClass)

      The compute and memory capacity of the replication instance as specified by the replication instance class.

      Valid Values: dms.t2.micro | dms.t2.small | dms.t2.medium | dms.t2.large | dms.c4.large | dms.c4.xlarge | dms.c4.2xlarge | dms.c4.4xlarge

      Parameters:
      replicationInstanceClass - The compute and memory capacity of the replication instance as specified by the replication instance class.

      Valid Values: dms.t2.micro | dms.t2.small | dms.t2.medium | dms.t2.large | dms.c4.large | dms.c4.xlarge | dms.c4.2xlarge | dms.c4.4xlarge

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setAvailabilityZone

      public void setAvailabilityZone(String availabilityZone)

      The EC2 Availability Zone that the replication instance will be created in.

      Default: A random, system-chosen Availability Zone in the endpoint's region.

      Example: us-east-1d

      Parameters:
      availabilityZone - The EC2 Availability Zone that the replication instance will be created in.

      Default: A random, system-chosen Availability Zone in the endpoint's region.

      Example: us-east-1d

    • getAvailabilityZone

      public String getAvailabilityZone()

      The EC2 Availability Zone that the replication instance will be created in.

      Default: A random, system-chosen Availability Zone in the endpoint's region.

      Example: us-east-1d

      Returns:
      The EC2 Availability Zone that the replication instance will be created in.

      Default: A random, system-chosen Availability Zone in the endpoint's region.

      Example: us-east-1d

    • withAvailabilityZone

      public CreateReplicationInstanceRequest withAvailabilityZone(String availabilityZone)

      The EC2 Availability Zone that the replication instance will be created in.

      Default: A random, system-chosen Availability Zone in the endpoint's region.

      Example: us-east-1d

      Parameters:
      availabilityZone - The EC2 Availability Zone that the replication instance will be created in.

      Default: A random, system-chosen Availability Zone in the endpoint's region.

      Example: us-east-1d

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setReplicationSubnetGroupIdentifier

      public void setReplicationSubnetGroupIdentifier(String replicationSubnetGroupIdentifier)

      A subnet group to associate with the replication instance.

      Parameters:
      replicationSubnetGroupIdentifier - A subnet group to associate with the replication instance.
    • getReplicationSubnetGroupIdentifier

      public String getReplicationSubnetGroupIdentifier()

      A subnet group to associate with the replication instance.

      Returns:
      A subnet group to associate with the replication instance.
    • withReplicationSubnetGroupIdentifier

      public CreateReplicationInstanceRequest withReplicationSubnetGroupIdentifier(String replicationSubnetGroupIdentifier)

      A subnet group to associate with the replication instance.

      Parameters:
      replicationSubnetGroupIdentifier - A subnet group to associate with the replication instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setPreferredMaintenanceWindow

      public void setPreferredMaintenanceWindow(String preferredMaintenanceWindow)

      The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).

      Format: ddd:hh24:mi-ddd:hh24:mi

      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.

      Valid Days: Mon, Tue, Wed, Thu, Fri, Sat, Sun

      Constraints: Minimum 30-minute window.

      Parameters:
      preferredMaintenanceWindow - The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).

      Format: ddd:hh24:mi-ddd:hh24:mi

      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.

      Valid Days: Mon, Tue, Wed, Thu, Fri, Sat, Sun

      Constraints: Minimum 30-minute window.

    • getPreferredMaintenanceWindow

      public String getPreferredMaintenanceWindow()

      The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).

      Format: ddd:hh24:mi-ddd:hh24:mi

      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.

      Valid Days: Mon, Tue, Wed, Thu, Fri, Sat, Sun

      Constraints: Minimum 30-minute window.

      Returns:
      The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).

      Format: ddd:hh24:mi-ddd:hh24:mi

      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.

      Valid Days: Mon, Tue, Wed, Thu, Fri, Sat, Sun

      Constraints: Minimum 30-minute window.

    • withPreferredMaintenanceWindow

      public CreateReplicationInstanceRequest withPreferredMaintenanceWindow(String preferredMaintenanceWindow)

      The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).

      Format: ddd:hh24:mi-ddd:hh24:mi

      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.

      Valid Days: Mon, Tue, Wed, Thu, Fri, Sat, Sun

      Constraints: Minimum 30-minute window.

      Parameters:
      preferredMaintenanceWindow - The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).

      Format: ddd:hh24:mi-ddd:hh24:mi

      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.

      Valid Days: Mon, Tue, Wed, Thu, Fri, Sat, Sun

      Constraints: Minimum 30-minute window.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setEngineVersion

      public void setEngineVersion(String engineVersion)

      The engine version number of the replication instance.

      Parameters:
      engineVersion - The engine version number of the replication instance.
    • getEngineVersion

      public String getEngineVersion()

      The engine version number of the replication instance.

      Returns:
      The engine version number of the replication instance.
    • withEngineVersion

      public CreateReplicationInstanceRequest withEngineVersion(String engineVersion)

      The engine version number of the replication instance.

      Parameters:
      engineVersion - The engine version number of the replication instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setAutoMinorVersionUpgrade

      public void setAutoMinorVersionUpgrade(Boolean autoMinorVersionUpgrade)

      Indicates that minor engine upgrades will be applied automatically to the replication instance during the maintenance window.

      Default: true

      Parameters:
      autoMinorVersionUpgrade - Indicates that minor engine upgrades will be applied automatically to the replication instance during the maintenance window.

      Default: true

    • getAutoMinorVersionUpgrade

      public Boolean getAutoMinorVersionUpgrade()

      Indicates that minor engine upgrades will be applied automatically to the replication instance during the maintenance window.

      Default: true

      Returns:
      Indicates that minor engine upgrades will be applied automatically to the replication instance during the maintenance window.

      Default: true

    • withAutoMinorVersionUpgrade

      public CreateReplicationInstanceRequest withAutoMinorVersionUpgrade(Boolean autoMinorVersionUpgrade)

      Indicates that minor engine upgrades will be applied automatically to the replication instance during the maintenance window.

      Default: true

      Parameters:
      autoMinorVersionUpgrade - Indicates that minor engine upgrades will be applied automatically to the replication instance during the maintenance window.

      Default: true

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • isAutoMinorVersionUpgrade

      public Boolean isAutoMinorVersionUpgrade()

      Indicates that minor engine upgrades will be applied automatically to the replication instance during the maintenance window.

      Default: true

      Returns:
      Indicates that minor engine upgrades will be applied automatically to the replication instance during the maintenance window.

      Default: true

    • getTags

      public List<Tag> getTags()

      Tags to be associated with the replication instance.

      Returns:
      Tags to be associated with the replication instance.
    • setTags

      public void setTags(Collection<Tag> tags)

      Tags to be associated with the replication instance.

      Parameters:
      tags - Tags to be associated with the replication instance.
    • withTags

      public CreateReplicationInstanceRequest withTags(Tag... tags)

      Tags to be associated with the replication instance.

      NOTE: This method appends the values to the existing list (if any). Use setTags(java.util.Collection) or withTags(java.util.Collection) if you want to override the existing values.

      Parameters:
      tags - Tags to be associated with the replication instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withTags

      Tags to be associated with the replication instance.

      Parameters:
      tags - Tags to be associated with the replication instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setKmsKeyId

      public void setKmsKeyId(String kmsKeyId)

      The KMS key identifier that will be used to encrypt the content on the replication instance. If you do not specify a value for the KmsKeyId parameter, 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.

      Parameters:
      kmsKeyId - The KMS key identifier that will be used to encrypt the content on the replication instance. If you do not specify a value for the KmsKeyId parameter, 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.
    • getKmsKeyId

      public String getKmsKeyId()

      The KMS key identifier that will be used to encrypt the content on the replication instance. If you do not specify a value for the KmsKeyId parameter, 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:
      The KMS key identifier that will be used to encrypt the content on the replication instance. If you do not specify a value for the KmsKeyId parameter, 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.
    • withKmsKeyId

      public CreateReplicationInstanceRequest withKmsKeyId(String kmsKeyId)

      The KMS key identifier that will be used to encrypt the content on the replication instance. If you do not specify a value for the KmsKeyId parameter, 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.

      Parameters:
      kmsKeyId - The KMS key identifier that will be used to encrypt the content on the replication instance. If you do not specify a value for the KmsKeyId parameter, 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:
      Returns a reference to this object so that method calls can be chained together.
    • setPubliclyAccessible

      public void setPubliclyAccessible(Boolean 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. The default value is true.

      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. The default value is true.
    • getPubliclyAccessible

      public Boolean getPubliclyAccessible()

      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. The default value is true.

      Returns:
      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. The default value is true .
    • withPubliclyAccessible

      public CreateReplicationInstanceRequest withPubliclyAccessible(Boolean 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. The default value is true.

      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. The default value is true.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • isPubliclyAccessible

      public Boolean isPubliclyAccessible()

      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. The default value is true.

      Returns:
      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. The default value is true .
    • toString

      public String toString()
      Returns a string representation of this object; useful for testing and debugging.
      Overrides:
      toString in class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      Description copied from class: AmazonWebServiceRequest
      Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.
      Overrides:
      clone in class AmazonWebServiceRequest
      See Also: