Class EndpointProxy.Builder
- java.lang.Object
-
- com.oracle.bmc.loganalytics.model.EndpointProxy.Builder
-
- Enclosing class:
- EndpointProxy
public static class EndpointProxy.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EndpointProxy
build()
EndpointProxy.Builder
copy(EndpointProxy model)
EndpointProxy.Builder
credentialName(String credentialName)
The named credential name on the management agent, containing the proxy credentials.EndpointProxy.Builder
credentialType(EndpointProxy.CredentialType credentialType)
The credential type.EndpointProxy.Builder
url(String url)
The proxy URL.
-
-
-
Method Detail
-
url
public EndpointProxy.Builder url(String url)
The proxy URL.- Parameters:
url
- the value to set- Returns:
- this builder
-
credentialName
public EndpointProxy.Builder credentialName(String credentialName)
The named credential name on the management agent, containing the proxy credentials.- Parameters:
credentialName
- the value to set- Returns:
- this builder
-
credentialType
public EndpointProxy.Builder credentialType(EndpointProxy.CredentialType credentialType)
The credential type.NONE indicates credentials are not needed to access the proxy. BASIC_AUTH represents a username and password based model. TOKEN represents a token based model.
- Parameters:
credentialType
- the value to set- Returns:
- this builder
-
build
public EndpointProxy build()
-
copy
public EndpointProxy.Builder copy(EndpointProxy model)
-
-