Class CapacityReservationReference.Builder
java.lang.Object
software.amazon.awscdk.services.athena.CapacityReservationReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CapacityReservationReference>
- Enclosing interface:
CapacityReservationReference
@Stability(Stable)
public static final class CapacityReservationReference.Builder
extends Object
implements software.amazon.jsii.Builder<CapacityReservationReference>
A builder for
CapacityReservationReference
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.capacityReservationArn
(String capacityReservationArn) Sets the value ofCapacityReservationReference.getCapacityReservationArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
capacityReservationArn
@Stability(Stable) public CapacityReservationReference.Builder capacityReservationArn(String capacityReservationArn) Sets the value ofCapacityReservationReference.getCapacityReservationArn()
- Parameters:
capacityReservationArn
- The Arn of the CapacityReservation resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CapacityReservationReference>
- Returns:
- a new instance of
CapacityReservationReference
- Throws:
NullPointerException
- if any required attribute was not provided
-