Interface Organization.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Organization.Builder,Organization>,SdkBuilder<Organization.Builder,Organization>,SdkPojo
- Enclosing class:
- Organization
public static interface Organization.Builder extends SdkPojo, CopyableBuilder<Organization.Builder,Organization>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Organization.Builderarn(String arn)The Amazon Resource Name (ARN) of an organization.Organization.BuilderavailablePolicyTypes(Collection<PolicyTypeSummary> availablePolicyTypes)Organization.BuilderavailablePolicyTypes(Consumer<PolicyTypeSummary.Builder>... availablePolicyTypes)Organization.BuilderavailablePolicyTypes(PolicyTypeSummary... availablePolicyTypes)Organization.BuilderfeatureSet(String featureSet)Specifies the functionality that currently is available to the organization.Organization.BuilderfeatureSet(OrganizationFeatureSet featureSet)Specifies the functionality that currently is available to the organization.Organization.Builderid(String id)The unique identifier (ID) of an organization.Organization.BuildermasterAccountArn(String masterAccountArn)The Amazon Resource Name (ARN) of the account that is designated as the management account for the organization.Organization.BuildermasterAccountEmail(String masterAccountEmail)The email address that is associated with the Amazon Web Services account that is designated as the management account for the organization.Organization.BuildermasterAccountId(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 Detail
-
id
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 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
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 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
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 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:
OrganizationFeatureSet,OrganizationFeatureSet
-
featureSet
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 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:
OrganizationFeatureSet,OrganizationFeatureSet
-
masterAccountArn
Organization.Builder masterAccountArn(String 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
Organization.Builder masterAccountId(String 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
Organization.Builder 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.
- 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
Organization.Builder availablePolicyTypes(Collection<PolicyTypeSummary> 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(PolicyTypeSummary... 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.Builderavoiding the need to create one manually viaPolicyTypeSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#availablePolicyTypes(List.) - 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:
#availablePolicyTypes(java.util.Collection)
-
-