Class ComputeConfig
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<ComputeConfig.Builder,
ComputeConfig>
Configuration parameters for provisioning an DMS Serverless replication.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal String
The Availability Zone where the DMS Serverless replication using this configuration will run.static ComputeConfig.Builder
builder()
final String
A list of custom DNS name servers supported for the DMS Serverless replication to access your source or target database.final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final int
hashCode()
final boolean
For responses, this returns true if the service returned a value for the VpcSecurityGroupIds property.final String
kmsKeyId()
An Key Management Service (KMS) key Amazon Resource Name (ARN) that is used to encrypt the data during DMS Serverless replication.final Integer
Specifies the maximum value of the DMS capacity units (DCUs) for which a given DMS Serverless replication can be provisioned.final Integer
Specifies the minimum value of the DMS capacity units (DCUs) for which a given DMS Serverless replication can be provisioned.final Boolean
multiAZ()
Specifies whether the DMS Serverless replication is a Multi-AZ deployment.final String
The weekly time range during which system maintenance can occur for the DMS Serverless replication, in Universal Coordinated Time (UTC).final String
Specifies a subnet group identifier to associate with the DMS Serverless replication.static Class
<? extends ComputeConfig.Builder> Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.Specifies the virtual private cloud (VPC) security group to use with the DMS Serverless replication.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
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 theMultiAZ
parameter is set totrue
.- Returns:
- 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 theMultiAZ
parameter is set totrue
.
-
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"
- Returns:
- 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"
-
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.
- Returns:
- 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.
-
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.- Returns:
- 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.
-
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. If you don't set this value, DMS sets this parameter to the minimum DCU value allowed, 1. If there is no current source activity, DMS scales down your replication until it reaches the value specified in
MinCapacityUnits
.- Returns:
- 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. If you don't set this value, DMS sets this parameter to the
minimum DCU value allowed, 1. If there is no current source activity, DMS scales down your replication
until it reaches the value specified in
MinCapacityUnits
.
-
multiAZ
Specifies whether the DMS Serverless replication is a Multi-AZ deployment. You can't set the
AvailabilityZone
parameter if theMultiAZ
parameter is set totrue
.- Returns:
- Specifies whether the DMS Serverless replication is a Multi-AZ deployment. You can't set the
AvailabilityZone
parameter if theMultiAZ
parameter is set totrue
.
-
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
, andSun
.Constraints include a minimum 30-minute window.
- Returns:
- 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
, andSun
.Constraints include a minimum 30-minute window.
-
replicationSubnetGroupId
Specifies a subnet group identifier to associate with the DMS Serverless replication.
- Returns:
- Specifies a subnet group identifier to associate with the DMS Serverless replication.
-
hasVpcSecurityGroupIds
public final boolean hasVpcSecurityGroupIds()For responses, this returns true if the service returned a value for the VpcSecurityGroupIds property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()
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. -
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.- Returns:
- 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.
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<ComputeConfig.Builder,
ComputeConfig> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-