Class ExecutePolicyResponse.Builder

  • Enclosing class:
    ExecutePolicyResponse

    public static final class ExecutePolicyResponse.Builder
    extends java.lang.Object
    • Method Detail

      • rawResponse

        public ExecutePolicyResponse.Builder rawResponse​(java.net.http.HttpResponse<java.io.InputStream> rawResponse)
        Raw HTTP response; suitable for custom response parsing
      • successfulPolicyResponse

        public ExecutePolicyResponse.Builder successfulPolicyResponse​(SuccessfulPolicyResponse successfulPolicyResponse)
        Success. The server also returns 200 if the path refers to an undefined document. In this case, the response will not contain a result property.
      • successfulPolicyResponse

        public ExecutePolicyResponse.Builder successfulPolicyResponse​(java.util.Optional<? extends SuccessfulPolicyResponse> successfulPolicyResponse)
        Success. The server also returns 200 if the path refers to an undefined document. In this case, the response will not contain a result property.