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:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description CreateReplicationInstanceRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateReplicationInstanceRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
Integer
getAllocatedStorage()
The amount of storage (in gigabytes) to be initially allocated for the replication instance.Boolean
getAutoMinorVersionUpgrade()
Indicates that minor engine upgrades will be applied automatically to the replication instance during the maintenance window.String
getAvailabilityZone()
The EC2 Availability Zone that the replication instance will be created in.String
getEngineVersion()
The engine version number of the replication instance.String
getKmsKeyId()
The KMS key identifier that will be used to encrypt the content on the replication instance.String
getPreferredMaintenanceWindow()
The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).Boolean
getPubliclyAccessible()
Specifies the accessibility options for the replication instance.String
getReplicationInstanceClass()
The compute and memory capacity of the replication instance as specified by the replication instance class.String
getReplicationInstanceIdentifier()
The replication instance identifier.String
getReplicationSubnetGroupIdentifier()
A subnet group to associate with the replication instance.List<Tag>
getTags()
Tags to be associated with the replication instance.int
hashCode()
Boolean
isAutoMinorVersionUpgrade()
Indicates that minor engine upgrades will be applied automatically to the replication instance during the maintenance window.Boolean
isPubliclyAccessible()
Specifies the accessibility options for the replication instance.void
setAllocatedStorage(Integer allocatedStorage)
The amount of storage (in gigabytes) to be initially allocated for the replication instance.void
setAutoMinorVersionUpgrade(Boolean autoMinorVersionUpgrade)
Indicates that minor engine upgrades will be applied automatically to the replication instance during the maintenance window.void
setAvailabilityZone(String availabilityZone)
The EC2 Availability Zone that the replication instance will be created in.void
setEngineVersion(String engineVersion)
The engine version number of the replication instance.void
setKmsKeyId(String kmsKeyId)
The KMS key identifier that will be used to encrypt the content on the replication instance.void
setPreferredMaintenanceWindow(String preferredMaintenanceWindow)
The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).void
setPubliclyAccessible(Boolean publiclyAccessible)
Specifies the accessibility options for the replication instance.void
setReplicationInstanceClass(String replicationInstanceClass)
The compute and memory capacity of the replication instance as specified by the replication instance class.void
setReplicationInstanceIdentifier(String replicationInstanceIdentifier)
The replication instance identifier.void
setReplicationSubnetGroupIdentifier(String replicationSubnetGroupIdentifier)
A subnet group to associate with the replication instance.void
setTags(Collection<Tag> tags)
Tags to be associated with the replication instance.String
toString()
Returns a string representation of this object; useful for testing and debugging.CreateReplicationInstanceRequest
withAllocatedStorage(Integer allocatedStorage)
The amount of storage (in gigabytes) to be initially allocated for the replication instance.CreateReplicationInstanceRequest
withAutoMinorVersionUpgrade(Boolean autoMinorVersionUpgrade)
Indicates that minor engine upgrades will be applied automatically to the replication instance during the maintenance window.CreateReplicationInstanceRequest
withAvailabilityZone(String availabilityZone)
The EC2 Availability Zone that the replication instance will be created in.CreateReplicationInstanceRequest
withEngineVersion(String engineVersion)
The engine version number of the replication instance.CreateReplicationInstanceRequest
withKmsKeyId(String kmsKeyId)
The KMS key identifier that will be used to encrypt the content on the replication instance.CreateReplicationInstanceRequest
withPreferredMaintenanceWindow(String preferredMaintenanceWindow)
The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).CreateReplicationInstanceRequest
withPubliclyAccessible(Boolean publiclyAccessible)
Specifies the accessibility options for the replication instance.CreateReplicationInstanceRequest
withReplicationInstanceClass(String replicationInstanceClass)
The compute and memory capacity of the replication instance as specified by the replication instance class.CreateReplicationInstanceRequest
withReplicationInstanceIdentifier(String replicationInstanceIdentifier)
The replication instance identifier.CreateReplicationInstanceRequest
withReplicationSubnetGroupIdentifier(String replicationSubnetGroupIdentifier)
A subnet group to associate with the replication instance.CreateReplicationInstanceRequest
withTags(Tag... tags)
Tags to be associated with the replication instance.CreateReplicationInstanceRequest
withTags(Collection<Tag> tags)
Tags to be associated with the replication instance.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
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
-
-
-
-
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 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)
orwithTags(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
public CreateReplicationInstanceRequest withTags(Collection<Tag> tags)
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 offalse
represents an instance with a private IP address. The default value istrue
.- Parameters:
publiclyAccessible
- Specifies the accessibility options for the replication instance. A value oftrue
represents an instance with a public IP address. A value offalse
represents an instance with a private IP address. The default value istrue
.
-
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 offalse
represents an instance with a private IP address. The default value istrue
.- Returns:
- Specifies the accessibility options for the replication instance.
A value of
true
represents an instance with a public IP address. A value offalse
represents an instance with a private IP address. The default value istrue
.
-
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 offalse
represents an instance with a private IP address. The default value istrue
.- Parameters:
publiclyAccessible
- Specifies the accessibility options for the replication instance. A value oftrue
represents an instance with a public IP address. A value offalse
represents an instance with a private IP address. The default value istrue
.- 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 offalse
represents an instance with a private IP address. The default value istrue
.- Returns:
- Specifies the accessibility options for the replication instance.
A value of
true
represents an instance with a public IP address. A value offalse
represents an instance with a private IP address. The default value istrue
.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public CreateReplicationInstanceRequest 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 classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-