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 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

      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:
    • 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

      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 the PolicyTypeSummary.Builder avoiding the need to create one manually via PolicyTypeSummary.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to availablePolicyTypes(List<PolicyTypeSummary>).

      Parameters:
      availablePolicyTypes - a consumer that will call methods on PolicyTypeSummary.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: