Class AccessEntryReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.eks.AccessEntryReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<AccessEntryReference>
- Enclosing interface:
AccessEntryReference
@Stability(Stable)
public static final class AccessEntryReference.Builder
extends Object
implements software.amazon.jsii.Builder<AccessEntryReference>
A builder for
AccessEntryReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccessEntryArn(String accessEntryArn) Sets the value ofAccessEntryReference.getAccessEntryArn()build()Builds the configured instance.clusterName(String clusterName) Sets the value ofAccessEntryReference.getClusterName()principalArn(String principalArn) Sets the value ofAccessEntryReference.getPrincipalArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
accessEntryArn
Sets the value ofAccessEntryReference.getAccessEntryArn()- Parameters:
accessEntryArn- The ARN of the AccessEntry resource. This parameter is required.- Returns:
this
-
clusterName
Sets the value ofAccessEntryReference.getClusterName()- Parameters:
clusterName- The ClusterName of the AccessEntry resource. This parameter is required.- Returns:
this
-
principalArn
Sets the value ofAccessEntryReference.getPrincipalArn()- Parameters:
principalArn- The PrincipalArn of the AccessEntry resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<AccessEntryReference>- Returns:
- a new instance of
AccessEntryReference - Throws:
NullPointerException- if any required attribute was not provided
-