Interface BranchDatabaseUsage.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<BranchDatabaseUsage.Builder,,BranchDatabaseUsage> SdkBuilder<BranchDatabaseUsage.Builder,,BranchDatabaseUsage> SdkPojo
- Enclosing class:
BranchDatabaseUsage
-
Method Summary
Modifier and TypeMethodDescriptionconnections(Integer connections) The number of sessions, including idle sessions, that were connected to the database at the time of SampledAt.lastUsedAt(Instant 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.monthlyBackendCapacityUnitHours(Double monthlyBackendCapacityUnitHours) The backend capacity unit hours (BCU-hours) that the branch's database used in the current calendar month (UTC).The end of the most recent sampling window in which one of these values changed.storageBytes(Long storageBytes) The size of the database, in bytes.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
storageBytes
The size of the database, in bytes. The database's storage limit applies to this size.
- Parameters:
storageBytes- The size of the database, in bytes. The database's storage limit applies to this size.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connections
The number of sessions, including idle sessions, that were connected to the database at the time of SampledAt.
- Parameters:
connections- The number of sessions, including idle sessions, that were connected to the database at the time of SampledAt.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-