Interface CapacityReservationSummary.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CapacityReservationSummary.Builder,,CapacityReservationSummary> SdkBuilder<CapacityReservationSummary.Builder,,CapacityReservationSummary> SdkPojo
- Enclosing class:
CapacityReservationSummary
-
Method Summary
Modifier and TypeMethodDescriptionavailabilityZone(String availabilityZone) The name of the Availability Zone of the reserved instances, for exampleus-east-1a.availabilityZoneId(String availabilityZoneId) The ID of the Availability Zone of the reserved instances, for exampleuse1-az1.creationTime(Instant creationTime) The time when the SageMaker Capacity Reservation was created.The time when the SageMaker Capacity Reservation ends.instanceType(String instanceType) The SageMaker AI instance type of the reserved instances, for exampleml.p5.48xlarge.The ID of the Amazon Web Services account that owns the SageMaker Capacity Reservation.smCapacityReservationArn(String smCapacityReservationArn) The Amazon Resource Name (ARN) of the SageMaker Capacity Reservation.smCapacityReservationId(String smCapacityReservationId) The ID of the SageMaker Capacity Reservation.The time when the reserved instances become available.The status of the SageMaker Capacity Reservation.status(CapacityReservationStatus status) The status of the SageMaker Capacity Reservation.totalInstanceCount(Integer totalInstanceCount) The number of instances in the SageMaker Capacity Reservation.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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 withsmcr-.- 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
StartTimeandEndTime. 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
StartTimeandEndTime. 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
StartTimeandEndTime. 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
StartTimeandEndTime. 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
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 exampleml.p5.48xlarge.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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, useAvailabilityZoneId.- Parameters:
availabilityZone- The name of the Availability Zone of the reserved instances, for exampleus-east-1a. Availability Zone names can map to different physical zones in different accounts. To identify the same zone across accounts, useAvailabilityZoneId.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 exampleuse1-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
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
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.
-