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 CreateReplicationInstanceRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)IntegergetAllocatedStorage()The amount of storage (in gigabytes) to be initially allocated for the replication instance.BooleangetAutoMinorVersionUpgrade()Indicates that minor engine upgrades will be applied automatically to the replication instance during the maintenance window.StringgetAvailabilityZone()The EC2 Availability Zone that the replication instance will be created in.StringgetEngineVersion()The engine version number of the replication instance.StringgetKmsKeyId()The KMS key identifier that will be used to encrypt the content on the replication instance.StringgetPreferredMaintenanceWindow()The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).BooleangetPubliclyAccessible()Specifies the accessibility options for the replication instance.StringgetReplicationInstanceClass()The compute and memory capacity of the replication instance as specified by the replication instance class.StringgetReplicationInstanceIdentifier()The replication instance identifier.StringgetReplicationSubnetGroupIdentifier()A subnet group to associate with the replication instance.List<Tag>getTags()Tags to be associated with the replication instance.inthashCode()BooleanisAutoMinorVersionUpgrade()Indicates that minor engine upgrades will be applied automatically to the replication instance during the maintenance window.BooleanisPubliclyAccessible()Specifies the accessibility options for the replication instance.voidsetAllocatedStorage(Integer allocatedStorage)The amount of storage (in gigabytes) to be initially allocated for the replication instance.voidsetAutoMinorVersionUpgrade(Boolean autoMinorVersionUpgrade)Indicates that minor engine upgrades will be applied automatically to the replication instance during the maintenance window.voidsetAvailabilityZone(String availabilityZone)The EC2 Availability Zone that the replication instance will be created in.voidsetEngineVersion(String engineVersion)The engine version number of the replication instance.voidsetKmsKeyId(String kmsKeyId)The KMS key identifier that will be used to encrypt the content on the replication instance.voidsetPreferredMaintenanceWindow(String preferredMaintenanceWindow)The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).voidsetPubliclyAccessible(Boolean publiclyAccessible)Specifies the accessibility options for the replication instance.voidsetReplicationInstanceClass(String replicationInstanceClass)The compute and memory capacity of the replication instance as specified by the replication instance class.voidsetReplicationInstanceIdentifier(String replicationInstanceIdentifier)The replication instance identifier.voidsetReplicationSubnetGroupIdentifier(String replicationSubnetGroupIdentifier)A subnet group to associate with the replication instance.voidsetTags(Collection<Tag> tags)Tags to be associated with the replication instance.StringtoString()Returns a string representation of this object; useful for testing and debugging.CreateReplicationInstanceRequestwithAllocatedStorage(Integer allocatedStorage)The amount of storage (in gigabytes) to be initially allocated for the replication instance.CreateReplicationInstanceRequestwithAutoMinorVersionUpgrade(Boolean autoMinorVersionUpgrade)Indicates that minor engine upgrades will be applied automatically to the replication instance during the maintenance window.CreateReplicationInstanceRequestwithAvailabilityZone(String availabilityZone)The EC2 Availability Zone that the replication instance will be created in.CreateReplicationInstanceRequestwithEngineVersion(String engineVersion)The engine version number of the replication instance.CreateReplicationInstanceRequestwithKmsKeyId(String kmsKeyId)The KMS key identifier that will be used to encrypt the content on the replication instance.CreateReplicationInstanceRequestwithPreferredMaintenanceWindow(String preferredMaintenanceWindow)The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).CreateReplicationInstanceRequestwithPubliclyAccessible(Boolean publiclyAccessible)Specifies the accessibility options for the replication instance.CreateReplicationInstanceRequestwithReplicationInstanceClass(String replicationInstanceClass)The compute and memory capacity of the replication instance as specified by the replication instance class.CreateReplicationInstanceRequestwithReplicationInstanceIdentifier(String replicationInstanceIdentifier)The replication instance identifier.CreateReplicationInstanceRequestwithReplicationSubnetGroupIdentifier(String replicationSubnetGroupIdentifier)A subnet group to associate with the replication instance.CreateReplicationInstanceRequestwithTags(Tag... tags)Tags to be associated with the replication instance.CreateReplicationInstanceRequestwithTags(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:miDefault: 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:miDefault: 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:miDefault: 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:miDefault: 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:miDefault: 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:miDefault: 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
truerepresents an instance with a public IP address. A value offalserepresents an instance with a private IP address. The default value istrue.- Parameters:
publiclyAccessible- Specifies the accessibility options for the replication instance. A value oftruerepresents an instance with a public IP address. A value offalserepresents 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
truerepresents an instance with a public IP address. A value offalserepresents an instance with a private IP address. The default value istrue.- Returns:
- Specifies the accessibility options for the replication instance.
A value of
truerepresents an instance with a public IP address. A value offalserepresents 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
truerepresents an instance with a public IP address. A value offalserepresents an instance with a private IP address. The default value istrue.- Parameters:
publiclyAccessible- Specifies the accessibility options for the replication instance. A value oftruerepresents an instance with a public IP address. A value offalserepresents 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
truerepresents an instance with a public IP address. A value offalserepresents an instance with a private IP address. The default value istrue.- Returns:
- Specifies the accessibility options for the replication instance.
A value of
truerepresents an instance with a public IP address. A value offalserepresents 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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public CreateReplicationInstanceRequest clone()
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
Object.clone()
-
-