@Generated(value="software.amazon.awssdk:codegen") public final class DBCluster extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DBCluster.Builder,DBCluster>
Contains the details of an Amazon Neptune DB cluster.
This data type is used as a response element in the DescribeDBClusters action.
| Modifier and Type | Class and Description |
|---|---|
static interface |
DBCluster.Builder |
| Modifier and Type | Method and Description |
|---|---|
Integer |
allocatedStorage()
AllocatedStorage always returns 1, because Neptune DB cluster storage size is not fixed, but instead
automatically adjusts as needed. |
List<DBClusterRole> |
associatedRoles()
Provides a list of the Amazon Identity and Access Management (IAM) roles that are associated with the DB cluster.
|
Instant |
automaticRestartTime()
Time at which the DB cluster will be automatically restarted.
|
List<String> |
availabilityZones()
Provides the list of EC2 Availability Zones that instances in the DB cluster can be created in.
|
Integer |
backupRetentionPeriod()
Specifies the number of days for which automatic DB snapshots are retained.
|
static DBCluster.Builder |
builder() |
String |
characterSetName()
Not supported by Neptune.
|
String |
cloneGroupId()
Identifies the clone group to which the DB cluster is associated.
|
Instant |
clusterCreateTime()
Specifies the time when the DB cluster was created, in Universal Coordinated Time (UTC).
|
Boolean |
copyTagsToSnapshot()
If set to
true, tags are copied to any snapshot of the DB cluster that is created. |
Boolean |
crossAccountClone()
If set to
true, the DB cluster can be cloned across accounts. |
String |
databaseName()
Contains the name of the initial database of this DB cluster that was provided at create time, if one was
specified when the DB cluster was created.
|
String |
dbClusterArn()
The Amazon Resource Name (ARN) for the DB cluster.
|
String |
dbClusterIdentifier()
Contains a user-supplied DB cluster identifier.
|
List<DBClusterMember> |
dbClusterMembers()
Provides the list of instances that make up the DB cluster.
|
List<DBClusterOptionGroupStatus> |
dbClusterOptionGroupMemberships()
Not supported by Neptune.
|
String |
dbClusterParameterGroup()
Specifies the name of the DB cluster parameter group for the DB cluster.
|
String |
dbClusterResourceId()
The Amazon Region-unique, immutable identifier for the DB cluster.
|
String |
dbSubnetGroup()
Specifies information on the subnet group associated with the DB cluster, including the name, description, and
subnets in the subnet group.
|
Boolean |
deletionProtection()
Indicates whether or not the DB cluster has deletion protection enabled.
|
Instant |
earliestRestorableTime()
Specifies the earliest time to which a database can be restored with point-in-time restore.
|
List<String> |
enabledCloudwatchLogsExports()
A list of log types that this DB cluster is configured to export to CloudWatch Logs.
|
String |
endpoint()
Specifies the connection endpoint for the primary instance of the DB cluster.
|
String |
engine()
Provides the name of the database engine to be used for this DB cluster.
|
String |
engineVersion()
Indicates the database engine version.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasAssociatedRoles()
Returns true if the AssociatedRoles property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
boolean |
hasAvailabilityZones()
Returns true if the AvailabilityZones property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
boolean |
hasDbClusterMembers()
Returns true if the DBClusterMembers property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
boolean |
hasDbClusterOptionGroupMemberships()
Returns true if the DBClusterOptionGroupMemberships property was specified by the sender (it may be empty), or
false if the sender did not specify the value (it will be empty).
|
boolean |
hasEnabledCloudwatchLogsExports()
Returns true if the EnabledCloudwatchLogsExports property was specified by the sender (it may be empty), or false
if the sender did not specify the value (it will be empty).
|
int |
hashCode() |
boolean |
hasReadReplicaIdentifiers()
Returns true if the ReadReplicaIdentifiers property was specified by the sender (it may be empty), or false if
the sender did not specify the value (it will be empty).
|
boolean |
hasVpcSecurityGroups()
Returns true if the VpcSecurityGroups property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
String |
hostedZoneId()
Specifies the ID that Amazon Route 53 assigns when you create a hosted zone.
|
Boolean |
iamDatabaseAuthenticationEnabled()
True if mapping of Amazon Identity and Access Management (IAM) accounts to database accounts is enabled, and
otherwise false.
|
String |
kmsKeyId()
If
StorageEncrypted is true, the Amazon KMS key identifier for the encrypted DB cluster. |
Instant |
latestRestorableTime()
Specifies the latest time to which a database can be restored with point-in-time restore.
|
String |
masterUsername()
Not supported by Neptune.
|
Boolean |
multiAZ()
Specifies whether the DB cluster has instances in multiple Availability Zones.
|
String |
percentProgress()
Specifies the progress of the operation as a percentage.
|
Integer |
port()
Specifies the port that the database engine is listening on.
|
String |
preferredBackupWindow()
Specifies the daily time range during which automated backups are created if automated backups are enabled, as
determined by the
BackupRetentionPeriod. |
String |
preferredMaintenanceWindow()
Specifies the weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).
|
String |
readerEndpoint()
The reader endpoint for the DB cluster.
|
List<String> |
readReplicaIdentifiers()
Contains one or more identifiers of the Read Replicas associated with this DB cluster.
|
String |
replicationSourceIdentifier()
Not supported by Neptune.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DBCluster.Builder> |
serializableBuilderClass() |
String |
status()
Specifies the current state of this DB cluster.
|
Boolean |
storageEncrypted()
Specifies whether the DB cluster is encrypted.
|
DBCluster.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
List<VpcSecurityGroupMembership> |
vpcSecurityGroups()
Provides a list of VPC security groups that the DB cluster belongs to.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Integer allocatedStorage()
AllocatedStorage always returns 1, because Neptune DB cluster storage size is not fixed, but instead
automatically adjusts as needed.
AllocatedStorage always returns 1, because Neptune DB cluster storage size is not fixed, but
instead automatically adjusts as needed.public final boolean hasAvailabilityZones()
public final List<String> availabilityZones()
Provides the list of EC2 Availability Zones that instances in the DB cluster can be created in.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasAvailabilityZones() to see if a value was sent in this field.
public final Integer backupRetentionPeriod()
Specifies the number of days for which automatic DB snapshots are retained.
public final String characterSetName()
Not supported by Neptune.
public final String databaseName()
Contains the name of the initial database of this DB cluster that was provided at create time, if one was specified when the DB cluster was created. This same name is returned for the life of the DB cluster.
public final String dbClusterIdentifier()
Contains a user-supplied DB cluster identifier. This identifier is the unique key that identifies a DB cluster.
public final String dbClusterParameterGroup()
Specifies the name of the DB cluster parameter group for the DB cluster.
public final String dbSubnetGroup()
Specifies information on the subnet group associated with the DB cluster, including the name, description, and subnets in the subnet group.
public final String status()
Specifies the current state of this DB cluster.
public final String percentProgress()
Specifies the progress of the operation as a percentage.
public final Instant earliestRestorableTime()
Specifies the earliest time to which a database can be restored with point-in-time restore.
public final String endpoint()
Specifies the connection endpoint for the primary instance of the DB cluster.
public final String readerEndpoint()
The reader endpoint for the DB cluster. The reader endpoint for a DB cluster load-balances connections across the Read Replicas that are available in a DB cluster. As clients request new connections to the reader endpoint, Neptune distributes the connection requests among the Read Replicas in the DB cluster. This functionality can help balance your read workload across multiple Read Replicas in your DB cluster.
If a failover occurs, and the Read Replica that you are connected to is promoted to be the primary instance, your connection is dropped. To continue sending your read workload to other Read Replicas in the cluster, you can then reconnect to the reader endpoint.
If a failover occurs, and the Read Replica that you are connected to is promoted to be the primary instance, your connection is dropped. To continue sending your read workload to other Read Replicas in the cluster, you can then reconnect to the reader endpoint.
public final Boolean multiAZ()
Specifies whether the DB cluster has instances in multiple Availability Zones.
public final String engine()
Provides the name of the database engine to be used for this DB cluster.
public final String engineVersion()
Indicates the database engine version.
public final Instant latestRestorableTime()
Specifies the latest time to which a database can be restored with point-in-time restore.
public final Integer port()
Specifies the port that the database engine is listening on.
public final String masterUsername()
Not supported by Neptune.
public final boolean hasDbClusterOptionGroupMemberships()
public final List<DBClusterOptionGroupStatus> dbClusterOptionGroupMemberships()
Not supported by Neptune.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasDbClusterOptionGroupMemberships() to see if a value was sent in this field.
public final String preferredBackupWindow()
Specifies the daily time range during which automated backups are created if automated backups are enabled, as
determined by the BackupRetentionPeriod.
BackupRetentionPeriod.public final String preferredMaintenanceWindow()
Specifies the weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).
public final String replicationSourceIdentifier()
Not supported by Neptune.
public final boolean hasReadReplicaIdentifiers()
public final List<String> readReplicaIdentifiers()
Contains one or more identifiers of the Read Replicas associated with this DB cluster.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasReadReplicaIdentifiers() to see if a value was sent in this field.
public final boolean hasDbClusterMembers()
public final List<DBClusterMember> dbClusterMembers()
Provides the list of instances that make up the DB cluster.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasDbClusterMembers() to see if a value was sent in this field.
public final boolean hasVpcSecurityGroups()
public final List<VpcSecurityGroupMembership> vpcSecurityGroups()
Provides a list of VPC security groups that the DB cluster belongs to.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasVpcSecurityGroups() to see if a value was sent in this field.
public final String hostedZoneId()
Specifies the ID that Amazon Route 53 assigns when you create a hosted zone.
public final Boolean storageEncrypted()
Specifies whether the DB cluster is encrypted.
public final String kmsKeyId()
If StorageEncrypted is true, the Amazon KMS key identifier for the encrypted DB cluster.
StorageEncrypted is true, the Amazon KMS key identifier for the encrypted DB cluster.public final String dbClusterResourceId()
The Amazon Region-unique, immutable identifier for the DB cluster. This identifier is found in Amazon CloudTrail log entries whenever the Amazon KMS key for the DB cluster is accessed.
public final String dbClusterArn()
The Amazon Resource Name (ARN) for the DB cluster.
public final boolean hasAssociatedRoles()
public final List<DBClusterRole> associatedRoles()
Provides a list of the Amazon Identity and Access Management (IAM) roles that are associated with the DB cluster. IAM roles that are associated with a DB cluster grant permission for the DB cluster to access other Amazon services on your behalf.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasAssociatedRoles() to see if a value was sent in this field.
public final Boolean iamDatabaseAuthenticationEnabled()
True if mapping of Amazon Identity and Access Management (IAM) accounts to database accounts is enabled, and otherwise false.
public final String cloneGroupId()
Identifies the clone group to which the DB cluster is associated.
public final Instant clusterCreateTime()
Specifies the time when the DB cluster was created, in Universal Coordinated Time (UTC).
public final Boolean copyTagsToSnapshot()
If set to true, tags are copied to any snapshot of the DB cluster that is created.
true, tags are copied to any snapshot of the DB cluster that is created.public final boolean hasEnabledCloudwatchLogsExports()
public final List<String> enabledCloudwatchLogsExports()
A list of log types that this DB cluster is configured to export to CloudWatch Logs.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasEnabledCloudwatchLogsExports() to see if a value was sent in this field.
public final Boolean deletionProtection()
Indicates whether or not the DB cluster has deletion protection enabled. The database can't be deleted when deletion protection is enabled.
public final Boolean crossAccountClone()
If set to true, the DB cluster can be cloned across accounts.
true, the DB cluster can be cloned across accounts.public final Instant automaticRestartTime()
Time at which the DB cluster will be automatically restarted.
public DBCluster.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DBCluster.Builder,DBCluster>public static DBCluster.Builder builder()
public static Class<? extends DBCluster.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.