Class ReplicationInstance

    • Constructor Detail

      • ReplicationInstance

        public ReplicationInstance()
    • Method Detail

      • 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 ReplicationInstance 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.
      • setReplicationInstanceClass

        public void setReplicationInstanceClass​(String replicationInstanceClass)

        The compute and memory capacity of the replication instance.

        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.

        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.

        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.

        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 ReplicationInstance withReplicationInstanceClass​(String replicationInstanceClass)

        The compute and memory capacity of the replication instance.

        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.

        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.
      • setReplicationInstanceStatus

        public void setReplicationInstanceStatus​(String replicationInstanceStatus)

        The status of the replication instance.

        Parameters:
        replicationInstanceStatus - The status of the replication instance.
      • getReplicationInstanceStatus

        public String getReplicationInstanceStatus()

        The status of the replication instance.

        Returns:
        The status of the replication instance.
      • withReplicationInstanceStatus

        public ReplicationInstance withReplicationInstanceStatus​(String replicationInstanceStatus)

        The status of the replication instance.

        Parameters:
        replicationInstanceStatus - The status of the replication instance.
        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) that is allocated for the replication instance.

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

        public Integer getAllocatedStorage()

        The amount of storage (in gigabytes) that is allocated for the replication instance.

        Returns:
        The amount of storage (in gigabytes) that is allocated for the replication instance.
      • withAllocatedStorage

        public ReplicationInstance withAllocatedStorage​(Integer allocatedStorage)

        The amount of storage (in gigabytes) that is allocated for the replication instance.

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

        public void setInstanceCreateTime​(Date instanceCreateTime)

        The time the replication instance was created.

        Parameters:
        instanceCreateTime - The time the replication instance was created.
      • getInstanceCreateTime

        public Date getInstanceCreateTime()

        The time the replication instance was created.

        Returns:
        The time the replication instance was created.
      • withInstanceCreateTime

        public ReplicationInstance withInstanceCreateTime​(Date instanceCreateTime)

        The time the replication instance was created.

        Parameters:
        instanceCreateTime - The time the replication instance was created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setAvailabilityZone

        public void setAvailabilityZone​(String availabilityZone)

        The Availability Zone for the instance.

        Parameters:
        availabilityZone - The Availability Zone for the instance.
      • getAvailabilityZone

        public String getAvailabilityZone()

        The Availability Zone for the instance.

        Returns:
        The Availability Zone for the instance.
      • withAvailabilityZone

        public ReplicationInstance withAvailabilityZone​(String availabilityZone)

        The Availability Zone for the instance.

        Parameters:
        availabilityZone - The Availability Zone for the instance.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setReplicationSubnetGroup

        public void setReplicationSubnetGroup​(ReplicationSubnetGroup replicationSubnetGroup)

        The subnet group for the replication instance.

        Parameters:
        replicationSubnetGroup - The subnet group for the replication instance.
      • getReplicationSubnetGroup

        public ReplicationSubnetGroup getReplicationSubnetGroup()

        The subnet group for the replication instance.

        Returns:
        The subnet group for the replication instance.
      • withReplicationSubnetGroup

        public ReplicationInstance withReplicationSubnetGroup​(ReplicationSubnetGroup replicationSubnetGroup)

        The subnet group for the replication instance.

        Parameters:
        replicationSubnetGroup - The subnet group for 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 maintenance window times for the replication instance.

        Parameters:
        preferredMaintenanceWindow - The maintenance window times for the replication instance.
      • getPreferredMaintenanceWindow

        public String getPreferredMaintenanceWindow()

        The maintenance window times for the replication instance.

        Returns:
        The maintenance window times for the replication instance.
      • withPreferredMaintenanceWindow

        public ReplicationInstance withPreferredMaintenanceWindow​(String preferredMaintenanceWindow)

        The maintenance window times for the replication instance.

        Parameters:
        preferredMaintenanceWindow - The maintenance window times for the replication instance.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setPendingModifiedValues

        public void setPendingModifiedValues​(ReplicationPendingModifiedValues pendingModifiedValues)

        The pending modification values.

        Parameters:
        pendingModifiedValues - The pending modification values.
      • getPendingModifiedValues

        public ReplicationPendingModifiedValues getPendingModifiedValues()

        The pending modification values.

        Returns:
        The pending modification values.
      • withPendingModifiedValues

        public ReplicationInstance withPendingModifiedValues​(ReplicationPendingModifiedValues pendingModifiedValues)

        The pending modification values.

        Parameters:
        pendingModifiedValues - The pending modification values.
        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 ReplicationInstance 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)

        Boolean value indicating if minor version upgrades will be automatically applied to the instance.

        Parameters:
        autoMinorVersionUpgrade - Boolean value indicating if minor version upgrades will be automatically applied to the instance.
      • getAutoMinorVersionUpgrade

        public Boolean getAutoMinorVersionUpgrade()

        Boolean value indicating if minor version upgrades will be automatically applied to the instance.

        Returns:
        Boolean value indicating if minor version upgrades will be automatically applied to the instance.
      • withAutoMinorVersionUpgrade

        public ReplicationInstance withAutoMinorVersionUpgrade​(Boolean autoMinorVersionUpgrade)

        Boolean value indicating if minor version upgrades will be automatically applied to the instance.

        Parameters:
        autoMinorVersionUpgrade - Boolean value indicating if minor version upgrades will be automatically applied to the instance.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • isAutoMinorVersionUpgrade

        public Boolean isAutoMinorVersionUpgrade()

        Boolean value indicating if minor version upgrades will be automatically applied to the instance.

        Returns:
        Boolean value indicating if minor version upgrades will be automatically applied to the instance.
      • setKmsKeyId

        public void setKmsKeyId​(String kmsKeyId)

        The KMS key identifier that is 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 is 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 is 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 is 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 ReplicationInstance withKmsKeyId​(String kmsKeyId)

        The KMS key identifier that is 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 is 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.
      • setReplicationInstanceArn

        public void setReplicationInstanceArn​(String replicationInstanceArn)

        The Amazon Resource Name (ARN) of the replication instance.

        Parameters:
        replicationInstanceArn - The Amazon Resource Name (ARN) of the replication instance.
      • getReplicationInstanceArn

        public String getReplicationInstanceArn()

        The Amazon Resource Name (ARN) of the replication instance.

        Returns:
        The Amazon Resource Name (ARN) of the replication instance.
      • withReplicationInstanceArn

        public ReplicationInstance withReplicationInstanceArn​(String replicationInstanceArn)

        The Amazon Resource Name (ARN) of the replication instance.

        Parameters:
        replicationInstanceArn - The Amazon Resource Name (ARN) of the replication instance.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setReplicationInstancePublicIpAddress

        public void setReplicationInstancePublicIpAddress​(String replicationInstancePublicIpAddress)

        The public IP address of the replication instance.

        Parameters:
        replicationInstancePublicIpAddress - The public IP address of the replication instance.
      • getReplicationInstancePublicIpAddress

        public String getReplicationInstancePublicIpAddress()

        The public IP address of the replication instance.

        Returns:
        The public IP address of the replication instance.
      • withReplicationInstancePublicIpAddress

        public ReplicationInstance withReplicationInstancePublicIpAddress​(String replicationInstancePublicIpAddress)

        The public IP address of the replication instance.

        Parameters:
        replicationInstancePublicIpAddress - The public IP address of the replication instance.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setReplicationInstancePrivateIpAddress

        public void setReplicationInstancePrivateIpAddress​(String replicationInstancePrivateIpAddress)

        The private IP address of the replication instance.

        Parameters:
        replicationInstancePrivateIpAddress - The private IP address of the replication instance.
      • getReplicationInstancePrivateIpAddress

        public String getReplicationInstancePrivateIpAddress()

        The private IP address of the replication instance.

        Returns:
        The private IP address of the replication instance.
      • withReplicationInstancePrivateIpAddress

        public ReplicationInstance withReplicationInstancePrivateIpAddress​(String replicationInstancePrivateIpAddress)

        The private IP address of the replication instance.

        Parameters:
        replicationInstancePrivateIpAddress - The private IP address of the replication instance.
        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 ReplicationInstance 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:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object