Package com.vmware.nsx_policy.model
Class UrlAlias.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.UrlAlias.Builder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UrlAlias
build()
UrlAlias.Builder
setAlias(java.lang.String alias)
UrlAlias.Builder
setKeystoreInfo(KeyStoreInfo keystoreInfo)
UrlAlias.Builder
setQuery(java.lang.String query)
Search query to be applied, if any.UrlAlias.Builder
setRequestBody(com.vmware.vapi.bindings.Structure requestBody)
A raw request body in the form json format for a given url.UrlAlias.Builder
setRequestHeaders(com.vmware.vapi.bindings.Structure requestHeaders)
A raw request header in the form json format for a given url.UrlAlias.Builder
setRequestMethod(java.lang.String requestMethod)
Possible values are:UrlAlias.REQUEST_METHOD_GET
UrlAlias.REQUEST_METHOD_POST
Type of the http method (Get, Post) to be used while invoking the given url through dashboard datasource framework.UrlAlias.Builder
setUrl(java.lang.String url)
Url to fetch data from.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofUrlAlias
.
-
-
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.
-
setRequestMethod
public UrlAlias.Builder setRequestMethod(java.lang.String requestMethod)
Possible values are: Type of the http method (Get, Post) to be used while invoking the given url through dashboard datasource framework.- Parameters:
requestMethod
- 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.
-
build
public UrlAlias build()
-
-