Interface Root.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Root.Builder,Root>,SdkBuilder<Root.Builder,Root>,SdkPojo
- Enclosing class:
- Root
public static interface Root.Builder extends SdkPojo, CopyableBuilder<Root.Builder,Root>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Root.Builderarn(String arn)The Amazon Resource Name (ARN) of the root.Root.Builderid(String id)The unique identifier (ID) for the root.Root.Buildername(String name)The friendly name of the root.Root.BuilderpolicyTypes(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.BuilderpolicyTypes(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.BuilderpolicyTypes(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.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
id
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 lowercase letters or digits.
- Parameters:
id- The unique identifier (ID) for the root.The regex pattern for a root ID string requires "r-" followed by from 4 to 32 lowercase letters or digits.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
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 Amazon Web Services Service Authorization Reference.
- Parameters:
arn- The Amazon Resource Name (ARN) of the root.For more information about ARNs in Organizations, see ARN Formats Supported by Organizations in the Amazon Web Services Service Authorization Reference.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyTypes
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.
Even if a policy type is shown as available in the organization, you can separately enable and disable them at the root level by using EnablePolicyType and DisablePolicyType. Use DescribeOrganization to see the availability of the policy types in that organization.
- Parameters:
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.Even if a policy type is shown as available in the organization, you can separately enable and disable them at the root level by using EnablePolicyType and DisablePolicyType. Use DescribeOrganization to see the availability of the policy types in that organization.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyTypes
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.
Even if a policy type is shown as available in the organization, you can separately enable and disable them at the root level by using EnablePolicyType and DisablePolicyType. Use DescribeOrganization to see the availability of the policy types in that organization.
- Parameters:
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.Even if a policy type is shown as available in the organization, you can separately enable and disable them at the root level by using EnablePolicyType and DisablePolicyType. Use DescribeOrganization to see the availability of the policy types in that organization.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyTypes
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 method that creates an instance of theEven if a policy type is shown as available in the organization, you can separately enable and disable them at the root level by using EnablePolicyType and DisablePolicyType. Use DescribeOrganization to see the availability of the policy types in that organization.
PolicyTypeSummary.Builderavoiding the need to create one manually viaPolicyTypeSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#policyTypes(List.) - Parameters:
policyTypes- a consumer that will call methods onPolicyTypeSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#policyTypes(java.util.Collection)
-
-