Interface CreateCapacityReservationRequest.Builder
-
- All Superinterfaces:
AthenaRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<CreateCapacityReservationRequest.Builder,CreateCapacityReservationRequest>,SdkBuilder<CreateCapacityReservationRequest.Builder,CreateCapacityReservationRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateCapacityReservationRequest
public static interface CreateCapacityReservationRequest.Builder extends AthenaRequest.Builder, SdkPojo, CopyableBuilder<CreateCapacityReservationRequest.Builder,CreateCapacityReservationRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateCapacityReservationRequest.Buildername(String name)The name of the capacity reservation to create.CreateCapacityReservationRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateCapacityReservationRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateCapacityReservationRequest.Buildertags(Collection<Tag> tags)The tags for the capacity reservation.CreateCapacityReservationRequest.Buildertags(Consumer<Tag.Builder>... tags)The tags for the capacity reservation.CreateCapacityReservationRequest.Buildertags(Tag... tags)The tags for the capacity reservation.CreateCapacityReservationRequest.BuildertargetDpus(Integer targetDpus)The number of requested data processing units.-
Methods inherited from interface software.amazon.awssdk.services.athena.model.AthenaRequest.Builder
build
-
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.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
targetDpus
CreateCapacityReservationRequest.Builder targetDpus(Integer targetDpus)
The number of requested data processing units.
- Parameters:
targetDpus- The number of requested data processing units.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
CreateCapacityReservationRequest.Builder name(String name)
The name of the capacity reservation to create.
- Parameters:
name- The name of the capacity reservation to create.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateCapacityReservationRequest.Builder tags(Collection<Tag> tags)
The tags for the capacity reservation.
- Parameters:
tags- The tags for the capacity reservation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateCapacityReservationRequest.Builder tags(Tag... tags)
The tags for the capacity reservation.
- Parameters:
tags- The tags for the capacity reservation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateCapacityReservationRequest.Builder tags(Consumer<Tag.Builder>... tags)
The tags for the capacity reservation.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tags(java.util.Collection)
-
overrideConfiguration
CreateCapacityReservationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateCapacityReservationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-