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