Interface CapacityManagerDimension.Builder

  • Method Details

    • 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

      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

      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:
    • 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

      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

      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

      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:
    • 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.