Class UrlAlias.Builder

  • Enclosing class:
    UrlAlias

    public static final class UrlAlias.Builder
    extends java.lang.Object
    Builder class for UrlAlias.
    • Constructor Detail

      • Builder

        public Builder()
        Constructor with parameters for the required properties of UrlAlias.
    • Method Detail

      • setAlias

        public UrlAlias.Builder setAlias​(java.lang.String alias)
        Parameters:
        alias - New value for the property.
      • setKeystoreInfo

        public UrlAlias.Builder setKeystoreInfo​(KeyStoreInfo keystoreInfo)
        Parameters:
        keystoreInfo - New value for the property.
      • setQuery

        public UrlAlias.Builder setQuery​(java.lang.String query)
        Search query to be applied, if any. If query string is not provided, it will be ignored.
        Parameters:
        query - New value for the property.
      • setRequestBody

        public UrlAlias.Builder setRequestBody​(com.vmware.vapi.bindings.Structure requestBody)
        A raw request body in the form json format for a given url. This request body will be submitted along with request while giving a post api call.
        Parameters:
        requestBody - New value for the property.
      • setRequestHeaders

        public UrlAlias.Builder setRequestHeaders​(com.vmware.vapi.bindings.Structure requestHeaders)
        A raw request header in the form json format for a given url. This request header will be submitted along with request while giving a api call.
        Parameters:
        requestHeaders - New value for the property.
      • setUrl

        public UrlAlias.Builder setUrl​(java.lang.String url)
        Url to fetch data from.
        Parameters:
        url - New value for the property.