Interface CapacityManagerDimension.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<CapacityManagerDimension.Builder,
,CapacityManagerDimension> SdkBuilder<CapacityManagerDimension.Builder,
,CapacityManagerDimension> SdkPojo
- Enclosing class:
CapacityManagerDimension
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Web Services account ID that owns the capacity resource.availabilityZoneId
(String availabilityZoneId) The unique identifier of the Availability Zone where the capacity resource is located.instanceFamily
(String instanceFamily) The EC2 instance family of the capacity resource.instancePlatform
(String instancePlatform) The platform or operating system of the instance.instanceType
(String instanceType) The specific EC2 instance type of the capacity resource.reservationArn
(String reservationArn) The Amazon Resource Name (ARN) of the capacity reservation.reservationCreateTimestamp
(Instant reservationCreateTimestamp) The timestamp when the capacity reservation was originally created, in milliseconds since epoch.reservationEndDateType
(String reservationEndDateType) The type of end date for the capacity reservation.reservationEndDateType
(ReservationEndDateType reservationEndDateType) The type of end date for the capacity reservation.reservationEndTimestamp
(Instant reservationEndTimestamp) The timestamp when the capacity reservation expires and is no longer available, in milliseconds since epoch.reservationId
(String reservationId) The unique identifier of the capacity reservation.reservationInstanceMatchCriteria
(String reservationInstanceMatchCriteria) The instance matching criteria for the capacity reservation, determining how instances are matched to the reservation.reservationStartTimestamp
(Instant reservationStartTimestamp) The timestamp when the capacity reservation becomes active and available for use, in milliseconds since epoch.reservationState
(String reservationState) The current state of the capacity reservation.reservationState
(ReservationState reservationState) The current state of the capacity reservation.reservationType
(String reservationType) The type of capacity reservation.reservationType
(ReservationType reservationType) The type of capacity reservation.reservationUnusedFinancialOwner
(String reservationUnusedFinancialOwner) The Amazon Web Services account ID that is financially responsible for unused capacity reservation costs.resourceRegion
(String resourceRegion) The Amazon Web Services Region where the capacity resource is located.The tenancy of the EC2 instances associated with this capacity dimension.tenancy
(CapacityTenancy tenancy) The tenancy of the EC2 instances associated with this capacity dimension.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
resourceRegion
The Amazon Web Services Region where the capacity resource is located.
- Parameters:
resourceRegion
- The Amazon Web Services Region where the capacity resource is located.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
availabilityZoneId
The unique identifier of the Availability Zone where the capacity resource is located.
- Parameters:
availabilityZoneId
- The unique identifier of the Availability Zone where the capacity resource is located.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accountId
The Amazon Web Services account ID that owns the capacity resource.
- Parameters:
accountId
- The Amazon Web Services account ID that owns the capacity resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceFamily
The EC2 instance family of the capacity resource.
- Parameters:
instanceFamily
- The EC2 instance family of the capacity resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceType
The specific EC2 instance type of the capacity resource.
- Parameters:
instanceType
- The specific EC2 instance type of the capacity resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instancePlatform
The platform or operating system of the instance.
- Parameters:
instancePlatform
- The platform or operating system of the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
reservationId
The unique identifier of the capacity reservation.
- Parameters:
reservationId
- The unique identifier of the capacity reservation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reservationType
The type of capacity reservation.
- Parameters:
reservationType
- The type of capacity reservation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
reservationType
The type of capacity reservation.
- Parameters:
reservationType
- The type of capacity reservation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- 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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
reservationEndDateType
CapacityManagerDimension.Builder reservationEndDateType(ReservationEndDateType 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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- 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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- 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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
reservationState
The current state of the capacity reservation.
- Parameters:
reservationState
- The current state of the capacity reservation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
reservationState
The current state of the capacity reservation.
- Parameters:
reservationState
- The current state of the capacity reservation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
reservationInstanceMatchCriteria
CapacityManagerDimension.Builder reservationInstanceMatchCriteria(String reservationInstanceMatchCriteria) The instance matching criteria for the capacity reservation, determining how instances are matched to the reservation.
- Parameters:
reservationInstanceMatchCriteria
- The instance matching criteria for the capacity reservation, determining how instances are matched to the reservation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reservationUnusedFinancialOwner
CapacityManagerDimension.Builder reservationUnusedFinancialOwner(String reservationUnusedFinancialOwner) The Amazon Web Services account ID that is financially responsible for unused capacity reservation costs.
- Parameters:
reservationUnusedFinancialOwner
- The Amazon Web Services account ID that is financially responsible for unused capacity reservation costs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-