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
copyMethods inherited from interface software.amazon.awssdk.services.organizations.model.OrganizationsResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
organization
A structure that contains information about the organization.
The
AvailablePolicyTypespart 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. In the China (Ningxia) Region, no policy type is included. To determine which policy types are enabled in your organization, use theListRootsoperation.- Parameters:
organization- A structure that contains information about the organization.The
AvailablePolicyTypespart 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. In the China (Ningxia) Region, no policy type is included. To determine which policy types are enabled in your organization, use theListRootsoperation.- 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.
This is a convenience method that creates an instance of theThe
AvailablePolicyTypespart 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. In the China (Ningxia) Region, no policy type is included. To determine which policy types are enabled in your organization, use theListRootsoperation.Organization.Builderavoiding the need to create one manually viaOrganization.builder().When the
Consumercompletes,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:
-