@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateReplicationInstanceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateReplicationInstanceRequest() |
Modifier and Type | Method and Description |
---|---|
CreateReplicationInstanceRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
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.
|
Boolean |
getMultiAZ()
Specifies if the replication instance is a Multi-AZ deployment.
|
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.
|
List<String> |
getVpcSecurityGroupIds()
Specifies the VPC security group to be used 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 |
isMultiAZ()
Specifies if the replication instance is a Multi-AZ deployment.
|
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 |
setMultiAZ(Boolean multiAZ)
Specifies if the replication instance is a Multi-AZ deployment.
|
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.
|
void |
setVpcSecurityGroupIds(Collection<String> vpcSecurityGroupIds)
Specifies the VPC security group to be used 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 |
withMultiAZ(Boolean multiAZ)
Specifies if the replication instance is a Multi-AZ deployment.
|
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(Collection<Tag> tags)
Tags to be associated with the replication instance.
|
CreateReplicationInstanceRequest |
withTags(Tag... tags)
Tags to be associated with the replication instance.
|
CreateReplicationInstanceRequest |
withVpcSecurityGroupIds(Collection<String> vpcSecurityGroupIds)
Specifies the VPC security group to be used with the replication instance.
|
CreateReplicationInstanceRequest |
withVpcSecurityGroupIds(String... vpcSecurityGroupIds)
Specifies the VPC security group to be used with the replication instance.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
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
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
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
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
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
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
public void setAllocatedStorage(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 Integer getAllocatedStorage()
The amount of storage (in gigabytes) to be initially allocated for the replication instance.
public CreateReplicationInstanceRequest withAllocatedStorage(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(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 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(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 List<String> getVpcSecurityGroupIds()
Specifies the VPC security group to be used with the replication instance. The VPC security group must work with the VPC containing the replication instance.
public void setVpcSecurityGroupIds(Collection<String> vpcSecurityGroupIds)
Specifies the VPC security group to be used with the replication instance. The VPC security group must work with the VPC containing the replication instance.
vpcSecurityGroupIds
- Specifies the VPC security group to be used with the replication instance. The VPC security group must
work with the VPC containing the replication instance.public CreateReplicationInstanceRequest withVpcSecurityGroupIds(String... vpcSecurityGroupIds)
Specifies the VPC security group to be used with the replication instance. The VPC security group must work with the VPC containing the replication instance.
NOTE: This method appends the values to the existing list (if any). Use
setVpcSecurityGroupIds(java.util.Collection)
or withVpcSecurityGroupIds(java.util.Collection)
if you want to override the existing values.
vpcSecurityGroupIds
- Specifies the VPC security group to be used with the replication instance. The VPC security group must
work with the VPC containing the replication instance.public CreateReplicationInstanceRequest withVpcSecurityGroupIds(Collection<String> vpcSecurityGroupIds)
Specifies the VPC security group to be used with the replication instance. The VPC security group must work with the VPC containing the replication instance.
vpcSecurityGroupIds
- Specifies the VPC security group to be used with the replication instance. The VPC security group must
work with the VPC containing the replication instance.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
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 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(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(String replicationSubnetGroupIdentifier)
A subnet group to associate with the replication instance.
replicationSubnetGroupIdentifier
- A subnet group to associate with the replication instance.public String getReplicationSubnetGroupIdentifier()
A subnet group to associate with the replication instance.
public CreateReplicationInstanceRequest withReplicationSubnetGroupIdentifier(String replicationSubnetGroupIdentifier)
A subnet group to associate with the replication instance.
replicationSubnetGroupIdentifier
- A subnet group to associate with the replication instance.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.
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 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(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 setMultiAZ(Boolean multiAZ)
Specifies if the replication instance is a Multi-AZ deployment. You cannot set the AvailabilityZone
parameter if the Multi-AZ parameter is set to true
.
multiAZ
- Specifies if the replication instance is a Multi-AZ deployment. You cannot set the
AvailabilityZone
parameter if the Multi-AZ parameter is set to true
.public Boolean getMultiAZ()
Specifies if the replication instance is a Multi-AZ deployment. You cannot set the AvailabilityZone
parameter if the Multi-AZ parameter is set to true
.
AvailabilityZone
parameter if the Multi-AZ parameter is set to true
.public CreateReplicationInstanceRequest withMultiAZ(Boolean multiAZ)
Specifies if the replication instance is a Multi-AZ deployment. You cannot set the AvailabilityZone
parameter if the Multi-AZ parameter is set to true
.
multiAZ
- Specifies if the replication instance is a Multi-AZ deployment. You cannot set the
AvailabilityZone
parameter if the Multi-AZ parameter is set to true
.public Boolean isMultiAZ()
Specifies if the replication instance is a Multi-AZ deployment. You cannot set the AvailabilityZone
parameter if the Multi-AZ parameter is set to true
.
AvailabilityZone
parameter if the Multi-AZ parameter is set to true
.public void setEngineVersion(String engineVersion)
The engine version number of the replication instance.
engineVersion
- The engine version number of the replication instance.public String getEngineVersion()
The engine version number of the replication instance.
public CreateReplicationInstanceRequest withEngineVersion(String engineVersion)
The engine version number of the replication instance.
engineVersion
- The engine version number of the replication instance.public void setAutoMinorVersionUpgrade(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 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(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 Boolean isAutoMinorVersionUpgrade()
Indicates that minor engine upgrades will be applied automatically to the replication instance during the maintenance window.
Default: true
Default: true
public List<Tag> getTags()
Tags to be associated with the replication instance.
public void setTags(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(Collection<Tag> tags)
Tags to be associated with the replication instance.
tags
- Tags to be associated with the replication instance.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.
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 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(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(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 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(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 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 String toString()
toString
in class Object
Object.toString()
public CreateReplicationInstanceRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.