Interface UpdatePolicyResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<UpdatePolicyResponse.Builder,UpdatePolicyResponse>,OrganizationsResponse.Builder,SdkBuilder<UpdatePolicyResponse.Builder,UpdatePolicyResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- UpdatePolicyResponse
public static interface UpdatePolicyResponse.Builder extends OrganizationsResponse.Builder, SdkPojo, CopyableBuilder<UpdatePolicyResponse.Builder,UpdatePolicyResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default UpdatePolicyResponse.Builderpolicy(Consumer<Policy.Builder> policy)A structure that contains details about the updated policy, showing the requested changes.UpdatePolicyResponse.Builderpolicy(Policy policy)A structure that contains details about the updated policy, showing the requested changes.-
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
-
policy
UpdatePolicyResponse.Builder policy(Policy policy)
A structure that contains details about the updated policy, showing the requested changes.
- Parameters:
policy- A structure that contains details about the updated policy, showing the requested changes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policy
default UpdatePolicyResponse.Builder policy(Consumer<Policy.Builder> policy)
A structure that contains details about the updated policy, showing the requested changes.
This is a convenience method that creates an instance of thePolicy.Builderavoiding the need to create one manually viaPolicy.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topolicy(Policy).- Parameters:
policy- a consumer that will call methods onPolicy.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
policy(Policy)
-
-