public static interface Organization.Builder extends CopyableBuilder<Organization.Builder,Organization>
Modifier and Type | Method and Description |
---|---|
Organization.Builder |
arn(String arn)
The Amazon Resource Name (ARN) of an organization.
|
Organization.Builder |
availablePolicyTypes(Collection<PolicyTypeSummary> availablePolicyTypes)
A list of policy types that are enabled for this organization.
|
Organization.Builder |
availablePolicyTypes(Consumer<PolicyTypeSummary.Builder>... availablePolicyTypes)
A list of policy types that are enabled for this organization.
|
Organization.Builder |
availablePolicyTypes(PolicyTypeSummary... availablePolicyTypes)
A list of policy types that are enabled for this organization.
|
Organization.Builder |
featureSet(OrganizationFeatureSet featureSet)
Specifies the functionality that currently is available to the organization.
|
Organization.Builder |
featureSet(String featureSet)
Specifies the functionality that currently is available to the organization.
|
Organization.Builder |
id(String id)
The unique identifier (ID) of an organization.
|
Organization.Builder |
masterAccountArn(String masterAccountArn)
The Amazon Resource Name (ARN) of the account that is designated as the master account for the organization.
|
Organization.Builder |
masterAccountEmail(String masterAccountEmail)
The email address that is associated with the AWS account that is designated as the master account for the
organization.
|
Organization.Builder |
masterAccountId(String masterAccountId)
The unique identifier (ID) of the master account of an organization.
|
copy
applyMutation, build
Organization.Builder id(String id)
The unique identifier (ID) of an organization.
The regex pattern for an organization ID string requires "o-" followed by from 10 to 32 lower-case letters or digits.
id
- The unique identifier (ID) of an organization.
The regex pattern for an organization ID string requires "o-" followed by from 10 to 32 lower-case letters or digits.
Organization.Builder arn(String arn)
The Amazon Resource Name (ARN) of an organization.
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 an organization.
For more information about ARNs in Organizations, see ARN Formats Supported by Organizations in the AWS Organizations User Guide.
Organization.Builder featureSet(String featureSet)
Specifies the functionality that currently is available to the organization. If set to "ALL", then all features are enabled and policies can be applied to accounts in the organization. If set to "CONSOLIDATED_BILLING", then only consolidated billing functionality is available. For more information, see Enabling All Features in Your Organization in the AWS Organizations User Guide.
featureSet
- Specifies the functionality that currently is available to the organization. If set to "ALL", then all
features are enabled and policies can be applied to accounts in the organization. If set to
"CONSOLIDATED_BILLING", then only consolidated billing functionality is available. For more
information, see Enabling All Features in Your Organization in the AWS Organizations User Guide.OrganizationFeatureSet
,
OrganizationFeatureSet
Organization.Builder featureSet(OrganizationFeatureSet featureSet)
Specifies the functionality that currently is available to the organization. If set to "ALL", then all features are enabled and policies can be applied to accounts in the organization. If set to "CONSOLIDATED_BILLING", then only consolidated billing functionality is available. For more information, see Enabling All Features in Your Organization in the AWS Organizations User Guide.
featureSet
- Specifies the functionality that currently is available to the organization. If set to "ALL", then all
features are enabled and policies can be applied to accounts in the organization. If set to
"CONSOLIDATED_BILLING", then only consolidated billing functionality is available. For more
information, see Enabling All Features in Your Organization in the AWS Organizations User Guide.OrganizationFeatureSet
,
OrganizationFeatureSet
Organization.Builder masterAccountArn(String masterAccountArn)
The Amazon Resource Name (ARN) of the account that is designated as the master account for the organization.
For more information about ARNs in Organizations, see ARN Formats Supported by Organizations in the AWS Organizations User Guide.
masterAccountArn
- The Amazon Resource Name (ARN) of the account that is designated as the master account for the
organization.
For more information about ARNs in Organizations, see ARN Formats Supported by Organizations in the AWS Organizations User Guide.
Organization.Builder masterAccountId(String masterAccountId)
The unique identifier (ID) of the master account of an organization.
The regex pattern for an account ID string requires exactly 12 digits.
masterAccountId
- The unique identifier (ID) of the master account of an organization.
The regex pattern for an account ID string requires exactly 12 digits.
Organization.Builder masterAccountEmail(String masterAccountEmail)
The email address that is associated with the AWS account that is designated as the master account for the organization.
masterAccountEmail
- The email address that is associated with the AWS account that is designated as the master account for
the organization.Organization.Builder availablePolicyTypes(Collection<PolicyTypeSummary> availablePolicyTypes)
A list of policy types that are enabled for this organization. For example, if your organization has all features enabled, then service control policies (SCPs) are included in the list.
availablePolicyTypes
- A list of policy types that are enabled for this organization. For example, if your organization has
all features enabled, then service control policies (SCPs) are included in the list.Organization.Builder availablePolicyTypes(PolicyTypeSummary... availablePolicyTypes)
A list of policy types that are enabled for this organization. For example, if your organization has all features enabled, then service control policies (SCPs) are included in the list.
availablePolicyTypes
- A list of policy types that are enabled for this organization. For example, if your organization has
all features enabled, then service control policies (SCPs) are included in the list.Organization.Builder availablePolicyTypes(Consumer<PolicyTypeSummary.Builder>... availablePolicyTypes)
A list of policy types that are enabled for this organization. For example, if your organization has all features enabled, then service control policies (SCPs) are included in the list.
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 #availablePolicyTypes(List)
.availablePolicyTypes
- a consumer that will call methods on List.Builder
#availablePolicyTypes(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.