Interface PutPolicyResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<PutPolicyResponse.Builder,PutPolicyResponse>, FmsResponse.Builder, SdkBuilder<PutPolicyResponse.Builder,PutPolicyResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
PutPolicyResponse

public static interface PutPolicyResponse.Builder extends FmsResponse.Builder, SdkPojo, CopyableBuilder<PutPolicyResponse.Builder,PutPolicyResponse>
  • Method Details

    • policy

      The details of the Firewall Manager policy.

      Parameters:
      policy - The details of the Firewall Manager policy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • policy

      The details of the Firewall Manager policy.

      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:
    • policyArn

      PutPolicyResponse.Builder policyArn(String policyArn)

      The Amazon Resource Name (ARN) of the policy.

      Parameters:
      policyArn - The Amazon Resource Name (ARN) of the policy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.