Interface Organization.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Organization.Builder,
,Organization> SdkBuilder<Organization.Builder,
,Organization> SdkPojo
- Enclosing class:
Organization
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of an organization.availablePolicyTypes
(Collection<PolicyTypeSummary> availablePolicyTypes) availablePolicyTypes
(Consumer<PolicyTypeSummary.Builder>... availablePolicyTypes) availablePolicyTypes
(PolicyTypeSummary... availablePolicyTypes) featureSet
(String featureSet) Specifies the functionality that currently is available to the organization.featureSet
(OrganizationFeatureSet featureSet) Specifies the functionality that currently is available to the organization.The unique identifier (ID) of an organization.masterAccountArn
(String masterAccountArn) The Amazon Resource Name (ARN) of the account that is designated as the management account for the organization.masterAccountEmail
(String masterAccountEmail) The email address that is associated with the Amazon Web Services account that is designated as the management account for the organization.masterAccountId
(String masterAccountId) The unique identifier (ID) of the management account of an organization.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 Details
-
id
The unique identifier (ID) of an organization.
The regex pattern for an organization ID string requires "o-" followed by from 10 to 32 lowercase letters or digits.
- Parameters:
id
- The unique identifier (ID) of an organization.The regex pattern for an organization ID string requires "o-" followed by from 10 to 32 lowercase letters or digits.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
The Amazon Resource Name (ARN) of an organization.
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 an organization.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.
-
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 Organizations User Guide.
- Parameters:
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 Organizations User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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 Organizations User Guide.
- Parameters:
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 Organizations User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
masterAccountArn
The Amazon Resource Name (ARN) of the account that is designated as the management account for the organization.
For more information about ARNs in Organizations, see ARN Formats Supported by Organizations in the Amazon Web Services Service Authorization Reference.
- Parameters:
masterAccountArn
- The Amazon Resource Name (ARN) of the account that is designated as the management account for the organization.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.
-
masterAccountId
The unique identifier (ID) of the management account of an organization.
The regex pattern for an account ID string requires exactly 12 digits.
- Parameters:
masterAccountId
- The unique identifier (ID) of the management account of an organization.The regex pattern for an account ID string requires exactly 12 digits.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
masterAccountEmail
The email address that is associated with the Amazon Web Services account that is designated as the management account for the organization.
- Parameters:
masterAccountEmail
- The email address that is associated with the Amazon Web Services account that is designated as the management account for the organization.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
availablePolicyTypes
Do not use. This field is deprecated and doesn't provide complete information about the policies in your organization.
To determine the policies that are enabled and available for use in your organization, use the ListRoots operation instead.
- Parameters:
availablePolicyTypes
-Do not use. This field is deprecated and doesn't provide complete information about the policies in your organization.
To determine the policies that are enabled and available for use in your organization, use the ListRoots operation instead.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
availablePolicyTypes
Do not use. This field is deprecated and doesn't provide complete information about the policies in your organization.
To determine the policies that are enabled and available for use in your organization, use the ListRoots operation instead.
- Parameters:
availablePolicyTypes
-Do not use. This field is deprecated and doesn't provide complete information about the policies in your organization.
To determine the policies that are enabled and available for use in your organization, use the ListRoots operation instead.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
availablePolicyTypes
Organization.Builder availablePolicyTypes(Consumer<PolicyTypeSummary.Builder>... availablePolicyTypes) Do not use. This field is deprecated and doesn't provide complete information about the policies in your organization.
To determine the policies that are enabled and available for use in your organization, use the ListRoots operation instead.
This is a convenience method that creates an instance of thePolicyTypeSummary.Builder
avoiding the need to create one manually viaPolicyTypeSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toavailablePolicyTypes(List<PolicyTypeSummary>)
.- Parameters:
availablePolicyTypes
- 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:
-