Interface DescribeOrganizationResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeOrganizationResponse.Builder,DescribeOrganizationResponse>,OrganizationsResponse.Builder,SdkBuilder<DescribeOrganizationResponse.Builder,DescribeOrganizationResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribeOrganizationResponse
public static interface DescribeOrganizationResponse.Builder extends OrganizationsResponse.Builder, SdkPojo, CopyableBuilder<DescribeOrganizationResponse.Builder,DescribeOrganizationResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default DescribeOrganizationResponse.Builderorganization(Consumer<Organization.Builder> organization)A structure that contains information about the organization.DescribeOrganizationResponse.Builderorganization(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 Detail
-
organization
DescribeOrganizationResponse.Builder organization(Organization 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. 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. 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. 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:
organization(Organization)
-
-