public static class EndpointCredentials.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
EndpointCredentials |
build() |
EndpointCredentials.Builder |
copy(EndpointCredentials model) |
EndpointCredentials.Builder |
credentialEndpoint(CredentialEndpoint credentialEndpoint) |
EndpointCredentials.Builder |
credentialName(String credentialName)
The named credential name on the management agent.
|
EndpointCredentials.Builder |
credentialType(EndpointCredentials.CredentialType credentialType)
The credential type.
|
public 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.
credentialType
- the value to setpublic EndpointCredentials.Builder credentialName(String credentialName)
The named credential name on the management agent.
credentialName
- the value to setpublic EndpointCredentials.Builder credentialEndpoint(CredentialEndpoint credentialEndpoint)
public EndpointCredentials build()
public EndpointCredentials.Builder copy(EndpointCredentials model)
Copyright © 2016–2024. All rights reserved.