Interface CreateReservationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateReservationRequest.Builder,
,CreateReservationRequest> RedshiftServerlessRequest.Builder
,SdkBuilder<CreateReservationRequest.Builder,
,CreateReservationRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateReservationRequest
@Mutable
@NotThreadSafe
public static interface CreateReservationRequest.Builder
extends RedshiftServerlessRequest.Builder, SdkPojo, CopyableBuilder<CreateReservationRequest.Builder,CreateReservationRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe number of Redshift Processing Units (RPUs) to reserve.clientToken
(String clientToken) A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.offeringId
(String offeringId) The ID of the offering associated with the reservation.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.redshiftserverless.model.RedshiftServerlessRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
capacity
The number of Redshift Processing Units (RPUs) to reserve.
- Parameters:
capacity
- The number of Redshift Processing Units (RPUs) to reserve.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. This token must be a valid UUIDv4 value. For more information about idempotency, see Making retries safe with idempotent APIs .
- Parameters:
clientToken
- A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. This token must be a valid UUIDv4 value. For more information about idempotency, see Making retries safe with idempotent APIs .- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
offeringId
The ID of the offering associated with the reservation. The offering determines the payment schedule for the reservation.
- Parameters:
offeringId
- The ID of the offering associated with the reservation. The offering determines the payment schedule for the reservation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateReservationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateReservationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-