Class CfnAccessEntryPropsMixin.AccessScopeProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.eks.CfnAccessEntryPropsMixin.AccessScopeProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAccessEntryPropsMixin.AccessScopeProperty>
- Enclosing interface:
CfnAccessEntryPropsMixin.AccessScopeProperty
@Stability(Stable)
public static final class CfnAccessEntryPropsMixin.AccessScopeProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAccessEntryPropsMixin.AccessScopeProperty>
A builder for
CfnAccessEntryPropsMixin.AccessScopeProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.namespaces(List<String> namespaces) Sets the value ofCfnAccessEntryPropsMixin.AccessScopeProperty.getNamespaces()Sets the value ofCfnAccessEntryPropsMixin.AccessScopeProperty.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
namespaces
@Stability(Stable) public CfnAccessEntryPropsMixin.AccessScopeProperty.Builder namespaces(List<String> namespaces) Sets the value ofCfnAccessEntryPropsMixin.AccessScopeProperty.getNamespaces()- Parameters:
namespaces- A Kubernetesnamespacethat an access policy is scoped to. A value is required if you specifiednamespaceforType.- Returns:
this
-
type
Sets the value ofCfnAccessEntryPropsMixin.AccessScopeProperty.getType()- Parameters:
type- The scope type of an access policy.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAccessEntryPropsMixin.AccessScopeProperty>- Returns:
- a new instance of
CfnAccessEntryPropsMixin.AccessScopeProperty - Throws:
NullPointerException- if any required attribute was not provided
-