Class CfnCapability.AckProperty.Builder
java.lang.Object
software.amazon.awscdk.services.eks.CfnCapability.AckProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCapability.AckProperty>
- Enclosing interface:
CfnCapability.AckProperty
@Stability(Stable)
public static final class CfnCapability.AckProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCapability.AckProperty>
A builder for
CfnCapability.AckProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.disabledServices(List<String> disabledServices) Sets the value ofCfnCapability.AckProperty.getDisabledServices()enableCrossNamespace(Boolean enableCrossNamespace) Sets the value ofCfnCapability.AckProperty.getEnableCrossNamespace()enableCrossNamespace(IResolvable enableCrossNamespace) Sets the value ofCfnCapability.AckProperty.getEnableCrossNamespace()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
disabledServices
@Stability(Stable) public CfnCapability.AckProperty.Builder disabledServices(List<String> disabledServices) Sets the value ofCfnCapability.AckProperty.getDisabledServices()- Parameters:
disabledServices- A list of ACK service names to disable. Controllers for services in this list are not installed or managed.- Returns:
this
-
enableCrossNamespace
@Stability(Stable) public CfnCapability.AckProperty.Builder enableCrossNamespace(Boolean enableCrossNamespace) Sets the value ofCfnCapability.AckProperty.getEnableCrossNamespace()- Parameters:
enableCrossNamespace- Whether cross-namespace references are enabled for ACK controllers. When not specified, the service default applies.- Returns:
this
-
enableCrossNamespace
@Stability(Stable) public CfnCapability.AckProperty.Builder enableCrossNamespace(IResolvable enableCrossNamespace) Sets the value ofCfnCapability.AckProperty.getEnableCrossNamespace()- Parameters:
enableCrossNamespace- Whether cross-namespace references are enabled for ACK controllers. When not specified, the service default applies.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCapability.AckProperty>- Returns:
- a new instance of
CfnCapability.AckProperty - Throws:
NullPointerException- if any required attribute was not provided
-