Class CapacityManagerDimension
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<CapacityManagerDimension.Builder,CapacityManagerDimension>
Represents dimension values for capacity metrics, including resource identifiers, geographic information, and reservation details used for grouping and filtering capacity data.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal StringThe Amazon Web Services account ID that owns the capacity resource.final StringThe unique identifier of the Availability Zone where the capacity resource is located.builder()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 StringThe EC2 instance family of the capacity resource.final StringThe platform or operating system of the instance.final StringThe specific EC2 instance type of the capacity resource.final StringThe Amazon Resource Name (ARN) of the capacity reservation.final InstantThe timestamp when the capacity reservation was originally created, in milliseconds since epoch.final ReservationEndDateTypeThe type of end date for the capacity reservation.final StringThe type of end date for the capacity reservation.final InstantThe timestamp when the capacity reservation expires and is no longer available, in milliseconds since epoch.final StringThe unique identifier of the capacity reservation.final StringThe instance matching criteria for the capacity reservation, determining how instances are matched to the reservation.final InstantThe timestamp when the capacity reservation becomes active and available for use, in milliseconds since epoch.final ReservationStateThe current state of the capacity reservation.final StringThe current state of the capacity reservation.final ReservationTypeThe type of capacity reservation.final StringThe type of capacity reservation.final StringThe Amazon Web Services account ID that is financially responsible for unused capacity reservation costs.final StringThe Amazon Web Services Region where the capacity resource is located.static Class<? extends CapacityManagerDimension.Builder> final CapacityTenancytenancy()The tenancy of the EC2 instances associated with this capacity dimension.final StringThe tenancy of the EC2 instances associated with this capacity dimension.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
-
resourceRegion
The Amazon Web Services Region where the capacity resource is located.
- Returns:
- The Amazon Web Services Region where the capacity resource is located.
-
availabilityZoneId
The unique identifier of the Availability Zone where the capacity resource is located.
- Returns:
- The unique identifier of the Availability Zone where the capacity resource is located.
-
accountId
The Amazon Web Services account ID that owns the capacity resource.
- Returns:
- The Amazon Web Services account ID that owns the capacity resource.
-
instanceFamily
The EC2 instance family of the capacity resource.
- Returns:
- The EC2 instance family of the capacity resource.
-
instanceType
The specific EC2 instance type of the capacity resource.
- Returns:
- The specific EC2 instance type of the capacity resource.
-
instancePlatform
The platform or operating system of the instance.
- Returns:
- The platform or operating system of the instance.
-
reservationArn
The Amazon Resource Name (ARN) of the capacity reservation. This provides a unique identifier that can be used across Amazon Web Services services to reference the specific reservation.
- Returns:
- The Amazon Resource Name (ARN) of the capacity reservation. This provides a unique identifier that can be used across Amazon Web Services services to reference the specific reservation.
-
reservationId
The unique identifier of the capacity reservation.
- Returns:
- The unique identifier of the capacity reservation.
-
reservationType
The type of capacity reservation.
If the service returns an enum value that is not available in the current SDK version,
reservationTypewill returnReservationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromreservationTypeAsString().- Returns:
- The type of capacity reservation.
- See Also:
-
reservationTypeAsString
The type of capacity reservation.
If the service returns an enum value that is not available in the current SDK version,
reservationTypewill returnReservationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromreservationTypeAsString().- Returns:
- The type of capacity reservation.
- See Also:
-
reservationCreateTimestamp
The timestamp when the capacity reservation was originally created, in milliseconds since epoch. This differs from the start timestamp as reservations can be created before they become active.
- Returns:
- The timestamp when the capacity reservation was originally created, in milliseconds since epoch. This differs from the start timestamp as reservations can be created before they become active.
-
reservationStartTimestamp
The timestamp when the capacity reservation becomes active and available for use, in milliseconds since epoch. This is when the reservation begins providing capacity.
- Returns:
- The timestamp when the capacity reservation becomes active and available for use, in milliseconds since epoch. This is when the reservation begins providing capacity.
-
reservationEndTimestamp
The timestamp when the capacity reservation expires and is no longer available, in milliseconds since epoch. After this time, the reservation will not provide any capacity.
- Returns:
- The timestamp when the capacity reservation expires and is no longer available, in milliseconds since epoch. After this time, the reservation will not provide any capacity.
-
reservationEndDateType
The type of end date for the capacity reservation. This indicates whether the reservation has a fixed end date, is open-ended, or follows a specific termination pattern.
If the service returns an enum value that is not available in the current SDK version,
reservationEndDateTypewill returnReservationEndDateType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromreservationEndDateTypeAsString().- Returns:
- The type of end date for the capacity reservation. This indicates whether the reservation has a fixed end date, is open-ended, or follows a specific termination pattern.
- See Also:
-
reservationEndDateTypeAsString
The type of end date for the capacity reservation. This indicates whether the reservation has a fixed end date, is open-ended, or follows a specific termination pattern.
If the service returns an enum value that is not available in the current SDK version,
reservationEndDateTypewill returnReservationEndDateType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromreservationEndDateTypeAsString().- Returns:
- The type of end date for the capacity reservation. This indicates whether the reservation has a fixed end date, is open-ended, or follows a specific termination pattern.
- See Also:
-
tenancy
The tenancy of the EC2 instances associated with this capacity dimension. Valid values are 'default' for shared tenancy, 'dedicated' for dedicated instances, or 'host' for dedicated hosts.
If the service returns an enum value that is not available in the current SDK version,
tenancywill returnCapacityTenancy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtenancyAsString().- Returns:
- The tenancy of the EC2 instances associated with this capacity dimension. Valid values are 'default' for shared tenancy, 'dedicated' for dedicated instances, or 'host' for dedicated hosts.
- See Also:
-
tenancyAsString
The tenancy of the EC2 instances associated with this capacity dimension. Valid values are 'default' for shared tenancy, 'dedicated' for dedicated instances, or 'host' for dedicated hosts.
If the service returns an enum value that is not available in the current SDK version,
tenancywill returnCapacityTenancy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtenancyAsString().- Returns:
- The tenancy of the EC2 instances associated with this capacity dimension. Valid values are 'default' for shared tenancy, 'dedicated' for dedicated instances, or 'host' for dedicated hosts.
- See Also:
-
reservationState
The current state of the capacity reservation.
If the service returns an enum value that is not available in the current SDK version,
reservationStatewill returnReservationState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromreservationStateAsString().- Returns:
- The current state of the capacity reservation.
- See Also:
-
reservationStateAsString
The current state of the capacity reservation.
If the service returns an enum value that is not available in the current SDK version,
reservationStatewill returnReservationState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromreservationStateAsString().- Returns:
- The current state of the capacity reservation.
- See Also:
-
reservationInstanceMatchCriteria
The instance matching criteria for the capacity reservation, determining how instances are matched to the reservation.
- Returns:
- The instance matching criteria for the capacity reservation, determining how instances are matched to the reservation.
-
reservationUnusedFinancialOwner
The Amazon Web Services account ID that is financially responsible for unused capacity reservation costs.
- Returns:
- The Amazon Web Services account ID that is financially responsible for unused capacity reservation costs.
-
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<CapacityManagerDimension.Builder,CapacityManagerDimension> - 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.
-