Interface CapacityReservationEndpointsAssociation.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CapacityReservationEndpointsAssociation.Builder,,CapacityReservationEndpointsAssociation> SdkBuilder<CapacityReservationEndpointsAssociation.Builder,,CapacityReservationEndpointsAssociation> SdkPojo
- Enclosing class:
CapacityReservationEndpointsAssociation
-
Method Summary
Modifier and TypeMethodDescriptionassociatedTime(Instant associatedTime) The time when SageMaker AI started the current association.endpointSharing(String endpointSharing) Whether one endpoint or multiple endpoints can use the ML capacity reservation.endpointSharing(CapacityReservationEndpointSharing endpointSharing) Whether one endpoint or multiple endpoints can use the ML capacity reservation.failureReason(String failureReason) The reason that the most recent attempt to add or remove the association failed.matchCriteria(String matchCriteria) How endpoints in your account match the ML capacity reservation.matchCriteria(CapacityReservationMatchCriteria matchCriteria) How endpoints in your account match the ML capacity reservation.mlReservationArn(String mlReservationArn) The Amazon Resource Name (ARN) of the ML capacity reservation.mlReservationId(String mlReservationId) The name of the ML capacity reservation.The status of the association.status(CapacityReservationOptInStatus status) The status of the association.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
-
mlReservationId
The name of the ML capacity reservation. The name is the last part of the ML capacity reservation ARN.
- Parameters:
mlReservationId- The name of the ML capacity reservation. The name is the last part of the ML capacity reservation ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of the association. Valid values:
- Pending
-
SageMaker AI is adding or removing the association.
- Active
-
The resources are associated with the SageMaker Capacity Reservation and can use its instances.
- Inactive
-
The resources are not associated with the SageMaker Capacity Reservation.
- Parameters:
status- The status of the association. Valid values:- Pending
-
SageMaker AI is adding or removing the association.
- Active
-
The resources are associated with the SageMaker Capacity Reservation and can use its instances.
- Inactive
-
The resources are not associated with the SageMaker Capacity Reservation.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the association. Valid values:
- Pending
-
SageMaker AI is adding or removing the association.
- Active
-
The resources are associated with the SageMaker Capacity Reservation and can use its instances.
- Inactive
-
The resources are not associated with the SageMaker Capacity Reservation.
- Parameters:
status- The status of the association. Valid values:- Pending
-
SageMaker AI is adding or removing the association.
- Active
-
The resources are associated with the SageMaker Capacity Reservation and can use its instances.
- Inactive
-
The resources are not associated with the SageMaker Capacity Reservation.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
matchCriteria
How endpoints in your account match the ML capacity reservation. Valid values:
- Open
-
Endpoints in your account use the ML capacity reservation automatically when their instance type matches. You don't specify the ML capacity reservation ARN when you create the endpoint.
- Targeted
-
An endpoint uses the ML capacity reservation only when you specify its ARN when you create or update the endpoint.
- Parameters:
matchCriteria- How endpoints in your account match the ML capacity reservation. Valid values:- Open
-
Endpoints in your account use the ML capacity reservation automatically when their instance type matches. You don't specify the ML capacity reservation ARN when you create the endpoint.
- Targeted
-
An endpoint uses the ML capacity reservation only when you specify its ARN when you create or update the endpoint.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
matchCriteria
CapacityReservationEndpointsAssociation.Builder matchCriteria(CapacityReservationMatchCriteria matchCriteria) How endpoints in your account match the ML capacity reservation. Valid values:
- Open
-
Endpoints in your account use the ML capacity reservation automatically when their instance type matches. You don't specify the ML capacity reservation ARN when you create the endpoint.
- Targeted
-
An endpoint uses the ML capacity reservation only when you specify its ARN when you create or update the endpoint.
- Parameters:
matchCriteria- How endpoints in your account match the ML capacity reservation. Valid values:- Open
-
Endpoints in your account use the ML capacity reservation automatically when their instance type matches. You don't specify the ML capacity reservation ARN when you create the endpoint.
- Targeted
-
An endpoint uses the ML capacity reservation only when you specify its ARN when you create or update the endpoint.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
endpointSharing
Whether one endpoint or multiple endpoints can use the ML capacity reservation. Valid values:
- SingleEndpoint
-
Only one endpoint can use the ML capacity reservation.
- MultipleEndpoints
-
Multiple endpoints can use the ML capacity reservation.
- Parameters:
endpointSharing- Whether one endpoint or multiple endpoints can use the ML capacity reservation. Valid values:- SingleEndpoint
-
Only one endpoint can use the ML capacity reservation.
- MultipleEndpoints
-
Multiple endpoints can use the ML capacity reservation.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
endpointSharing
CapacityReservationEndpointsAssociation.Builder endpointSharing(CapacityReservationEndpointSharing endpointSharing) Whether one endpoint or multiple endpoints can use the ML capacity reservation. Valid values:
- SingleEndpoint
-
Only one endpoint can use the ML capacity reservation.
- MultipleEndpoints
-
Multiple endpoints can use the ML capacity reservation.
- Parameters:
endpointSharing- Whether one endpoint or multiple endpoints can use the ML capacity reservation. Valid values:- SingleEndpoint
-
Only one endpoint can use the ML capacity reservation.
- MultipleEndpoints
-
Multiple endpoints can use the ML capacity reservation.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
mlReservationArn
The Amazon Resource Name (ARN) of the ML capacity reservation. Specify this ARN in
CreateEndpointConfigto use the reserved instances for an endpoint. For a new ML capacity reservation, this value is returned when the status isActive.- Parameters:
mlReservationArn- The Amazon Resource Name (ARN) of the ML capacity reservation. Specify this ARN inCreateEndpointConfigto use the reserved instances for an endpoint. For a new ML capacity reservation, this value is returned when the status isActive.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failureReason
The reason that the most recent attempt to add or remove the association failed. This value is returned only when the most recent attempt failed. After a failure to add the association, the status is
Inactive. After a failure to remove the association, the status isActive.- Parameters:
failureReason- The reason that the most recent attempt to add or remove the association failed. This value is returned only when the most recent attempt failed. After a failure to add the association, the status isInactive. After a failure to remove the association, the status isActive.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associatedTime
The time when SageMaker AI started the current association. This time resets when you add the association again after it was removed or after it failed.
- Parameters:
associatedTime- The time when SageMaker AI started the current association. This time resets when you add the association again after it was removed or after it failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-