Class CfnBudgetsActionPropsMixin.IamActionDefinitionProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.budgets.CfnBudgetsActionPropsMixin.IamActionDefinitionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBudgetsActionPropsMixin.IamActionDefinitionProperty>
- Enclosing interface:
CfnBudgetsActionPropsMixin.IamActionDefinitionProperty
@Stability(Stable)
public static final class CfnBudgetsActionPropsMixin.IamActionDefinitionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBudgetsActionPropsMixin.IamActionDefinitionProperty>
A builder for
CfnBudgetsActionPropsMixin.IamActionDefinitionProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnBudgetsActionPropsMixin.IamActionDefinitionProperty.getGroups()Sets the value ofCfnBudgetsActionPropsMixin.IamActionDefinitionProperty.getPolicyArn()Sets the value ofCfnBudgetsActionPropsMixin.IamActionDefinitionProperty.getRoles()Sets the value ofCfnBudgetsActionPropsMixin.IamActionDefinitionProperty.getUsers()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
groups
@Stability(Stable) public CfnBudgetsActionPropsMixin.IamActionDefinitionProperty.Builder groups(List<String> groups) Sets the value ofCfnBudgetsActionPropsMixin.IamActionDefinitionProperty.getGroups()- Parameters:
groups- A list of groups to be attached. There must be at least one group.- Returns:
this
-
policyArn
@Stability(Stable) public CfnBudgetsActionPropsMixin.IamActionDefinitionProperty.Builder policyArn(String policyArn) Sets the value ofCfnBudgetsActionPropsMixin.IamActionDefinitionProperty.getPolicyArn()- Parameters:
policyArn- The Amazon Resource Name (ARN) of the policy to be attached.- Returns:
this
-
roles
@Stability(Stable) public CfnBudgetsActionPropsMixin.IamActionDefinitionProperty.Builder roles(List<String> roles) Sets the value ofCfnBudgetsActionPropsMixin.IamActionDefinitionProperty.getRoles()- Parameters:
roles- A list of roles to be attached. There must be at least one role.- Returns:
this
-
users
@Stability(Stable) public CfnBudgetsActionPropsMixin.IamActionDefinitionProperty.Builder users(List<String> users) Sets the value ofCfnBudgetsActionPropsMixin.IamActionDefinitionProperty.getUsers()- Parameters:
users- A list of users to be attached. There must be at least one user.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnBudgetsActionPropsMixin.IamActionDefinitionProperty>- Returns:
- a new instance of
CfnBudgetsActionPropsMixin.IamActionDefinitionProperty - Throws:
NullPointerException- if any required attribute was not provided
-