Class CfnAgentSpacePropsMixin.PreferencesProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.devopsagent.CfnAgentSpacePropsMixin.PreferencesProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAgentSpacePropsMixin.PreferencesProperty>
- Enclosing interface:
CfnAgentSpacePropsMixin.PreferencesProperty
@Stability(Stable)
public static final class CfnAgentSpacePropsMixin.PreferencesProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAgentSpacePropsMixin.PreferencesProperty>
A builder for
CfnAgentSpacePropsMixin.PreferencesProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.elevatedActionsEnabled(Boolean elevatedActionsEnabled) Sets the value ofCfnAgentSpacePropsMixin.PreferencesProperty.getElevatedActionsEnabled()elevatedActionsEnabled(IResolvable elevatedActionsEnabled) Sets the value ofCfnAgentSpacePropsMixin.PreferencesProperty.getElevatedActionsEnabled()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
elevatedActionsEnabled
@Stability(Stable) public CfnAgentSpacePropsMixin.PreferencesProperty.Builder elevatedActionsEnabled(Boolean elevatedActionsEnabled) Sets the value ofCfnAgentSpacePropsMixin.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 CfnAgentSpacePropsMixin.PreferencesProperty.Builder elevatedActionsEnabled(IResolvable elevatedActionsEnabled) Sets the value ofCfnAgentSpacePropsMixin.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<CfnAgentSpacePropsMixin.PreferencesProperty>- Returns:
- a new instance of
CfnAgentSpacePropsMixin.PreferencesProperty - Throws:
NullPointerException- if any required attribute was not provided
-