public class CreateReplicationInstanceRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.Integer |
allocatedStorage
The amount of storage (in gigabytes) to be initially allocated for the
replication instance.
|
private java.lang.Boolean |
autoMinorVersionUpgrade
Indicates that minor engine upgrades will be applied automatically to the
replication instance during the maintenance window.
|
private java.lang.String |
availabilityZone
The EC2 Availability Zone that the replication instance will be created
in.
|
private java.lang.String |
engineVersion
The engine version number of the replication instance.
|
private java.lang.String |
kmsKeyId
The KMS key identifier that will be used to encrypt the content on the
replication instance.
|
private java.lang.String |
preferredMaintenanceWindow
The weekly time range during which system maintenance can occur, in
Universal Coordinated Time (UTC).
|
private java.lang.Boolean |
publiclyAccessible
Specifies the accessibility options for the replication instance.
|
private java.lang.String |
replicationInstanceClass
The compute and memory capacity of the replication instance as specified
by the replication instance class.
|
private java.lang.String |
replicationInstanceIdentifier
The replication instance identifier.
|
private java.lang.String |
replicationSubnetGroupIdentifier
A subnet group to associate with the replication instance.
|
private java.util.List<Tag> |
tags
Tags to be associated with the replication instance.
|
NOOP
Constructor and Description |
---|
CreateReplicationInstanceRequest() |
Modifier and Type | Method and Description |
---|---|
CreateReplicationInstanceRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.Integer |
getAllocatedStorage()
The amount of storage (in gigabytes) to be initially allocated for the
replication instance.
|
java.lang.Boolean |
getAutoMinorVersionUpgrade()
Indicates that minor engine upgrades will be applied automatically to the
replication instance during the maintenance window.
|
java.lang.String |
getAvailabilityZone()
The EC2 Availability Zone that the replication instance will be created
in.
|
java.lang.String |
getEngineVersion()
The engine version number of the replication instance.
|
java.lang.String |
getKmsKeyId()
The KMS key identifier that will be used to encrypt the content on the
replication instance.
|
java.lang.String |
getPreferredMaintenanceWindow()
The weekly time range during which system maintenance can occur, in
Universal Coordinated Time (UTC).
|
java.lang.Boolean |
getPubliclyAccessible()
Specifies the accessibility options for the replication instance.
|
java.lang.String |
getReplicationInstanceClass()
The compute and memory capacity of the replication instance as specified
by the replication instance class.
|
java.lang.String |
getReplicationInstanceIdentifier()
The replication instance identifier.
|
java.lang.String |
getReplicationSubnetGroupIdentifier()
A subnet group to associate with the replication instance.
|
java.util.List<Tag> |
getTags()
Tags to be associated with the replication instance.
|
int |
hashCode() |
java.lang.Boolean |
isAutoMinorVersionUpgrade()
Indicates that minor engine upgrades will be applied automatically to the
replication instance during the maintenance window.
|
java.lang.Boolean |
isPubliclyAccessible()
Specifies the accessibility options for the replication instance.
|
void |
setAllocatedStorage(java.lang.Integer allocatedStorage)
The amount of storage (in gigabytes) to be initially allocated for the
replication instance.
|
void |
setAutoMinorVersionUpgrade(java.lang.Boolean autoMinorVersionUpgrade)
Indicates that minor engine upgrades will be applied automatically to the
replication instance during the maintenance window.
|
void |
setAvailabilityZone(java.lang.String availabilityZone)
The EC2 Availability Zone that the replication instance will be created
in.
|
void |
setEngineVersion(java.lang.String engineVersion)
The engine version number of the replication instance.
|
void |
setKmsKeyId(java.lang.String kmsKeyId)
The KMS key identifier that will be used to encrypt the content on the
replication instance.
|
void |
setPreferredMaintenanceWindow(java.lang.String preferredMaintenanceWindow)
The weekly time range during which system maintenance can occur, in
Universal Coordinated Time (UTC).
|
void |
setPubliclyAccessible(java.lang.Boolean publiclyAccessible)
Specifies the accessibility options for the replication instance.
|
void |
setReplicationInstanceClass(java.lang.String replicationInstanceClass)
The compute and memory capacity of the replication instance as specified
by the replication instance class.
|
void |
setReplicationInstanceIdentifier(java.lang.String replicationInstanceIdentifier)
The replication instance identifier.
|
void |
setReplicationSubnetGroupIdentifier(java.lang.String replicationSubnetGroupIdentifier)
A subnet group to associate with the replication instance.
|
void |
setTags(java.util.Collection<Tag> tags)
Tags to be associated with the replication instance.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateReplicationInstanceRequest |
withAllocatedStorage(java.lang.Integer allocatedStorage)
The amount of storage (in gigabytes) to be initially allocated for the
replication instance.
|
CreateReplicationInstanceRequest |
withAutoMinorVersionUpgrade(java.lang.Boolean autoMinorVersionUpgrade)
Indicates that minor engine upgrades will be applied automatically to the
replication instance during the maintenance window.
|
CreateReplicationInstanceRequest |
withAvailabilityZone(java.lang.String availabilityZone)
The EC2 Availability Zone that the replication instance will be created
in.
|
CreateReplicationInstanceRequest |
withEngineVersion(java.lang.String engineVersion)
The engine version number of the replication instance.
|
CreateReplicationInstanceRequest |
withKmsKeyId(java.lang.String kmsKeyId)
The KMS key identifier that will be used to encrypt the content on the
replication instance.
|
CreateReplicationInstanceRequest |
withPreferredMaintenanceWindow(java.lang.String preferredMaintenanceWindow)
The weekly time range during which system maintenance can occur, in
Universal Coordinated Time (UTC).
|
CreateReplicationInstanceRequest |
withPubliclyAccessible(java.lang.Boolean publiclyAccessible)
Specifies the accessibility options for the replication instance.
|
CreateReplicationInstanceRequest |
withReplicationInstanceClass(java.lang.String replicationInstanceClass)
The compute and memory capacity of the replication instance as specified
by the replication instance class.
|
CreateReplicationInstanceRequest |
withReplicationInstanceIdentifier(java.lang.String replicationInstanceIdentifier)
The replication instance identifier.
|
CreateReplicationInstanceRequest |
withReplicationSubnetGroupIdentifier(java.lang.String replicationSubnetGroupIdentifier)
A subnet group to associate with the replication instance.
|
CreateReplicationInstanceRequest |
withTags(java.util.Collection<Tag> tags)
Tags to be associated with the replication instance.
|
CreateReplicationInstanceRequest |
withTags(Tag... tags)
Tags to be associated with the replication instance.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private java.lang.String replicationInstanceIdentifier
The replication instance identifier. This parameter is stored as a lowercase string.
Constraints:
Example: myrepinstance
private java.lang.Integer allocatedStorage
The amount of storage (in gigabytes) to be initially allocated for the replication instance.
private java.lang.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
private java.lang.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
private java.lang.String replicationSubnetGroupIdentifier
A subnet group to associate with the replication instance.
private java.lang.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.
private java.lang.String engineVersion
The engine version number of the replication instance.
private java.lang.Boolean autoMinorVersionUpgrade
Indicates that minor engine upgrades will be applied automatically to the replication instance during the maintenance window.
Default: true
private java.util.List<Tag> tags
Tags to be associated with the replication instance.
private java.lang.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.
private java.lang.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
.
public void setReplicationInstanceIdentifier(java.lang.String replicationInstanceIdentifier)
The replication instance identifier. This parameter is stored as a lowercase string.
Constraints:
Example: myrepinstance
replicationInstanceIdentifier
- The replication instance identifier. This parameter is stored as a
lowercase string.
Constraints:
Example: myrepinstance
public java.lang.String getReplicationInstanceIdentifier()
The replication instance identifier. This parameter is stored as a lowercase string.
Constraints:
Example: myrepinstance
Constraints:
Example: myrepinstance
public CreateReplicationInstanceRequest withReplicationInstanceIdentifier(java.lang.String replicationInstanceIdentifier)
The replication instance identifier. This parameter is stored as a lowercase string.
Constraints:
Example: myrepinstance
replicationInstanceIdentifier
- The replication instance identifier. This parameter is stored as a
lowercase string.
Constraints:
Example: myrepinstance
public void setAllocatedStorage(java.lang.Integer allocatedStorage)
The amount of storage (in gigabytes) to be initially allocated for the replication instance.
allocatedStorage
- The amount of storage (in gigabytes) to be initially allocated for
the replication instance.public java.lang.Integer getAllocatedStorage()
The amount of storage (in gigabytes) to be initially allocated for the replication instance.
public CreateReplicationInstanceRequest withAllocatedStorage(java.lang.Integer allocatedStorage)
The amount of storage (in gigabytes) to be initially allocated for the replication instance.
allocatedStorage
- The amount of storage (in gigabytes) to be initially allocated for
the replication instance.public void setReplicationInstanceClass(java.lang.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
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
public java.lang.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
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
public CreateReplicationInstanceRequest withReplicationInstanceClass(java.lang.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
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
public void setAvailabilityZone(java.lang.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
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
public java.lang.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
Default: A random, system-chosen Availability Zone in the endpoint's region.
Example: us-east-1d
public CreateReplicationInstanceRequest withAvailabilityZone(java.lang.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
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
public void setReplicationSubnetGroupIdentifier(java.lang.String replicationSubnetGroupIdentifier)
A subnet group to associate with the replication instance.
replicationSubnetGroupIdentifier
- A subnet group to associate with the replication instance.public java.lang.String getReplicationSubnetGroupIdentifier()
A subnet group to associate with the replication instance.
public CreateReplicationInstanceRequest withReplicationSubnetGroupIdentifier(java.lang.String replicationSubnetGroupIdentifier)
A subnet group to associate with the replication instance.
replicationSubnetGroupIdentifier
- A subnet group to associate with the replication instance.public void setPreferredMaintenanceWindow(java.lang.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.
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.
public java.lang.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.
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.
public CreateReplicationInstanceRequest withPreferredMaintenanceWindow(java.lang.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.
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.
public void setEngineVersion(java.lang.String engineVersion)
The engine version number of the replication instance.
engineVersion
- The engine version number of the replication instance.public java.lang.String getEngineVersion()
The engine version number of the replication instance.
public CreateReplicationInstanceRequest withEngineVersion(java.lang.String engineVersion)
The engine version number of the replication instance.
engineVersion
- The engine version number of the replication instance.public void setAutoMinorVersionUpgrade(java.lang.Boolean autoMinorVersionUpgrade)
Indicates that minor engine upgrades will be applied automatically to the replication instance during the maintenance window.
Default: true
autoMinorVersionUpgrade
- Indicates that minor engine upgrades will be applied automatically
to the replication instance during the maintenance window.
Default: true
public java.lang.Boolean getAutoMinorVersionUpgrade()
Indicates that minor engine upgrades will be applied automatically to the replication instance during the maintenance window.
Default: true
Default: true
public CreateReplicationInstanceRequest withAutoMinorVersionUpgrade(java.lang.Boolean autoMinorVersionUpgrade)
Indicates that minor engine upgrades will be applied automatically to the replication instance during the maintenance window.
Default: true
autoMinorVersionUpgrade
- Indicates that minor engine upgrades will be applied automatically
to the replication instance during the maintenance window.
Default: true
public java.lang.Boolean isAutoMinorVersionUpgrade()
Indicates that minor engine upgrades will be applied automatically to the replication instance during the maintenance window.
Default: true
Default: true
public java.util.List<Tag> getTags()
Tags to be associated with the replication instance.
public void setTags(java.util.Collection<Tag> tags)
Tags to be associated with the replication instance.
tags
- Tags to be associated with the replication instance.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.
tags
- Tags to be associated with the replication instance.public CreateReplicationInstanceRequest withTags(java.util.Collection<Tag> tags)
Tags to be associated with the replication instance.
tags
- Tags to be associated with the replication instance.public void setKmsKeyId(java.lang.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.
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.public java.lang.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.
public CreateReplicationInstanceRequest withKmsKeyId(java.lang.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.
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.public void setPubliclyAccessible(java.lang.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
.
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
.public java.lang.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
.
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
.public CreateReplicationInstanceRequest withPubliclyAccessible(java.lang.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
.
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
.public java.lang.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
.
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
.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public CreateReplicationInstanceRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()