Class Mapping.Builder
java.lang.Object
software.amazon.awscdk.services.eks.legacy.Mapping.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<Mapping>
- Enclosing interface:
- Mapping
@Stability(Deprecated)
@Deprecated
public static final class Mapping.Builder
extends Object
implements software.amazon.jsii.Builder<Mapping>
Deprecated.
A builder for
Mapping-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Builder
public Builder()Deprecated.
-
-
Method Details
-
groups
Deprecated.Sets the value ofMapping.getGroups()- Parameters:
groups- A list of groups within Kubernetes to which the role is mapped. This parameter is required.- Returns:
this
-
username
Deprecated.Sets the value ofMapping.getUsername()- Parameters:
username- The user name within Kubernetes to map to the IAM role.- Returns:
this
-
build
Deprecated.Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<Mapping>- Returns:
- a new instance of
Mapping - Throws:
NullPointerException- if any required attribute was not provided
-