Class RestMonitorConfiguration


  • @Generated(value="OracleSDKGenerator",
               comments="API Version: 20200630")
    public final class RestMonitorConfiguration
    extends MonitorConfiguration
    Request configuration details for the REST monitor type.
    Note: Objects should always be created or deserialized using the RestMonitorConfiguration.Builder. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of the RestMonitorConfiguration.Builder, which maintain a set of all explicitly set fields called RestMonitorConfiguration.Builder.__explicitlySet__. The hashCode() and equals(Object) methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
    • Method Detail

      • getIsRedirectionEnabled

        public Boolean getIsRedirectionEnabled()
        If redirection is enabled, then redirects will be allowed while accessing target URL.
        Returns:
        the value
      • getIsCertificateValidationEnabled

        public Boolean getIsCertificateValidationEnabled()
        If certificate validation is enabled, then call will fail for certificate errors.
        Returns:
        the value
      • getRequestMethod

        public RequestMethods getRequestMethod()
        Request HTTP method.
        Returns:
        the value
      • getReqAuthenticationScheme

        public RequestAuthenticationSchemes getReqAuthenticationScheme()
        Request HTTP authentication scheme.
        Returns:
        the value
      • getRequestHeaders

        public List<Header> getRequestHeaders()
        List of request headers.

        Example: [{“headerName”: “content-type”, “headerValue”:“json”}]

        Returns:
        the value
      • getRequestQueryParams

        public List<RequestQueryParam> getRequestQueryParams()
        List of request query params.

        Example: [{“paramName”: “sortOrder”, “paramValue”: “asc”}]

        Returns:
        the value
      • getRequestPostBody

        public String getRequestPostBody()
        Request post body content.
        Returns:
        the value
      • getVerifyResponseContent

        public String getVerifyResponseContent()
        Verify response content against regular expression based string.

        If response content does not match the verifyResponseContent value, then it will be considered a failure.

        Returns:
        the value
      • getVerifyResponseCodes

        public List<String> getVerifyResponseCodes()
        Expected HTTP response codes.

        For status code range, set values such as 2xx, 3xx.

        Returns:
        the value
      • toString

        public String toString​(boolean includeByteArrayContents)
        Return a string representation of the object.
        Overrides:
        toString in class MonitorConfiguration
        Parameters:
        includeByteArrayContents - true to include the full contents of byte arrays
        Returns:
        string representation