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 Summary
Modifier and TypeMethodDescriptionorganization
(Consumer<Organization.Builder> organization) A structure that contains information about the organization.organization
(Organization organization) A structure that contains information about the organization.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.organizations.model.OrganizationsResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
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 theListRoots
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 theListRoots
operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
organization
default DescribeOrganizationResponse.Builder organization(Consumer<Organization.Builder> 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 theListRoots
operation.Organization.Builder
avoiding the need to create one manually viaOrganization.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toorganization(Organization)
.- Parameters:
organization
- a consumer that will call methods onOrganization.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-