Interface CapacityManagerDimension.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<CapacityManagerDimension.Builder,CapacityManagerDimension>,SdkBuilder<CapacityManagerDimension.Builder,CapacityManagerDimension>,SdkPojo
- Enclosing class:
- CapacityManagerDimension
@Mutable @NotThreadSafe public static interface CapacityManagerDimension.Builder extends SdkPojo, CopyableBuilder<CapacityManagerDimension.Builder,CapacityManagerDimension>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CapacityManagerDimension.BuilderaccountId(String accountId)The Amazon Web Services account ID that owns the capacity resource.CapacityManagerDimension.BuilderavailabilityZoneId(String availabilityZoneId)The unique identifier of the Availability Zone where the capacity resource is located.CapacityManagerDimension.BuilderinstanceFamily(String instanceFamily)The EC2 instance family of the capacity resource.CapacityManagerDimension.BuilderinstancePlatform(String instancePlatform)The platform or operating system of the instance.CapacityManagerDimension.BuilderinstanceType(String instanceType)The specific EC2 instance type of the capacity resource.CapacityManagerDimension.BuilderreservationArn(String reservationArn)The Amazon Resource Name (ARN) of the capacity reservation.CapacityManagerDimension.BuilderreservationCreateTimestamp(Instant reservationCreateTimestamp)The timestamp when the capacity reservation was originally created, in milliseconds since epoch.CapacityManagerDimension.BuilderreservationEndDateType(String reservationEndDateType)The type of end date for the capacity reservation.CapacityManagerDimension.BuilderreservationEndDateType(ReservationEndDateType reservationEndDateType)The type of end date for the capacity reservation.CapacityManagerDimension.BuilderreservationEndTimestamp(Instant reservationEndTimestamp)The timestamp when the capacity reservation expires and is no longer available, in milliseconds since epoch.CapacityManagerDimension.BuilderreservationId(String reservationId)The unique identifier of the capacity reservation.CapacityManagerDimension.BuilderreservationInstanceMatchCriteria(String reservationInstanceMatchCriteria)The instance matching criteria for the capacity reservation, determining how instances are matched to the reservation.CapacityManagerDimension.BuilderreservationStartTimestamp(Instant reservationStartTimestamp)The timestamp when the capacity reservation becomes active and available for use, in milliseconds since epoch.CapacityManagerDimension.BuilderreservationState(String reservationState)The current state of the capacity reservation.CapacityManagerDimension.BuilderreservationState(ReservationState reservationState)The current state of the capacity reservation.CapacityManagerDimension.BuilderreservationType(String reservationType)The type of capacity reservation.CapacityManagerDimension.BuilderreservationType(ReservationType reservationType)The type of capacity reservation.CapacityManagerDimension.BuilderreservationUnusedFinancialOwner(String reservationUnusedFinancialOwner)The Amazon Web Services account ID that is financially responsible for unused capacity reservation costs.CapacityManagerDimension.BuilderresourceRegion(String resourceRegion)The Amazon Web Services Region where the capacity resource is located.CapacityManagerDimension.Buildertenancy(String tenancy)The tenancy of the EC2 instances associated with this capacity dimension.CapacityManagerDimension.Buildertenancy(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 Detail
-
resourceRegion
CapacityManagerDimension.Builder resourceRegion(String 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
CapacityManagerDimension.Builder availabilityZoneId(String 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
CapacityManagerDimension.Builder accountId(String 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
CapacityManagerDimension.Builder instanceFamily(String 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
CapacityManagerDimension.Builder instanceType(String 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
CapacityManagerDimension.Builder instancePlatform(String 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
CapacityManagerDimension.Builder reservationArn(String 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
CapacityManagerDimension.Builder reservationId(String 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
CapacityManagerDimension.Builder reservationType(String 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,ReservationType
-
reservationType
CapacityManagerDimension.Builder reservationType(ReservationType 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,ReservationType
-
reservationCreateTimestamp
CapacityManagerDimension.Builder reservationCreateTimestamp(Instant 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
CapacityManagerDimension.Builder reservationStartTimestamp(Instant 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
CapacityManagerDimension.Builder reservationEndTimestamp(Instant 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
CapacityManagerDimension.Builder reservationEndDateType(String 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,ReservationEndDateType
-
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:
ReservationEndDateType,ReservationEndDateType
-
tenancy
CapacityManagerDimension.Builder tenancy(String 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:
CapacityTenancy,CapacityTenancy
-
tenancy
CapacityManagerDimension.Builder tenancy(CapacityTenancy 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:
CapacityTenancy,CapacityTenancy
-
reservationState
CapacityManagerDimension.Builder reservationState(String 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,ReservationState
-
reservationState
CapacityManagerDimension.Builder reservationState(ReservationState 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,ReservationState
-
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.
-
-