Interface DescribeEffectivePolicyResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeEffectivePolicyResponse.Builder,DescribeEffectivePolicyResponse>,OrganizationsResponse.Builder,SdkBuilder<DescribeEffectivePolicyResponse.Builder,DescribeEffectivePolicyResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribeEffectivePolicyResponse
public static interface DescribeEffectivePolicyResponse.Builder extends OrganizationsResponse.Builder, SdkPojo, CopyableBuilder<DescribeEffectivePolicyResponse.Builder,DescribeEffectivePolicyResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default DescribeEffectivePolicyResponse.BuildereffectivePolicy(Consumer<EffectivePolicy.Builder> effectivePolicy)The contents of the effective policy.DescribeEffectivePolicyResponse.BuildereffectivePolicy(EffectivePolicy effectivePolicy)The contents of the effective policy.-
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
-
effectivePolicy
DescribeEffectivePolicyResponse.Builder effectivePolicy(EffectivePolicy effectivePolicy)
The contents of the effective policy.
- Parameters:
effectivePolicy- The contents of the effective policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
effectivePolicy
default DescribeEffectivePolicyResponse.Builder effectivePolicy(Consumer<EffectivePolicy.Builder> effectivePolicy)
The contents of the effective policy.
This is a convenience method that creates an instance of theEffectivePolicy.Builderavoiding the need to create one manually viaEffectivePolicy.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toeffectivePolicy(EffectivePolicy).- Parameters:
effectivePolicy- a consumer that will call methods onEffectivePolicy.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
effectivePolicy(EffectivePolicy)
-
-