public static interface CreateReplicationInstanceRequest.Builder extends DatabaseMigrationRequest.Builder, SdkPojo, CopyableBuilder<CreateReplicationInstanceRequest.Builder,CreateReplicationInstanceRequest>
Modifier and Type | Method and 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 |
dnsNameServers(String dnsNameServers)
A list of DNS name servers supported for the replication instance.
|
CreateReplicationInstanceRequest.Builder |
engineVersion(String engineVersion)
The engine version number of the replication instance.
|
CreateReplicationInstanceRequest.Builder |
kmsKeyId(String kmsKeyId)
The AWS KMS key identifier that is 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 |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
CreateReplicationInstanceRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
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(Consumer<Tag.Builder>... 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(Collection<String> vpcSecurityGroupIds)
Specifies the VPC security group to be used with the replication instance.
|
CreateReplicationInstanceRequest.Builder |
vpcSecurityGroupIds(String... vpcSecurityGroupIds)
Specifies the VPC security group to be used with the replication instance.
|
build
overrideConfiguration
copy
applyMutation, 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.
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.
tags
- Tags to be associated with the replication instance.CreateReplicationInstanceRequest.Builder tags(Consumer<Tag.Builder>... tags)
Tags to be associated with the replication instance.
This is a convenience that creates an instance of theList.Builder
avoiding the need to create
one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its result
is passed to #tags(List)
.tags
- a consumer that will call methods on List.Builder
#tags(List)
CreateReplicationInstanceRequest.Builder kmsKeyId(String kmsKeyId)
The AWS KMS key identifier that is used to encrypt the content 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.
kmsKeyId
- The AWS KMS key identifier that is used to encrypt the content 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.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
.CreateReplicationInstanceRequest.Builder dnsNameServers(String dnsNameServers)
A list of DNS name servers supported for the replication instance.
dnsNameServers
- A list of DNS name servers supported for the replication instance.CreateReplicationInstanceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.CreateReplicationInstanceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.