Interface ListCapacityReservationsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListCapacityReservationsResponse.Builder,,ListCapacityReservationsResponse> SageMakerResponse.Builder,SdkBuilder<ListCapacityReservationsResponse.Builder,,ListCapacityReservationsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListCapacityReservationsResponse
@Mutable
@NotThreadSafe
public static interface ListCapacityReservationsResponse.Builder
extends SageMakerResponse.Builder, SdkPojo, CopyableBuilder<ListCapacityReservationsResponse.Builder,ListCapacityReservationsResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncapacityReservationSummaries(Collection<CapacityReservationSummary> capacityReservationSummaries) Summaries of the SageMaker Capacity Reservations in your account.capacityReservationSummaries(Consumer<CapacityReservationSummary.Builder>... capacityReservationSummaries) Summaries of the SageMaker Capacity Reservations in your account.capacityReservationSummaries(CapacityReservationSummary... capacityReservationSummaries) Summaries of the SageMaker Capacity Reservations in your account.If the response is truncated, SageMaker AI returns this token.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.sagemaker.model.SageMakerResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
capacityReservationSummaries
ListCapacityReservationsResponse.Builder capacityReservationSummaries(Collection<CapacityReservationSummary> capacityReservationSummaries) Summaries of the SageMaker Capacity Reservations in your account.
- Parameters:
capacityReservationSummaries- Summaries of the SageMaker Capacity Reservations in your account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capacityReservationSummaries
ListCapacityReservationsResponse.Builder capacityReservationSummaries(CapacityReservationSummary... capacityReservationSummaries) Summaries of the SageMaker Capacity Reservations in your account.
- Parameters:
capacityReservationSummaries- Summaries of the SageMaker Capacity Reservations in your account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capacityReservationSummaries
ListCapacityReservationsResponse.Builder capacityReservationSummaries(Consumer<CapacityReservationSummary.Builder>... capacityReservationSummaries) Summaries of the SageMaker Capacity Reservations in your account.
This is a convenience method that creates an instance of theCapacityReservationSummary.Builderavoiding the need to create one manually viaCapacityReservationSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocapacityReservationSummaries(List<CapacityReservationSummary>).- Parameters:
capacityReservationSummaries- a consumer that will call methods onCapacityReservationSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
If the response is truncated, SageMaker AI returns this token. To retrieve the next set of results, use this token in your next request.
- Parameters:
nextToken- If the response is truncated, SageMaker AI returns this token. To retrieve the next set of results, use this token in your next request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-