Interface GetCapacityReservationUsageRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<GetCapacityReservationUsageRequest.Builder,,GetCapacityReservationUsageRequest> SageMakerRequest.Builder,SdkBuilder<GetCapacityReservationUsageRequest.Builder,,GetCapacityReservationUsageRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
GetCapacityReservationUsageRequest
@Mutable
@NotThreadSafe
public static interface GetCapacityReservationUsageRequest.Builder
extends SageMakerRequest.Builder, SdkPojo, CopyableBuilder<GetCapacityReservationUsageRequest.Builder,GetCapacityReservationUsageRequest>
-
Method Summary
Modifier and TypeMethodDescriptionmaxResults(Integer maxResults) The maximum number of results to return in the response.If the previous response was truncated, the response includes aNextTokenvalue.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.smCapacityReservationArn(String smCapacityReservationArn) The Amazon Resource Name (ARN) of the SageMaker Capacity Reservation.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.sagemaker.model.SageMakerRequest.Builder
buildMethods 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
GetCapacityReservationUsageRequest.Builder smCapacityReservationArn(String smCapacityReservationArn) The Amazon Resource Name (ARN) of the SageMaker Capacity Reservation. The ARN has the format
arn:aws:sagemaker:region:account-id:sm-capacity-reservation/smcr-id.- Parameters:
smCapacityReservationArn- The Amazon Resource Name (ARN) of the SageMaker Capacity Reservation. The ARN has the formatarn:aws:sagemaker:region:account-id:sm-capacity-reservation/smcr-id.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
The maximum number of results to return in the response. If more results are available, the response includes a
NextTokenvalue.- Parameters:
maxResults- The maximum number of results to return in the response. If more results are available, the response includes aNextTokenvalue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
If the previous response was truncated, the response includes a
NextTokenvalue. To retrieve the next set of results, use that token in your next request.- Parameters:
nextToken- If the previous response was truncated, the response includes aNextTokenvalue. To retrieve the next set of results, use that token in your next request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
GetCapacityReservationUsageRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
GetCapacityReservationUsageRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-