Interface CapacityReservationResourceAssociation.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CapacityReservationResourceAssociation.Builder,,CapacityReservationResourceAssociation> SdkBuilder<CapacityReservationResourceAssociation.Builder,,CapacityReservationResourceAssociation> SdkPojo
- Enclosing class:
CapacityReservationResourceAssociation
-
Method Summary
Modifier and TypeMethodDescriptionThe association between the SageMaker AI endpoints in your account and the SageMaker Capacity Reservation, through one ML capacity reservation.endpoints(CapacityReservationEndpointsAssociation endpoints) The association between the SageMaker AI endpoints in your account and the SageMaker Capacity Reservation, through one ML capacity reservation.hyperPodClusters(Consumer<CapacityReservationHyperPodClustersAssociation.Builder> hyperPodClusters) The association between the SageMaker AI HyperPod clusters in your account and the SageMaker Capacity Reservation.hyperPodClusters(CapacityReservationHyperPodClustersAssociation hyperPodClusters) The association between the SageMaker AI HyperPod clusters in your account and 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
-
hyperPodClusters
CapacityReservationResourceAssociation.Builder hyperPodClusters(CapacityReservationHyperPodClustersAssociation hyperPodClusters) The association between the SageMaker AI HyperPod clusters in your account and the SageMaker Capacity Reservation. The association applies to all HyperPod clusters in your account.
- Parameters:
hyperPodClusters- The association between the SageMaker AI HyperPod clusters in your account and the SageMaker Capacity Reservation. The association applies to all HyperPod clusters in your account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hyperPodClusters
default CapacityReservationResourceAssociation.Builder hyperPodClusters(Consumer<CapacityReservationHyperPodClustersAssociation.Builder> hyperPodClusters) The association between the SageMaker AI HyperPod clusters in your account and the SageMaker Capacity Reservation. The association applies to all HyperPod clusters in your account.
This is a convenience method that creates an instance of theCapacityReservationHyperPodClustersAssociation.Builderavoiding the need to create one manually viaCapacityReservationHyperPodClustersAssociation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tohyperPodClusters(CapacityReservationHyperPodClustersAssociation).- Parameters:
hyperPodClusters- a consumer that will call methods onCapacityReservationHyperPodClustersAssociation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
endpoints
CapacityReservationResourceAssociation.Builder endpoints(CapacityReservationEndpointsAssociation endpoints) The association between the SageMaker AI endpoints in your account and the SageMaker Capacity Reservation, through one ML capacity reservation. The response includes one item for each ML capacity reservation.
- Parameters:
endpoints- The association between the SageMaker AI endpoints in your account and the SageMaker Capacity Reservation, through one ML capacity reservation. The response includes one item for each ML capacity reservation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpoints
default CapacityReservationResourceAssociation.Builder endpoints(Consumer<CapacityReservationEndpointsAssociation.Builder> endpoints) The association between the SageMaker AI endpoints in your account and the SageMaker Capacity Reservation, through one ML capacity reservation. The response includes one item for each ML capacity reservation.
This is a convenience method that creates an instance of theCapacityReservationEndpointsAssociation.Builderavoiding the need to create one manually viaCapacityReservationEndpointsAssociation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toendpoints(CapacityReservationEndpointsAssociation).- Parameters:
endpoints- a consumer that will call methods onCapacityReservationEndpointsAssociation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-