Interface CapacityReservationSummary.Builder

  • Method Details

    • smCapacityReservationArn

      CapacityReservationSummary.Builder smCapacityReservationArn(String smCapacityReservationArn)

      The Amazon Resource Name (ARN) of the SageMaker Capacity Reservation.

      Parameters:
      smCapacityReservationArn - The Amazon Resource Name (ARN) of the SageMaker Capacity Reservation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • smCapacityReservationId

      CapacityReservationSummary.Builder smCapacityReservationId(String smCapacityReservationId)

      The ID of the SageMaker Capacity Reservation. The ID is the last part of the ARN and starts with smcr-.

      Parameters:
      smCapacityReservationId - The ID of the SageMaker Capacity Reservation. The ID is the last part of the ARN and starts with smcr-.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • owner

      The ID of the Amazon Web Services account that owns the SageMaker Capacity Reservation.

      Parameters:
      owner - The ID of the Amazon Web Services account that owns the SageMaker Capacity Reservation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      The status of the SageMaker Capacity Reservation. SageMaker AI sets the status from the start and end times of the reservation. Valid values:

      Scheduled

      The current time is before StartTime.

      Active

      The current time is between StartTime and EndTime. You can use the reserved instances.

      Expired

      The current time is at or after EndTime.

      Parameters:
      status - The status of the SageMaker Capacity Reservation. SageMaker AI sets the status from the start and end times of the reservation. Valid values:

      Scheduled

      The current time is before StartTime.

      Active

      The current time is between StartTime and EndTime. You can use the reserved instances.

      Expired

      The current time is at or after EndTime.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The status of the SageMaker Capacity Reservation. SageMaker AI sets the status from the start and end times of the reservation. Valid values:

      Scheduled

      The current time is before StartTime.

      Active

      The current time is between StartTime and EndTime. You can use the reserved instances.

      Expired

      The current time is at or after EndTime.

      Parameters:
      status - The status of the SageMaker Capacity Reservation. SageMaker AI sets the status from the start and end times of the reservation. Valid values:

      Scheduled

      The current time is before StartTime.

      Active

      The current time is between StartTime and EndTime. You can use the reserved instances.

      Expired

      The current time is at or after EndTime.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • instanceType

      CapacityReservationSummary.Builder instanceType(String instanceType)

      The SageMaker AI instance type of the reserved instances, for example ml.p5.48xlarge.

      Parameters:
      instanceType - The SageMaker AI instance type of the reserved instances, for example ml.p5.48xlarge.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • availabilityZone

      CapacityReservationSummary.Builder availabilityZone(String availabilityZone)

      The name of the Availability Zone of the reserved instances, for example us-east-1a. Availability Zone names can map to different physical zones in different accounts. To identify the same zone across accounts, use AvailabilityZoneId.

      Parameters:
      availabilityZone - The name of the Availability Zone of the reserved instances, for example us-east-1a. Availability Zone names can map to different physical zones in different accounts. To identify the same zone across accounts, use AvailabilityZoneId.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • availabilityZoneId

      CapacityReservationSummary.Builder availabilityZoneId(String availabilityZoneId)

      The ID of the Availability Zone of the reserved instances, for example use1-az1. An Availability Zone ID identifies the same physical zone in every account.

      Parameters:
      availabilityZoneId - The ID of the Availability Zone of the reserved instances, for example use1-az1. An Availability Zone ID identifies the same physical zone in every account.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • totalInstanceCount

      CapacityReservationSummary.Builder totalInstanceCount(Integer totalInstanceCount)

      The number of instances in the SageMaker Capacity Reservation.

      Parameters:
      totalInstanceCount - The number of instances in the SageMaker Capacity Reservation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • startTime

      The time when the reserved instances become available.

      Parameters:
      startTime - The time when the reserved instances become available.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • endTime

      The time when the SageMaker Capacity Reservation ends. This value is not returned if the reservation has no end time.

      Parameters:
      endTime - The time when the SageMaker Capacity Reservation ends. This value is not returned if the reservation has no end time.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • creationTime

      CapacityReservationSummary.Builder creationTime(Instant creationTime)

      The time when the SageMaker Capacity Reservation was created.

      Parameters:
      creationTime - The time when the SageMaker Capacity Reservation was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.