@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 whether minor engine upgrades will be applied automatically to the replication instance during the
maintenance window.
|
String |
availabilityZone()
The AWS Availability Zone where the replication instance will be created.
|
static CreateReplicationInstanceRequest.Builder |
builder() |
String |
dnsNameServers()
A list of DNS name servers supported for the replication instance.
|
String |
engineVersion()
The engine version number of the replication instance.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasTags()
Returns true if the Tags property was specified by the sender (it may be empty), or false if the sender did not
specify the value (it will be empty).
|
boolean |
hasVpcSecurityGroupIds()
Returns true if the VpcSecurityGroupIds property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
String |
kmsKeyId()
An AWS KMS key identifier that is used to encrypt the data on the replication instance.
|
Boolean |
multiAZ()
Specifies whether 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.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateReplicationInstanceRequest.Builder> |
serializableBuilderClass() |
List<Tag> |
tags()
One or more tags to be assigned to the replication instance.
|
CreateReplicationInstanceRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
List<String> |
vpcSecurityGroupIds()
Specifies the VPC security group to be used with the replication instance.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic 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 boolean hasVpcSecurityGroupIds()
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.
You can use hasVpcSecurityGroupIds() to see if a value was sent in this field.
public String availabilityZone()
The AWS Availability Zone where the replication instance will be created. The default value is a random,
system-chosen Availability Zone in the endpoint's AWS Region, for example: us-east-1d
us-east-1dpublic 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 AWS 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 AWS 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 whether 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 whether minor engine upgrades will be applied automatically to the replication instance during the
maintenance window. This parameter defaults to true.
Default: true
true.
Default: true
public boolean hasTags()
public List<Tag> tags()
One or more tags to be assigned to the replication instance.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasTags() to see if a value was sent in this field.
public String kmsKeyId()
An AWS KMS key identifier that is used to encrypt the data on the replication instance.
If you don't specify a value for the KmsKeyId parameter, then AWS DMS uses 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.
If you don't specify a value for the KmsKeyId parameter, then AWS DMS uses 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 String dnsNameServers()
A list of DNS name servers supported for the replication instance.
public CreateReplicationInstanceRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateReplicationInstanceRequest.Builder,CreateReplicationInstanceRequest>toBuilder in class DatabaseMigrationRequestpublic static CreateReplicationInstanceRequest.Builder builder()
public static Class<? extends CreateReplicationInstanceRequest.Builder> serializableBuilderClass()
public int hashCode()
hashCode in class AwsRequestpublic boolean equals(Object obj)
equals in class AwsRequestpublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2020. All rights reserved.