Interface DescribeOrganizationResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<DescribeOrganizationResponse.Builder,DescribeOrganizationResponse>, OrganizationsResponse.Builder, SdkBuilder<DescribeOrganizationResponse.Builder,DescribeOrganizationResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
DescribeOrganizationResponse

  • Method Details

    • organization

      A structure that contains information about the organization.

      The AvailablePolicyTypes part of the response is deprecated, and you shouldn't use it in your apps. It doesn't include any policy type supported by Organizations other than SCPs. To determine which policy types are enabled in your organization, use the ListRoots operation.

      Parameters:
      organization - A structure that contains information about the organization.

      The AvailablePolicyTypes part of the response is deprecated, and you shouldn't use it in your apps. It doesn't include any policy type supported by Organizations other than SCPs. To determine which policy types are enabled in your organization, use the ListRoots operation.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • organization

      A structure that contains information about the organization.

      The AvailablePolicyTypes part of the response is deprecated, and you shouldn't use it in your apps. It doesn't include any policy type supported by Organizations other than SCPs. To determine which policy types are enabled in your organization, use the ListRoots operation.

      This is a convenience method that creates an instance of the Organization.Builder avoiding the need to create one manually via Organization.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to organization(Organization).

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