Interface GetPolicyResponse.Builder

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

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

    • policy

      Information about the specified Firewall Manager policy.

      Parameters:
      policy - Information about the specified Firewall Manager policy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • policy

      Information about the specified 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

      GetPolicyResponse.Builder policyArn(String policyArn)

      The Amazon Resource Name (ARN) of the specified policy.

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