Class CfnSupportPermit.ActionSetProperty.Builder
java.lang.Object
software.amazon.awscdk.services.supportauthz.CfnSupportPermit.ActionSetProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSupportPermit.ActionSetProperty>
- Enclosing interface:
CfnSupportPermit.ActionSetProperty
@Stability(Stable)
public static final class CfnSupportPermit.ActionSetProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSupportPermit.ActionSetProperty>
A builder for
CfnSupportPermit.ActionSetProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnSupportPermit.ActionSetProperty.getActions()allActions(Object allActions) Sets the value ofCfnSupportPermit.ActionSetProperty.getAllActions()build()Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
actions
Sets the value ofCfnSupportPermit.ActionSetProperty.getActions()- Parameters:
actions- An explicit list of actions to grant.- Returns:
this
-
allActions
Sets the value ofCfnSupportPermit.ActionSetProperty.getAllActions()- Parameters:
allActions- Grants all actions.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSupportPermit.ActionSetProperty>- Returns:
- a new instance of
CfnSupportPermit.ActionSetProperty - Throws:
NullPointerException- if any required attribute was not provided
-