@Generated(value="software.amazon.awssdk:codegen") public final class ReplicationInstance extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ReplicationInstance.Builder,ReplicationInstance>
Provides information that defines a replication instance.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ReplicationInstance.Builder |
| Modifier and Type | Method and Description |
|---|---|
Integer |
allocatedStorage()
The amount of storage (in gigabytes) that is allocated for the replication instance.
|
Boolean |
autoMinorVersionUpgrade()
Boolean value indicating if minor version upgrades will be automatically applied to the instance.
|
String |
availabilityZone()
The Availability Zone for the instance.
|
static ReplicationInstance.Builder |
builder() |
String |
dnsNameServers()
The DNS name servers supported for the replication instance to access your on-premise source or target database.
|
String |
engineVersion()
The engine version number of the replication instance.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
Instant |
freeUntil()
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) |
int |
hashCode() |
boolean |
hasReplicationInstanceIpv6Addresses()
For responses, this returns true if the service returned a value for the ReplicationInstanceIpv6Addresses
property.
|
boolean |
hasReplicationInstancePrivateIpAddresses()
For responses, this returns true if the service returned a value for the ReplicationInstancePrivateIpAddresses
property.
|
boolean |
hasReplicationInstancePublicIpAddresses()
For responses, this returns true if the service returned a value for the ReplicationInstancePublicIpAddresses
property.
|
boolean |
hasVpcSecurityGroups()
For responses, this returns true if the service returned a value for the VpcSecurityGroups property.
|
Instant |
instanceCreateTime()
The time the replication instance was created.
|
String |
kmsKeyId()
An KMS key identifier that is used to encrypt the data on the replication instance.
|
Boolean |
multiAZ()
Specifies whether the replication instance is a Multi-AZ deployment.
|
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.
|
ReplicationPendingModifiedValues |
pendingModifiedValues()
The pending modification values.
|
String |
preferredMaintenanceWindow()
The maintenance window times for the replication instance.
|
Boolean |
publiclyAccessible()
Specifies the accessibility options for the replication instance.
|
String |
replicationInstanceArn()
The Amazon Resource Name (ARN) of the replication instance.
|
String |
replicationInstanceClass()
The compute and memory capacity of the replication instance as defined for the specified replication instance
class.
|
String |
replicationInstanceIdentifier()
The replication instance identifier is a required parameter.
|
List<String> |
replicationInstanceIpv6Addresses()
One or more IPv6 addresses for the replication instance.
|
String |
replicationInstancePrivateIpAddress()
Deprecated.
|
List<String> |
replicationInstancePrivateIpAddresses()
One or more private IP addresses for the replication instance.
|
String |
replicationInstancePublicIpAddress()
Deprecated.
|
List<String> |
replicationInstancePublicIpAddresses()
One or more public IP addresses for the replication instance.
|
String |
replicationInstanceStatus()
The status of the replication instance.
|
ReplicationSubnetGroup |
replicationSubnetGroup()
The subnet group for the replication instance.
|
List<SdkField<?>> |
sdkFields() |
String |
secondaryAvailabilityZone()
The Availability Zone of the standby replication instance in a Multi-AZ deployment.
|
static Class<? extends ReplicationInstance.Builder> |
serializableBuilderClass() |
ReplicationInstance.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
List<VpcSecurityGroupMembership> |
vpcSecurityGroups()
The VPC security group for the instance.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic 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
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
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.
For more information on the settings and capacities for the available replication instance classes, see Selecting the right DMS replication instance for your migration.
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"
"available"
"creating"
"deleted"
"deleting"
"failed"
"modifying"
"upgrading"
"rebooting"
"resetting-master-credentials"
"storage-full"
"incompatible-credentials"
"incompatible-network"
"maintenance"
public final Integer allocatedStorage()
The amount of storage (in gigabytes) that is allocated for the replication instance.
public final Instant instanceCreateTime()
The time the replication instance was created.
public final boolean hasVpcSecurityGroups()
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<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.
public final String availabilityZone()
The Availability Zone for the instance.
public final ReplicationSubnetGroup replicationSubnetGroup()
The subnet group for the replication instance.
public final String preferredMaintenanceWindow()
The maintenance window times for the replication instance. Any pending upgrades to the replication instance are performed during this time.
public final ReplicationPendingModifiedValues pendingModifiedValues()
The pending modification values.
public final Boolean multiAZ()
Specifies whether the replication instance is a Multi-AZ deployment. You can't set the
AvailabilityZone parameter if the Multi-AZ parameter is set to true.
AvailabilityZone parameter if the Multi-AZ parameter is set to true.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 AllowMajorVersionUpgrade to
true.
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 AllowMajorVersionUpgrade to
true.
public final Boolean autoMinorVersionUpgrade()
Boolean value indicating if minor version upgrades will be automatically applied to the instance.
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 KmsKeyId parameter, 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.
If you don't specify a value for the KmsKeyId parameter, 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.
public final String replicationInstanceArn()
The Amazon Resource Name (ARN) of the replication instance.
@Deprecated public final String replicationInstancePublicIpAddress()
The public IP address of the replication instance.
@Deprecated public final String replicationInstancePrivateIpAddress()
The private IP address of the replication instance.
public final boolean hasReplicationInstancePublicIpAddresses()
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> 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.
public final boolean hasReplicationInstancePrivateIpAddresses()
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> 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.
public final boolean hasReplicationInstanceIpv6Addresses()
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> 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.
public final 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.
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.public final String secondaryAvailabilityZone()
The Availability Zone of the standby replication instance in a Multi-AZ deployment.
public final Instant freeUntil()
The expiration date of the free replication instance that is part of the Free DMS program.
public final String dnsNameServers()
The DNS name servers supported for the replication instance to access your on-premise source or target database.
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.
public ReplicationInstance.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ReplicationInstance.Builder,ReplicationInstance>public static ReplicationInstance.Builder builder()
public static Class<? extends ReplicationInstance.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.