public static final class StackSetsConstraintOptions.Builder
extends java.lang.Object
StackSetsConstraintOptions
Constructor and Description |
---|
Builder() |
public StackSetsConstraintOptions.Builder accounts(java.util.List<java.lang.String> accounts)
StackSetsConstraintOptions.getAccounts()
accounts
- List of accounts to deploy stacks to. This parameter is required.this
public StackSetsConstraintOptions.Builder adminRole(IRole adminRole)
StackSetsConstraintOptions.getAdminRole()
adminRole
- IAM role used to administer the StackSets configuration. This parameter is required.this
public StackSetsConstraintOptions.Builder executionRoleName(java.lang.String executionRoleName)
StackSetsConstraintOptions.getExecutionRoleName()
executionRoleName
- IAM role used to provision the products in the Stacks. This parameter is required.this
public StackSetsConstraintOptions.Builder regions(java.util.List<java.lang.String> regions)
StackSetsConstraintOptions.getRegions()
regions
- List of regions to deploy stacks to. This parameter is required.this
public StackSetsConstraintOptions.Builder allowStackSetInstanceOperations(java.lang.Boolean allowStackSetInstanceOperations)
StackSetsConstraintOptions.getAllowStackSetInstanceOperations()
allowStackSetInstanceOperations
- Wether to allow end users to create, update, and delete stacks.this
public StackSetsConstraintOptions.Builder description(java.lang.String description)
CommonConstraintOptions.getDescription()
description
- The description of the constraint.this
public StackSetsConstraintOptions.Builder messageLanguage(MessageLanguage messageLanguage)
CommonConstraintOptions.getMessageLanguage()
messageLanguage
- The language code.
Configures the language for error messages from service catalog.this
public StackSetsConstraintOptions build()
StackSetsConstraintOptions
java.lang.NullPointerException
- if any required attribute was not provided