Class CfnAgentSpace.PreferencesProperty.Builder
java.lang.Object
software.amazon.awscdk.services.devopsagent.CfnAgentSpace.PreferencesProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAgentSpace.PreferencesProperty>
- Enclosing interface:
CfnAgentSpace.PreferencesProperty
@Stability(Stable)
public static final class CfnAgentSpace.PreferencesProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAgentSpace.PreferencesProperty>
A builder for
CfnAgentSpace.PreferencesProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.elevatedActionsEnabled(Boolean elevatedActionsEnabled) Sets the value ofCfnAgentSpace.PreferencesProperty.getElevatedActionsEnabled()elevatedActionsEnabled(IResolvable elevatedActionsEnabled) Sets the value ofCfnAgentSpace.PreferencesProperty.getElevatedActionsEnabled()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
elevatedActionsEnabled
@Stability(Stable) public CfnAgentSpace.PreferencesProperty.Builder elevatedActionsEnabled(Boolean elevatedActionsEnabled) Sets the value ofCfnAgentSpace.PreferencesProperty.getElevatedActionsEnabled()- Parameters:
elevatedActionsEnabled- Indicates whether elevated directed actions are permitted in this AgentSpace. Defaults to false when not set.- Returns:
this
-
elevatedActionsEnabled
@Stability(Stable) public CfnAgentSpace.PreferencesProperty.Builder elevatedActionsEnabled(IResolvable elevatedActionsEnabled) Sets the value ofCfnAgentSpace.PreferencesProperty.getElevatedActionsEnabled()- Parameters:
elevatedActionsEnabled- Indicates whether elevated directed actions are permitted in this AgentSpace. Defaults to false when not set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAgentSpace.PreferencesProperty>- Returns:
- a new instance of
CfnAgentSpace.PreferencesProperty - Throws:
NullPointerException- if any required attribute was not provided
-