Class EndpointCredentials.Builder
- java.lang.Object
- 
- com.oracle.bmc.loganalytics.model.EndpointCredentials.Builder
 
- 
- Enclosing class:
- EndpointCredentials
 
 public static class EndpointCredentials.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description EndpointCredentialsbuild()EndpointCredentials.Buildercopy(EndpointCredentials model)EndpointCredentials.BuildercredentialEndpoint(CredentialEndpoint credentialEndpoint)EndpointCredentials.BuildercredentialName(String credentialName)The named credential name on the management agent.EndpointCredentials.BuildercredentialType(EndpointCredentials.CredentialType credentialType)The credential type.
 
- 
- 
- 
Method Detail- 
credentialTypepublic EndpointCredentials.Builder credentialType(EndpointCredentials.CredentialType credentialType) The credential type.NONE indicates credentials are not needed to access the endpoint. BASIC_AUTH represents a username and password based model. TOKEN could be static or dynamic. In case of dynamic tokens, also specify the endpoint from which the token must be fetched. - Parameters:
- credentialType- the value to set
- Returns:
- this builder
 
 - 
credentialNamepublic EndpointCredentials.Builder credentialName(String credentialName) The named credential name on the management agent.- Parameters:
- credentialName- the value to set
- Returns:
- this builder
 
 - 
credentialEndpointpublic EndpointCredentials.Builder credentialEndpoint(CredentialEndpoint credentialEndpoint) 
 - 
buildpublic EndpointCredentials build() 
 - 
copypublic EndpointCredentials.Builder copy(EndpointCredentials model) 
 
- 
 
-