public static interface Root.Builder extends CopyableBuilder<Root.Builder,Root>
Modifier and Type | Method and Description |
---|---|
Root.Builder |
arn(String arn)
The Amazon Resource Name (ARN) of the root.
|
Root.Builder |
id(String id)
The unique identifier (ID) for the root.
|
Root.Builder |
name(String name)
The friendly name of the root.
|
Root.Builder |
policyTypes(Collection<PolicyTypeSummary> policyTypes)
The types of policies that are currently enabled for the root and therefore can be attached to the root or to
its OUs or accounts.
|
Root.Builder |
policyTypes(Consumer<PolicyTypeSummary.Builder>... policyTypes)
The types of policies that are currently enabled for the root and therefore can be attached to the root or to
its OUs or accounts.
|
Root.Builder |
policyTypes(PolicyTypeSummary... policyTypes)
The types of policies that are currently enabled for the root and therefore can be attached to the root or to
its OUs or accounts.
|
copy
applyMutation, build
Root.Builder id(String id)
The unique identifier (ID) for the root.
The regex pattern for a root ID string requires "r-" followed by from 4 to 32 lower-case letters or digits.
id
- The unique identifier (ID) for the root.
The regex pattern for a root ID string requires "r-" followed by from 4 to 32 lower-case letters or digits.
Root.Builder arn(String arn)
The Amazon Resource Name (ARN) of the root.
For more information about ARNs in Organizations, see ARN Formats Supported by Organizations in the AWS Organizations User Guide.
arn
- The Amazon Resource Name (ARN) of the root.
For more information about ARNs in Organizations, see ARN Formats Supported by Organizations in the AWS Organizations User Guide.
Root.Builder name(String name)
The friendly name of the root.
The regex pattern that is used to validate this parameter is a string of any of the characters in the ASCII character range.
name
- The friendly name of the root.
The regex pattern that is used to validate this parameter is a string of any of the characters in the ASCII character range.
Root.Builder policyTypes(Collection<PolicyTypeSummary> policyTypes)
The types of policies that are currently enabled for the root and therefore can be attached to the root or to its OUs or accounts.
policyTypes
- The types of policies that are currently enabled for the root and therefore can be attached to the
root or to its OUs or accounts.Root.Builder policyTypes(PolicyTypeSummary... policyTypes)
The types of policies that are currently enabled for the root and therefore can be attached to the root or to its OUs or accounts.
policyTypes
- The types of policies that are currently enabled for the root and therefore can be attached to the
root or to its OUs or accounts.Root.Builder policyTypes(Consumer<PolicyTypeSummary.Builder>... policyTypes)
The types of policies that are currently enabled for the root and therefore can be attached to the root or to its OUs or accounts.
This is a convenience that creates an instance of theList.Builder
avoiding the
need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately
and its result is passed to #policyTypes(List)
.policyTypes
- a consumer that will call methods on List.Builder
#policyTypes(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.