Class ReplicationInstance
- java.lang.Object
-
- software.amazon.awssdk.services.databasemigration.model.ReplicationInstance
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ReplicationInstance.Builder,ReplicationInstance>
@Generated("software.amazon.awssdk:codegen") public final class ReplicationInstance extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ReplicationInstance.Builder,ReplicationInstance>
Provides information that defines a replication instance.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceReplicationInstance.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description IntegerallocatedStorage()The amount of storage (in gigabytes) that is allocated for the replication instance.BooleanautoMinorVersionUpgrade()Boolean value indicating if minor version upgrades will be automatically applied to the instance.StringavailabilityZone()The Availability Zone for the instance.static ReplicationInstance.Builderbuilder()StringdnsNameServers()The DNS name servers supported for the replication instance to access your on-premise source or target database.StringengineVersion()The engine version number of the replication instance.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)InstantfreeUntil()The expiration date of the free replication instance that is part of the Free DMS program.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()booleanhasReplicationInstanceIpv6Addresses()For responses, this returns true if the service returned a value for the ReplicationInstanceIpv6Addresses property.booleanhasReplicationInstancePrivateIpAddresses()For responses, this returns true if the service returned a value for the ReplicationInstancePrivateIpAddresses property.booleanhasReplicationInstancePublicIpAddresses()For responses, this returns true if the service returned a value for the ReplicationInstancePublicIpAddresses property.booleanhasVpcSecurityGroups()For responses, this returns true if the service returned a value for the VpcSecurityGroups property.InstantinstanceCreateTime()The time the replication instance was created.KerberosAuthenticationSettingskerberosAuthenticationSettings()Specifies the settings required for kerberos authentication when replicating an instance.StringkmsKeyId()An KMS key identifier that is used to encrypt the data on the replication instance.BooleanmultiAZ()Specifies whether the replication instance is a Multi-AZ deployment.StringnetworkType()The type of IP address protocol used by a replication instance, such as IPv4 only or Dual-stack that supports both IPv4 and IPv6 addressing.ReplicationPendingModifiedValuespendingModifiedValues()The pending modification values.StringpreferredMaintenanceWindow()The maintenance window times for the replication instance.BooleanpubliclyAccessible()Specifies the accessibility options for the replication instance.StringreplicationInstanceArn()The Amazon Resource Name (ARN) of the replication instance.StringreplicationInstanceClass()The compute and memory capacity of the replication instance as defined for the specified replication instance class.StringreplicationInstanceIdentifier()The replication instance identifier is a required parameter.List<String>replicationInstanceIpv6Addresses()One or more IPv6 addresses for the replication instance.StringreplicationInstancePrivateIpAddress()Deprecated.List<String>replicationInstancePrivateIpAddresses()One or more private IP addresses for the replication instance.StringreplicationInstancePublicIpAddress()Deprecated.List<String>replicationInstancePublicIpAddresses()One or more public IP addresses for the replication instance.StringreplicationInstanceStatus()The status of the replication instance.ReplicationSubnetGroupreplicationSubnetGroup()The subnet group for the replication instance.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()StringsecondaryAvailabilityZone()The Availability Zone of the standby replication instance in a Multi-AZ deployment.static Class<? extends ReplicationInstance.Builder>serializableBuilderClass()ReplicationInstance.BuildertoBuilder()StringtoString()Returns a string representation of this object.List<VpcSecurityGroupMembership>vpcSecurityGroups()The VPC security group for the instance.-
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
-
replicationInstanceIdentifier
public final String replicationInstanceIdentifier()
The replication instance identifier is a required parameter. This parameter is stored as a lowercase string.
Constraints:
-
Must contain 1-63 alphanumeric characters or hyphens.
-
First character must be a letter.
-
Cannot end with a hyphen or contain two consecutive hyphens.
Example:
myrepinstance- Returns:
- The replication instance identifier is a required parameter. This parameter is stored as a lowercase
string.
Constraints:
-
Must contain 1-63 alphanumeric characters or hyphens.
-
First character must be a letter.
-
Cannot end with a hyphen or contain two consecutive hyphens.
Example:
myrepinstance -
-
-
replicationInstanceClass
public final String replicationInstanceClass()
The compute and memory capacity of the replication instance as defined for the specified replication instance class. It is a required parameter, although a default value is pre-selected in the DMS console.
For more information on the settings and capacities for the available replication instance classes, see Selecting the right DMS replication instance for your migration.
- Returns:
- The compute and memory capacity of the replication instance as defined for the specified replication
instance class. It is a required parameter, although a default value is pre-selected in the DMS
console.
For more information on the settings and capacities for the available replication instance classes, see Selecting the right DMS replication instance for your migration.
-
replicationInstanceStatus
public final String replicationInstanceStatus()
The status of the replication instance. The possible return values include:
-
"available" -
"creating" -
"deleted" -
"deleting" -
"failed" -
"modifying" -
"upgrading" -
"rebooting" -
"resetting-master-credentials" -
"storage-full" -
"incompatible-credentials" -
"incompatible-network" -
"maintenance"
- Returns:
- The status of the replication instance. The possible return values include:
-
"available" -
"creating" -
"deleted" -
"deleting" -
"failed" -
"modifying" -
"upgrading" -
"rebooting" -
"resetting-master-credentials" -
"storage-full" -
"incompatible-credentials" -
"incompatible-network" -
"maintenance"
-
-
-
allocatedStorage
public final Integer allocatedStorage()
The amount of storage (in gigabytes) that is allocated for the replication instance.
- Returns:
- The amount of storage (in gigabytes) that is allocated for the replication instance.
-
instanceCreateTime
public final Instant instanceCreateTime()
The time the replication instance was created.
- Returns:
- The time the replication instance was created.
-
hasVpcSecurityGroups
public final boolean hasVpcSecurityGroups()
For responses, this returns true if the service returned a value for the VpcSecurityGroups 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.
-
vpcSecurityGroups
public final List<VpcSecurityGroupMembership> vpcSecurityGroups()
The VPC security group for the instance.
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
hasVpcSecurityGroups()method.- Returns:
- The VPC security group for the instance.
-
availabilityZone
public final String availabilityZone()
The Availability Zone for the instance.
- Returns:
- The Availability Zone for the instance.
-
replicationSubnetGroup
public final ReplicationSubnetGroup replicationSubnetGroup()
The subnet group for the replication instance.
- Returns:
- The subnet group for the replication instance.
-
preferredMaintenanceWindow
public final String preferredMaintenanceWindow()
The maintenance window times for the replication instance. Any pending upgrades to the replication instance are performed during this time.
- Returns:
- The maintenance window times for the replication instance. Any pending upgrades to the replication instance are performed during this time.
-
pendingModifiedValues
public final ReplicationPendingModifiedValues pendingModifiedValues()
The pending modification values.
- Returns:
- The pending modification values.
-
multiAZ
public final Boolean multiAZ()
Specifies whether the replication instance is a Multi-AZ deployment. You can't set the
AvailabilityZoneparameter if the Multi-AZ parameter is set totrue.- Returns:
- Specifies whether the replication instance is a Multi-AZ deployment. You can't set the
AvailabilityZoneparameter if the Multi-AZ parameter is set totrue.
-
engineVersion
public final String engineVersion()
The engine version number of the replication instance.
If an engine version number is not specified when a replication instance is created, the default is the latest engine version available.
When modifying a major engine version of an instance, also set
AllowMajorVersionUpgradetotrue.- Returns:
- The engine version number of the replication instance.
If an engine version number is not specified when a replication instance is created, the default is the latest engine version available.
When modifying a major engine version of an instance, also set
AllowMajorVersionUpgradetotrue.
-
autoMinorVersionUpgrade
public final Boolean autoMinorVersionUpgrade()
Boolean value indicating if minor version upgrades will be automatically applied to the instance.
- Returns:
- Boolean value indicating if minor version upgrades will be automatically applied to the instance.
-
kmsKeyId
public final String kmsKeyId()
An KMS key identifier that is used to encrypt the data on the replication instance.
If you don't specify a value for the
KmsKeyIdparameter, then 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 KMS key identifier that is used to encrypt the data on the replication instance.
If you don't specify a value for the
KmsKeyIdparameter, then 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.
-
replicationInstanceArn
public final String replicationInstanceArn()
The Amazon Resource Name (ARN) of the replication instance.
- Returns:
- The Amazon Resource Name (ARN) of the replication instance.
-
replicationInstancePublicIpAddress
@Deprecated public final String replicationInstancePublicIpAddress()
Deprecated.The public IP address of the replication instance.
- Returns:
- The public IP address of the replication instance.
-
replicationInstancePrivateIpAddress
@Deprecated public final String replicationInstancePrivateIpAddress()
Deprecated.The private IP address of the replication instance.
- Returns:
- The private IP address of the replication instance.
-
hasReplicationInstancePublicIpAddresses
public final boolean hasReplicationInstancePublicIpAddresses()
For responses, this returns true if the service returned a value for the ReplicationInstancePublicIpAddresses 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.
-
replicationInstancePublicIpAddresses
public final List<String> replicationInstancePublicIpAddresses()
One or more public IP addresses for the replication instance.
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
hasReplicationInstancePublicIpAddresses()method.- Returns:
- One or more public IP addresses for the replication instance.
-
hasReplicationInstancePrivateIpAddresses
public final boolean hasReplicationInstancePrivateIpAddresses()
For responses, this returns true if the service returned a value for the ReplicationInstancePrivateIpAddresses 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.
-
replicationInstancePrivateIpAddresses
public final List<String> replicationInstancePrivateIpAddresses()
One or more private IP addresses for the replication instance.
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
hasReplicationInstancePrivateIpAddresses()method.- Returns:
- One or more private IP addresses for the replication instance.
-
hasReplicationInstanceIpv6Addresses
public final boolean hasReplicationInstanceIpv6Addresses()
For responses, this returns true if the service returned a value for the ReplicationInstanceIpv6Addresses 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.
-
replicationInstanceIpv6Addresses
public final List<String> replicationInstanceIpv6Addresses()
One or more IPv6 addresses for the replication instance.
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
hasReplicationInstanceIpv6Addresses()method.- Returns:
- One or more IPv6 addresses for the replication instance.
-
publiclyAccessible
public final Boolean publiclyAccessible()
Specifies the accessibility options for the replication instance. A value of
truerepresents an instance with a public IP address. A value offalserepresents an instance with a private IP address. The default value istrue.- Returns:
- Specifies the accessibility options for the replication instance. A value of
truerepresents an instance with a public IP address. A value offalserepresents an instance with a private IP address. The default value istrue.
-
secondaryAvailabilityZone
public final String secondaryAvailabilityZone()
The Availability Zone of the standby replication instance in a Multi-AZ deployment.
- Returns:
- The Availability Zone of the standby replication instance in a Multi-AZ deployment.
-
freeUntil
public final Instant freeUntil()
The expiration date of the free replication instance that is part of the Free DMS program.
- Returns:
- The expiration date of the free replication instance that is part of the Free DMS program.
-
dnsNameServers
public final String dnsNameServers()
The DNS name servers supported for the replication instance to access your on-premise source or target database.
- Returns:
- The DNS name servers supported for the replication instance to access your on-premise source or target database.
-
networkType
public final String networkType()
The type of IP address protocol used by a replication instance, such as IPv4 only or Dual-stack that supports both IPv4 and IPv6 addressing. IPv6 only is not yet supported.
- Returns:
- The type of IP address protocol used by a replication instance, such as IPv4 only or Dual-stack that supports both IPv4 and IPv6 addressing. IPv6 only is not yet supported.
-
kerberosAuthenticationSettings
public final KerberosAuthenticationSettings kerberosAuthenticationSettings()
Specifies the settings required for kerberos authentication when replicating an instance.
- Returns:
- Specifies the settings required for kerberos authentication when replicating an instance.
-
toBuilder
public ReplicationInstance.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ReplicationInstance.Builder,ReplicationInstance>
-
builder
public static ReplicationInstance.Builder builder()
-
serializableBuilderClass
public static Class<? extends ReplicationInstance.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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-