Class BranchDatabaseUsage
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<BranchDatabaseUsage.Builder,BranchDatabaseUsage>
The usage of a branch's database, sampled once per sampling window of a few minutes. Sampling stops while the backend is paused. A member is absent when its value isn't reported.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic BranchDatabaseUsage.Builderbuilder()final IntegerThe number of sessions, including idle sessions, that were connected to the database at the time of SampledAt.final booleanfinal booleanequalsBySdkFields(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 inthashCode()final InstantThe end of the most recent sampling window in which the database was used, either by a new connection or by load on an existing connection.final DoubleThe backend capacity unit hours (BCU-hours) that the branch's database used in the current calendar month (UTC).final InstantThe end of the most recent sampling window in which one of these values changed.static Class<? extends BranchDatabaseUsage.Builder> final LongThe size of the database, in bytes.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
storageBytes
The size of the database, in bytes. The database's storage limit applies to this size.
- Returns:
- The size of the database, in bytes. The database's storage limit applies to this size.
-
connections
The number of sessions, including idle sessions, that were connected to the database at the time of SampledAt.
- Returns:
- The number of sessions, including idle sessions, that were connected to the database at the time of SampledAt.
-
lastUsedAt
The end of the most recent sampling window in which the database was used, either by a new connection or by load on an existing connection. The value is in ISO-8601 format.
- Returns:
- The end of the most recent sampling window in which the database was used, either by a new connection or by load on an existing connection. The value is in ISO-8601 format.
-
sampledAt
The end of the most recent sampling window in which one of these values changed. For a branch with steady usage, this time can be old even though the values are current. The value is in ISO-8601 format.
- Returns:
- The end of the most recent sampling window in which one of these values changed. For a branch with steady usage, this time can be old even though the values are current. The value is in ISO-8601 format.
-
monthlyBackendCapacityUnitHours
The backend capacity unit hours (BCU-hours) that the branch's database used in the current calendar month (UTC). This value is the branch's share of the backend's MonthlyBackendCapacityUnitHours and is counted the same way. The value is 0 when the database used none this month, resets to 0 at 00:00 UTC on the first day of each month, and lags actual use by about one hour. It is absent when the value can't be read.
- Returns:
- The backend capacity unit hours (BCU-hours) that the branch's database used in the current calendar month (UTC). This value is the branch's share of the backend's MonthlyBackendCapacityUnitHours and is counted the same way. The value is 0 when the database used none this month, resets to 0 at 00:00 UTC on the first day of each month, and lags actual use by about one hour. It is absent when the value can't be read.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<BranchDatabaseUsage.Builder,BranchDatabaseUsage> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin 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
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-