@Generated(value="software.amazon.awssdk:codegen") public final class ComputeConfig extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ComputeConfig.Builder,ComputeConfig>
Configuration parameters for provisioning an DMS Serverless replication.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ComputeConfig.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
availabilityZone()
The Availability Zone where the DMS Serverless replication using this configuration will run.
|
static ComputeConfig.Builder |
builder() |
String |
dnsNameServers()
A list of custom DNS name servers supported for the DMS Serverless replication to access your source or target
database.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasVpcSecurityGroupIds()
For responses, this returns true if the service returned a value for the VpcSecurityGroupIds property.
|
String |
kmsKeyId()
An Key Management Service (KMS) key Amazon Resource Name (ARN) that is used to encrypt the data during DMS
Serverless replication.
|
Integer |
maxCapacityUnits()
Specifies the maximum value of the DMS capacity units (DCUs) for which a given DMS Serverless replication can be
provisioned.
|
Integer |
minCapacityUnits()
Specifies the minimum value of the DMS capacity units (DCUs) for which a given DMS Serverless replication can be
provisioned.
|
Boolean |
multiAZ()
Specifies whether the DMS Serverless replication is a Multi-AZ deployment.
|
String |
preferredMaintenanceWindow()
The weekly time range during which system maintenance can occur for the DMS Serverless replication, in Universal
Coordinated Time (UTC).
|
String |
replicationSubnetGroupId()
Specifies a subnet group identifier to associate with the DMS Serverless replication.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ComputeConfig.Builder> |
serializableBuilderClass() |
ComputeConfig.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
List<String> |
vpcSecurityGroupIds()
Specifies the virtual private cloud (VPC) security group to use with the DMS Serverless replication.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String availabilityZone()
The Availability Zone where the DMS Serverless replication using this configuration will run. The default value
is a random, system-chosen Availability Zone in the configuration's Amazon Web Services Region, for example,
"us-west-2". You can't set this parameter if the MultiAZ parameter is set to
true.
"us-west-2". You can't set this parameter if the MultiAZ parameter is
set to true.public final String dnsNameServers()
A list of custom DNS name servers supported for the DMS Serverless replication to access your source or target
database. This list overrides the default name servers supported by the DMS Serverless replication. You can
specify a comma-separated list of internet addresses for up to four DNS name servers. For example:
"1.1.1.1,2.2.2.2,3.3.3.3,4.4.4.4"
"1.1.1.1,2.2.2.2,3.3.3.3,4.4.4.4"public final String kmsKeyId()
An Key Management Service (KMS) key Amazon Resource Name (ARN) that is used to encrypt the data during DMS Serverless replication.
If you don't specify a value for the KmsKeyId parameter, DMS uses your default encryption key.
KMS creates the default encryption key for your Amazon Web Services account. Your Amazon Web Services account has a different default encryption key for each Amazon Web Services Region.
If you don't specify a value for the KmsKeyId parameter, DMS uses your default encryption
key.
KMS creates the default encryption key for your Amazon Web Services account. Your Amazon Web Services account has a different default encryption key for each Amazon Web Services Region.
public final Integer maxCapacityUnits()
Specifies the maximum value of the DMS capacity units (DCUs) for which a given DMS Serverless replication can be
provisioned. A single DCU is 2GB of RAM, with 1 DCU as the minimum value allowed. The list of valid DCU values
includes 1, 2, 4, 8, 16, 32, 64, 128, 192, 256, and 384. So, the maximum value that you can specify for DMS
Serverless is 384. The MaxCapacityUnits parameter is the only DCU parameter you are required to
specify.
MaxCapacityUnits parameter is the only DCU
parameter you are required to specify.public final Integer minCapacityUnits()
Specifies the minimum value of the DMS capacity units (DCUs) for which a given DMS Serverless replication can be
provisioned. A single DCU is 2GB of RAM, with 1 DCU as the minimum value allowed. The list of valid DCU values
includes 1, 2, 4, 8, 16, 32, 64, 128, 192, 256, and 384. So, the minimum DCU value that you can specify for DMS
Serverless is 1. You don't have to specify a value for the MinCapacityUnits parameter. If you don't
set this value, DMS scans the current activity of available source tables to identify an optimum setting for this
parameter. If there is no current source activity or DMS can't otherwise identify a more appropriate value, it
sets this parameter to the minimum DCU value allowed, 1.
MinCapacityUnits parameter. If you don't set this value, DMS scans the current activity of
available source tables to identify an optimum setting for this parameter. If there is no current source
activity or DMS can't otherwise identify a more appropriate value, it sets this parameter to the minimum
DCU value allowed, 1.public final Boolean multiAZ()
Specifies whether the DMS Serverless replication is a Multi-AZ deployment. You can't set the
AvailabilityZone parameter if the MultiAZ parameter is set to true.
AvailabilityZone parameter if the MultiAZ parameter is set to true
.public final String preferredMaintenanceWindow()
The weekly time range during which system maintenance can occur for the DMS Serverless replication, in Universal
Coordinated Time (UTC). The format is ddd:hh24:mi-ddd:hh24:mi.
The default is a 30-minute window selected at random from an 8-hour block of time per Amazon Web Services Region.
This maintenance occurs on a random day of the week. Valid values for days of the week include Mon,
Tue, Wed, Thu, Fri, Sat, and Sun.
Constraints include a minimum 30-minute window.
ddd:hh24:mi-ddd:hh24:mi.
The default is a 30-minute window selected at random from an 8-hour block of time per Amazon Web Services
Region. This maintenance occurs on a random day of the week. Valid values for days of the week include
Mon, Tue, Wed, Thu, Fri,
Sat, and Sun.
Constraints include a minimum 30-minute window.
public final String replicationSubnetGroupId()
Specifies a subnet group identifier to associate with the DMS Serverless replication.
public final boolean hasVpcSecurityGroupIds()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<String> vpcSecurityGroupIds()
Specifies the virtual private cloud (VPC) security group to use with the DMS Serverless replication. The VPC security group must work with the VPC containing the replication.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasVpcSecurityGroupIds() method.
public ComputeConfig.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ComputeConfig.Builder,ComputeConfig>public static ComputeConfig.Builder builder()
public static Class<? extends ComputeConfig.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.