Class GrantAccessOptions.Builder
java.lang.Object
software.amazon.awscdk.services.eks.GrantAccessOptions.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<GrantAccessOptions>
- Enclosing interface:
GrantAccessOptions
@Stability(Stable)
public static final class GrantAccessOptions.Builder
extends Object
implements software.amazon.jsii.Builder<GrantAccessOptions>
A builder for
GrantAccessOptions-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccessEntryType(AccessEntryType accessEntryType) Sets the value ofGrantAccessOptions.getAccessEntryType()build()Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
accessEntryType
@Stability(Stable) public GrantAccessOptions.Builder accessEntryType(AccessEntryType accessEntryType) Sets the value ofGrantAccessOptions.getAccessEntryType()- Parameters:
accessEntryType- The type of the access entry. SpecifyAccessEntryType.EC2for EKS Auto Mode node roles,AccessEntryType.HYBRID_LINUXfor EKS Hybrid Nodes, orAccessEntryType.HYPERPOD_LINUXfor SageMaker HyperPod.Note that EC2, HYBRID_LINUX, and HYPERPOD_LINUX types cannot have access policies attached per AWS EKS API constraints.
- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<GrantAccessOptions>- Returns:
- a new instance of
GrantAccessOptions - Throws:
NullPointerException- if any required attribute was not provided
-