Class ComputeConfig
- java.lang.Object
-
- software.amazon.awssdk.services.databasemigration.model.ComputeConfig
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ComputeConfig.Builder,ComputeConfig>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceComputeConfig.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringavailabilityZone()The Availability Zone where the DMS Serverless replication using this configuration will run.static ComputeConfig.Builderbuilder()StringdnsNameServers()A list of custom DNS name servers supported for the DMS Serverless replication to access your source or target database.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()booleanhasVpcSecurityGroupIds()For responses, this returns true if the service returned a value for the VpcSecurityGroupIds property.StringkmsKeyId()An Key Management Service (KMS) key Amazon Resource Name (ARN) that is used to encrypt the data during DMS Serverless replication.IntegermaxCapacityUnits()Specifies the maximum value of the DMS capacity units (DCUs) for which a given DMS Serverless replication can be provisioned.IntegerminCapacityUnits()Specifies the minimum value of the DMS capacity units (DCUs) for which a given DMS Serverless replication can be provisioned.BooleanmultiAZ()Specifies whether the DMS Serverless replication is a Multi-AZ deployment.StringpreferredMaintenanceWindow()The weekly time range during which system maintenance can occur for the DMS Serverless replication, in Universal Coordinated Time (UTC).StringreplicationSubnetGroupId()Specifies a subnet group identifier to associate with the DMS Serverless replication.List<SdkField<?>>sdkFields()static Class<? extends ComputeConfig.Builder>serializableBuilderClass()ComputeConfig.BuildertoBuilder()StringtoString()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.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
availabilityZone
public 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 theMultiAZparameter 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 theMultiAZparameter is set totrue.
-
dnsNameServers
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"- 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
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
KmsKeyIdparameter, 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
KmsKeyIdparameter, 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
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
MaxCapacityUnitsparameter 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
MaxCapacityUnitsparameter is the only DCU parameter you are required to specify.
-
minCapacityUnits
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
MinCapacityUnitsparameter. 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.- 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. You don't have to specify a value for the
MinCapacityUnitsparameter. 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.
-
multiAZ
public final Boolean multiAZ()
Specifies whether the DMS Serverless replication is a Multi-AZ deployment. You can't set the
AvailabilityZoneparameter if theMultiAZparameter is set totrue.- Returns:
- Specifies whether the DMS Serverless replication is a Multi-AZ deployment. You can't set the
AvailabilityZoneparameter if theMultiAZparameter is set totrue.
-
preferredMaintenanceWindow
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, 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
public final String 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
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.- 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
public ComputeConfig.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ComputeConfig.Builder,ComputeConfig>
-
builder
public static ComputeConfig.Builder builder()
-
serializableBuilderClass
public static Class<? extends ComputeConfig.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-