Class HttpQueryProperties.Builder
- java.lang.Object
-
- com.oracle.bmc.stackmonitoring.model.HttpQueryProperties.Builder
-
- Enclosing class:
- HttpQueryProperties
public static class HttpQueryProperties.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HttpQueryProperties
build()
HttpQueryProperties.Builder
copy(HttpQueryProperties model)
HttpQueryProperties.Builder
protocolType(HttpProtocolTypes protocolType)
Supported protocol of resources to be associated with this metric extension.HttpQueryProperties.Builder
responseContentType(HttpResponseContentTypes responseContentType)
Type of content response given by the http(s) URLHttpQueryProperties.Builder
scriptDetails(HttpScriptFileDetails scriptDetails)
HttpQueryProperties.Builder
url(String url)
Http(s) end point URL
-
-
-
Method Detail
-
url
public HttpQueryProperties.Builder url(String url)
Http(s) end point URL- Parameters:
url
- the value to set- Returns:
- this builder
-
responseContentType
public HttpQueryProperties.Builder responseContentType(HttpResponseContentTypes responseContentType)
Type of content response given by the http(s) URL- Parameters:
responseContentType
- the value to set- Returns:
- this builder
-
protocolType
public HttpQueryProperties.Builder protocolType(HttpProtocolTypes protocolType)
Supported protocol of resources to be associated with this metric extension.This is optional and defaults to HTTPS, which uses secure connection to the URL
- Parameters:
protocolType
- the value to set- Returns:
- this builder
-
scriptDetails
public HttpQueryProperties.Builder scriptDetails(HttpScriptFileDetails scriptDetails)
-
build
public HttpQueryProperties build()
-
copy
public HttpQueryProperties.Builder copy(HttpQueryProperties model)
-
-