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 Details

    • 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

      A structure that contains details about the updated policy, showing the requested changes.

      This is a convenience method that creates an instance of the Policy.Builder avoiding the need to create one manually via Policy.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to policy(Policy).

      Parameters:
      policy - a consumer that will call methods on Policy.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: