@Generated(value="software.amazon.awssdk:codegen") public final class CreateReplicationInstanceRequest extends DatabaseMigrationRequest implements ToCopyableBuilder<CreateReplicationInstanceRequest.Builder,CreateReplicationInstanceRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
CreateReplicationInstanceRequest.Builder |
Modifier and Type | Method and Description |
---|---|
Integer |
allocatedStorage()
The amount of storage (in gigabytes) to be initially allocated for the replication instance.
|
Boolean |
autoMinorVersionUpgrade()
Indicates that minor engine upgrades will be applied automatically to the replication instance during the
maintenance window.
|
String |
availabilityZone()
The EC2 Availability Zone that the replication instance will be created in.
|
static CreateReplicationInstanceRequest.Builder |
builder() |
String |
engineVersion()
The engine version number of the replication instance.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
String |
kmsKeyId()
The KMS key identifier that will be used to encrypt the content on the replication instance.
|
Boolean |
multiAZ()
Specifies if the replication instance is a Multi-AZ deployment.
|
String |
preferredMaintenanceWindow()
The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).
|
Boolean |
publiclyAccessible()
Specifies the accessibility options for the replication instance.
|
String |
replicationInstanceClass()
The compute and memory capacity of the replication instance as specified by the replication instance class.
|
String |
replicationInstanceIdentifier()
The replication instance identifier.
|
String |
replicationSubnetGroupIdentifier()
A subnet group to associate with the replication instance.
|
static Class<? extends CreateReplicationInstanceRequest.Builder> |
serializableBuilderClass() |
List<Tag> |
tags()
Tags to be associated with the replication instance.
|
CreateReplicationInstanceRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
List<String> |
vpcSecurityGroupIds()
Specifies the VPC security group to be used with the replication instance.
|
overrideConfiguration
copy
public 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
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 Integer allocatedStorage()
The amount of storage (in gigabytes) to be initially allocated for the replication instance.
public 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
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> 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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public 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
Default: A random, system-chosen Availability Zone in the endpoint's region.
Example: us-east-1d
public String replicationSubnetGroupIdentifier()
A subnet group to associate with the replication instance.
public 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.
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 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
.
AvailabilityZone
parameter if the Multi-AZ parameter is set to true
.public String engineVersion()
The engine version number of the replication instance.
public Boolean autoMinorVersionUpgrade()
Indicates that minor engine upgrades will be applied automatically to the replication instance during the maintenance window.
Default: true
Default: true
public List<Tag> tags()
Tags to be associated with the replication instance.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public 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.
public 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
.
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.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CreateReplicationInstanceRequest.Builder,CreateReplicationInstanceRequest>
toBuilder
in class DatabaseMigrationRequest
public static CreateReplicationInstanceRequest.Builder builder()
public static Class<? extends CreateReplicationInstanceRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.