@Stability(value=Stable) public static final class AwsAuthMapping.Builder extends Object implements software.amazon.jsii.Builder<AwsAuthMapping>
AwsAuthMapping| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
AwsAuthMapping |
build()
Builds the configured instance.
|
AwsAuthMapping.Builder |
groups(List<String> groups)
Sets the value of
AwsAuthMapping.getGroups() |
AwsAuthMapping.Builder |
username(String username)
Sets the value of
AwsAuthMapping.getUsername() |
@Stability(value=Stable) public AwsAuthMapping.Builder groups(List<String> groups)
AwsAuthMapping.getGroups()groups - A list of groups within Kubernetes to which the role is mapped. This parameter is required.this@Stability(value=Stable) public AwsAuthMapping.Builder username(String username)
AwsAuthMapping.getUsername()username - The user name within Kubernetes to map to the IAM role.this@Stability(value=Stable) public AwsAuthMapping build()
build in interface software.amazon.jsii.Builder<AwsAuthMapping>AwsAuthMappingNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.