CopyableBuilder<CreateReplicationInstanceRequest.Builder,CreateReplicationInstanceRequest>
, SdkBuilder<CreateReplicationInstanceRequest.Builder,CreateReplicationInstanceRequest>
public static interface CreateReplicationInstanceRequest.Builder extends CopyableBuilder<CreateReplicationInstanceRequest.Builder,CreateReplicationInstanceRequest>
Modifier and Type | Method | Description |
---|---|---|
CreateReplicationInstanceRequest.Builder |
allocatedStorage(Integer allocatedStorage) |
The amount of storage (in gigabytes) to be initially allocated for the replication instance.
|
CreateReplicationInstanceRequest.Builder |
autoMinorVersionUpgrade(Boolean autoMinorVersionUpgrade) |
Indicates that minor engine upgrades will be applied automatically to the replication instance during the
maintenance window.
|
CreateReplicationInstanceRequest.Builder |
availabilityZone(String availabilityZone) |
The EC2 Availability Zone that the replication instance will be created in.
|
CreateReplicationInstanceRequest.Builder |
engineVersion(String engineVersion) |
The engine version number of the replication instance.
|
CreateReplicationInstanceRequest.Builder |
kmsKeyId(String kmsKeyId) |
The KMS key identifier that will be used to encrypt the content on the replication instance.
|
CreateReplicationInstanceRequest.Builder |
multiAZ(Boolean multiAZ) |
Specifies if the replication instance is a Multi-AZ deployment.
|
CreateReplicationInstanceRequest.Builder |
preferredMaintenanceWindow(String preferredMaintenanceWindow) |
The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).
|
CreateReplicationInstanceRequest.Builder |
publiclyAccessible(Boolean publiclyAccessible) |
Specifies the accessibility options for the replication instance.
|
CreateReplicationInstanceRequest.Builder |
replicationInstanceClass(String replicationInstanceClass) |
The compute and memory capacity of the replication instance as specified by the replication instance class.
|
CreateReplicationInstanceRequest.Builder |
replicationInstanceIdentifier(String replicationInstanceIdentifier) |
The replication instance identifier.
|
CreateReplicationInstanceRequest.Builder |
replicationSubnetGroupIdentifier(String replicationSubnetGroupIdentifier) |
A subnet group to associate with the replication instance.
|
CreateReplicationInstanceRequest.Builder |
tags(Collection<Tag> tags) |
Tags to be associated with the replication instance.
|
CreateReplicationInstanceRequest.Builder |
tags(Tag... tags) |
Tags to be associated with the replication instance.
|
CreateReplicationInstanceRequest.Builder |
vpcSecurityGroupIds(String... vpcSecurityGroupIds) |
Specifies the VPC security group to be used with the replication instance.
|
CreateReplicationInstanceRequest.Builder |
vpcSecurityGroupIds(Collection<String> vpcSecurityGroupIds) |
Specifies the VPC security group to be used with the replication instance.
|
copy
apply, build
CreateReplicationInstanceRequest.Builder replicationInstanceIdentifier(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
CreateReplicationInstanceRequest.Builder allocatedStorage(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.CreateReplicationInstanceRequest.Builder replicationInstanceClass(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
CreateReplicationInstanceRequest.Builder vpcSecurityGroupIds(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.CreateReplicationInstanceRequest.Builder vpcSecurityGroupIds(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.CreateReplicationInstanceRequest.Builder availabilityZone(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
CreateReplicationInstanceRequest.Builder replicationSubnetGroupIdentifier(String replicationSubnetGroupIdentifier)
A subnet group to associate with the replication instance.
replicationSubnetGroupIdentifier
- A subnet group to associate with the replication instance.CreateReplicationInstanceRequest.Builder preferredMaintenanceWindow(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.
CreateReplicationInstanceRequest.Builder multiAZ(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
.CreateReplicationInstanceRequest.Builder engineVersion(String engineVersion)
The engine version number of the replication instance.
engineVersion
- The engine version number of the replication instance.CreateReplicationInstanceRequest.Builder autoMinorVersionUpgrade(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
CreateReplicationInstanceRequest.Builder tags(Collection<Tag> tags)
Tags to be associated with the replication instance.
tags
- Tags to be associated with the replication instance.CreateReplicationInstanceRequest.Builder tags(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.CreateReplicationInstanceRequest.Builder kmsKeyId(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.CreateReplicationInstanceRequest.Builder publiclyAccessible(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
.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.