Class AwsRdsDbClusterDetails
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<AwsRdsDbClusterDetails.Builder,
AwsRdsDbClusterDetails>
Information about an Amazon RDS DB cluster.
- See Also:
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal String
The status of the database activity stream.final Integer
For all database engines except Aurora, specifies the allocated storage size in gibibytes (GiB).A list of the IAM roles that are associated with the DB cluster.final Boolean
Indicates if minor version upgrades are automatically applied to the cluster.A list of Availability Zones (AZs) where instances in the DB cluster can be created.final Integer
The number of days for which automated backups are retained.builder()
final String
Indicates when the DB cluster was created, in Universal Coordinated Time (UTC).final Boolean
Whether tags are copied from the DB cluster to snapshots of the DB cluster.final Boolean
Whether the DB cluster is a clone of a DB cluster owned by a different Amazon Web Services account.A list of custom endpoints for the DB cluster.final String
The name of the database.final String
The DB cluster identifier that the user assigned to the cluster.final List
<AwsRdsDbClusterMember> The list of instances that make up the DB cluster.The list of option group memberships for this DB cluster.final String
The name of the DB cluster parameter group for the DB cluster.final String
The identifier of the DB cluster.final String
The subnet group that is associated with the DB cluster, including the name, description, and subnets in the subnet group.final Boolean
Whether the DB cluster has deletion protection enabled.final List
<AwsRdsDbDomainMembership> The Active Directory domain membership records that are associated with the DB cluster.A list of log types that this DB cluster is configured to export to CloudWatch Logs.final String
endpoint()
The connection endpoint for the primary instance of the DB cluster.final String
engine()
The name of the database engine to use for this DB cluster.final String
The database engine mode of the DB cluster.Valid values are as follows:final String
The version number of the database engine to use.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 boolean
For responses, this returns true if the service returned a value for the AssociatedRoles property.final boolean
For responses, this returns true if the service returned a value for the AvailabilityZones property.final boolean
For responses, this returns true if the service returned a value for the CustomEndpoints property.final boolean
For responses, this returns true if the service returned a value for the DbClusterMembers property.final boolean
For responses, this returns true if the service returned a value for the DbClusterOptionGroupMemberships property.final boolean
For responses, this returns true if the service returned a value for the DomainMemberships property.final boolean
For responses, this returns true if the service returned a value for the EnabledCloudWatchLogsExports property.final int
hashCode()
final boolean
For responses, this returns true if the service returned a value for the ReadReplicaIdentifiers property.final boolean
For responses, this returns true if the service returned a value for the VpcSecurityGroups property.final String
Specifies the identifier that Amazon Route 53 assigns when you create a hosted zone.final Boolean
Whether the HTTP endpoint for an Aurora Serverless DB cluster is enabled.final Boolean
Whether the mapping of IAM accounts to database accounts is enabled.final String
kmsKeyId()
The ARN of the KMS master key that is used to encrypt the database instances in the DB cluster.final String
The name of the master user for the DB cluster.final Boolean
multiAz()
Whether the DB cluster has instances in multiple Availability Zones.final Integer
port()
The port number on which the DB instances in the DB cluster accept connections.final String
The range of time each day when automated backups are created, if automated backups are enabled.final String
The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).final String
The reader endpoint for the DB cluster.The identifiers of the read replicas that are associated with this DB cluster.static Class
<? extends AwsRdsDbClusterDetails.Builder> final String
status()
The current status of this DB cluster.final Boolean
Whether the DB cluster is encrypted.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.A list of VPC security groups that the DB cluster belongs to.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
allocatedStorage
For all database engines except Aurora, specifies the allocated storage size in gibibytes (GiB).
- Returns:
- For all database engines except Aurora, specifies the allocated storage size in gibibytes (GiB).
-
hasAvailabilityZones
public final boolean hasAvailabilityZones()For responses, this returns true if the service returned a value for the AvailabilityZones 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. -
availabilityZones
A list of Availability Zones (AZs) where instances in the DB cluster can be created.
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
hasAvailabilityZones()
method.- Returns:
- A list of Availability Zones (AZs) where instances in the DB cluster can be created.
-
backupRetentionPeriod
The number of days for which automated backups are retained.
- Returns:
- The number of days for which automated backups are retained.
-
databaseName
The name of the database.
- Returns:
- The name of the database.
-
status
The current status of this DB cluster.
- Returns:
- The current status of this DB cluster.
-
endpoint
The connection endpoint for the primary instance of the DB cluster.
- Returns:
- The connection endpoint for the primary instance of the DB cluster.
-
readerEndpoint
The reader endpoint for the DB cluster.
- Returns:
- The reader endpoint for the DB cluster.
-
hasCustomEndpoints
public final boolean hasCustomEndpoints()For responses, this returns true if the service returned a value for the CustomEndpoints 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. -
customEndpoints
A list of custom endpoints for the DB cluster.
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
hasCustomEndpoints()
method.- Returns:
- A list of custom endpoints for the DB cluster.
-
multiAz
Whether the DB cluster has instances in multiple Availability Zones.
- Returns:
- Whether the DB cluster has instances in multiple Availability Zones.
-
engine
The name of the database engine to use for this DB cluster. Valid values are as follows:
-
aurora
-
aurora-mysql
-
aurora-postgresql
- Returns:
- The name of the database engine to use for this DB cluster. Valid values are as follows:
-
aurora
-
aurora-mysql
-
aurora-postgresql
-
-
-
engineVersion
The version number of the database engine to use.
- Returns:
- The version number of the database engine to use.
-
port
The port number on which the DB instances in the DB cluster accept connections.
- Returns:
- The port number on which the DB instances in the DB cluster accept connections.
-
masterUsername
The name of the master user for the DB cluster.
- Returns:
- The name of the master user for the DB cluster.
-
preferredBackupWindow
The range of time each day when automated backups are created, if automated backups are enabled.
Uses the format
HH:MM-HH:MM
. For example,04:52-05:22
.- Returns:
- The range of time each day when automated backups are created, if automated backups are enabled.
Uses the format
HH:MM-HH:MM
. For example,04:52-05:22
.
-
preferredMaintenanceWindow
The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).
Uses the format
<day>:HH:MM-<day>:HH:MM
.For the day values, use
mon
|tue
|wed
|thu
|fri
|sat
|sun
.For example,
sun:09:32-sun:10:02
.- Returns:
- The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).
Uses the format
<day>:HH:MM-<day>:HH:MM
.For the day values, use
mon
|tue
|wed
|thu
|fri
|sat
|sun
.For example,
sun:09:32-sun:10:02
.
-
hasReadReplicaIdentifiers
public final boolean hasReadReplicaIdentifiers()For responses, this returns true if the service returned a value for the ReadReplicaIdentifiers 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. -
readReplicaIdentifiers
The identifiers of the read replicas that are associated with this DB cluster.
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
hasReadReplicaIdentifiers()
method.- Returns:
- The identifiers of the read replicas that are associated with this DB cluster.
-
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
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.
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:
- A list of VPC security groups that the DB cluster belongs to.
-
hostedZoneId
Specifies the identifier that Amazon Route 53 assigns when you create a hosted zone.
- Returns:
- Specifies the identifier that Amazon Route 53 assigns when you create a hosted zone.
-
storageEncrypted
Whether the DB cluster is encrypted.
- Returns:
- Whether the DB cluster is encrypted.
-
kmsKeyId
The ARN of the KMS master key that is used to encrypt the database instances in the DB cluster.
- Returns:
- The ARN of the KMS master key that is used to encrypt the database instances in the DB cluster.
-
dbClusterResourceId
The identifier of the DB cluster. The identifier must be unique within each Amazon Web Services Region and is immutable.
- Returns:
- The identifier of the DB cluster. The identifier must be unique within each Amazon Web Services Region and is immutable.
-
hasAssociatedRoles
public final boolean hasAssociatedRoles()For responses, this returns true if the service returned a value for the AssociatedRoles 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. -
associatedRoles
A list of the IAM roles that are associated with the DB cluster.
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
hasAssociatedRoles()
method.- Returns:
- A list of the IAM roles that are associated with the DB cluster.
-
clusterCreateTime
Indicates when the DB cluster was created, in Universal Coordinated Time (UTC).
This field accepts only the specified formats. Timestamps can end with
Z
or("+" / "-") time-hour [":" time-minute]
. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:-
YYYY-MM-DDTHH:MM:SSZ
(for example,2019-01-31T23:00:00Z
) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ
(for example,2019-01-31T23:00:00.123456789Z
) -
YYYY-MM-DDTHH:MM:SS+HH:MM
(for example,2024-01-04T15:25:10+17:59
) -
YYYY-MM-DDTHH:MM:SS-HHMM
(for example,2024-01-04T15:25:10-1759
) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM
(for example,2024-01-04T15:25:10.123456789+17:59
)
- Returns:
- Indicates when the DB cluster was created, in Universal Coordinated Time (UTC).
This field accepts only the specified formats. Timestamps can end with
Z
or("+" / "-") time-hour [":" time-minute]
. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:-
YYYY-MM-DDTHH:MM:SSZ
(for example,2019-01-31T23:00:00Z
) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ
(for example,2019-01-31T23:00:00.123456789Z
) -
YYYY-MM-DDTHH:MM:SS+HH:MM
(for example,2024-01-04T15:25:10+17:59
) -
YYYY-MM-DDTHH:MM:SS-HHMM
(for example,2024-01-04T15:25:10-1759
) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM
(for example,2024-01-04T15:25:10.123456789+17:59
)
-
-
-
hasEnabledCloudWatchLogsExports
public final boolean hasEnabledCloudWatchLogsExports()For responses, this returns true if the service returned a value for the EnabledCloudWatchLogsExports 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. -
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.
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
hasEnabledCloudWatchLogsExports()
method.- Returns:
- A list of log types that this DB cluster is configured to export to CloudWatch Logs.
-
engineMode
The database engine mode of the DB cluster.Valid values are as follows:
-
global
-
multimaster
-
parallelquery
-
provisioned
-
serverless
- Returns:
- The database engine mode of the DB cluster.Valid values are as follows:
-
global
-
multimaster
-
parallelquery
-
provisioned
-
serverless
-
-
-
deletionProtection
Whether the DB cluster has deletion protection enabled.
- Returns:
- Whether the DB cluster has deletion protection enabled.
-
httpEndpointEnabled
Whether the HTTP endpoint for an Aurora Serverless DB cluster is enabled.
- Returns:
- Whether the HTTP endpoint for an Aurora Serverless DB cluster is enabled.
-
activityStreamStatus
The status of the database activity stream. Valid values are as follows:
-
started
-
starting
-
stopped
-
stopping
- Returns:
- The status of the database activity stream. Valid values are as follows:
-
started
-
starting
-
stopped
-
stopping
-
-
-
copyTagsToSnapshot
Whether tags are copied from the DB cluster to snapshots of the DB cluster.
- Returns:
- Whether tags are copied from the DB cluster to snapshots of the DB cluster.
-
crossAccountClone
Whether the DB cluster is a clone of a DB cluster owned by a different Amazon Web Services account.
- Returns:
- Whether the DB cluster is a clone of a DB cluster owned by a different Amazon Web Services account.
-
hasDomainMemberships
public final boolean hasDomainMemberships()For responses, this returns true if the service returned a value for the DomainMemberships 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. -
domainMemberships
The Active Directory domain membership records that are associated with the DB cluster.
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
hasDomainMemberships()
method.- Returns:
- The Active Directory domain membership records that are associated with the DB cluster.
-
dbClusterParameterGroup
The name of the DB cluster parameter group for the DB cluster.
- Returns:
- The name of the DB cluster parameter group for the DB cluster.
-
dbSubnetGroup
The subnet group that is associated with the DB cluster, including the name, description, and subnets in the subnet group.
- Returns:
- The subnet group that is associated with the DB cluster, including the name, description, and subnets in the subnet group.
-
hasDbClusterOptionGroupMemberships
public final boolean hasDbClusterOptionGroupMemberships()For responses, this returns true if the service returned a value for the DbClusterOptionGroupMemberships 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. -
dbClusterOptionGroupMemberships
The list of option group memberships for this DB cluster.
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
hasDbClusterOptionGroupMemberships()
method.- Returns:
- The list of option group memberships for this DB cluster.
-
dbClusterIdentifier
The DB cluster identifier that the user assigned to the cluster. This identifier is the unique key that identifies a DB cluster.
- Returns:
- The DB cluster identifier that the user assigned to the cluster. This identifier is the unique key that identifies a DB cluster.
-
hasDbClusterMembers
public final boolean hasDbClusterMembers()For responses, this returns true if the service returned a value for the DbClusterMembers 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. -
dbClusterMembers
The list of instances that make up the DB cluster.
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
hasDbClusterMembers()
method.- Returns:
- The list of instances that make up the DB cluster.
-
iamDatabaseAuthenticationEnabled
Whether the mapping of IAM accounts to database accounts is enabled.
- Returns:
- Whether the mapping of IAM accounts to database accounts is enabled.
-
autoMinorVersionUpgrade
Indicates if minor version upgrades are automatically applied to the cluster.
- Returns:
- Indicates if minor version upgrades are automatically applied to the cluster.
-
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<AwsRdsDbClusterDetails.Builder,
AwsRdsDbClusterDetails> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
public final int 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
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. -
getValueForField
-
sdkFields
-