Interface BackendDatabaseUsage.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<BackendDatabaseUsage.Builder,,BackendDatabaseUsage> SdkBuilder<BackendDatabaseUsage.Builder,,BackendDatabaseUsage> SdkPojo
- Enclosing class:
BackendDatabaseUsage
@Mutable
@NotThreadSafe
public static interface BackendDatabaseUsage.Builder
extends SdkPojo, CopyableBuilder<BackendDatabaseUsage.Builder,BackendDatabaseUsage>
-
Method Summary
Modifier and TypeMethodDescriptionlastUsedAt(Instant lastUsedAt) The time at which any of the backend's databases was last 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 backend's databases used in the current calendar month (UTC), across all branches.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
-
lastUsedAt
The time at which any of the backend's databases was last used, either by a new connection or by load on an existing connection. An open idle connection doesn't count as use. The value lags by a few minutes and is in ISO-8601 format. Absent when it isn't reported.
- Parameters:
lastUsedAt- The time at which any of the backend's databases was last used, either by a new connection or by load on an existing connection. An open idle connection doesn't count as use. The value lags by a few minutes and is in ISO-8601 format. Absent when it isn't reported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
monthlyBackendCapacityUnitHours
BackendDatabaseUsage.Builder monthlyBackendCapacityUnitHours(Double monthlyBackendCapacityUnitHours) The backend capacity unit hours (BCU-hours) that the backend's databases used in the current calendar month (UTC), across all branches. The value is 0 when the databases 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. Only the Basic plan has a per-backend allowance that this value is compared with.
- Parameters:
monthlyBackendCapacityUnitHours- The backend capacity unit hours (BCU-hours) that the backend's databases used in the current calendar month (UTC), across all branches. The value is 0 when the databases 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. Only the Basic plan has a per-backend allowance that this value is compared with.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-