public static class RestCredential.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
RestCredential |
build() |
RestCredential.Builder |
copy(RestCredential model) |
RestCredential.Builder |
password(String password)
The password of the user.
|
RestCredential.Builder |
sslTrustStoreLocation(String sslTrustStoreLocation)
The full path of the SSL truststore location in the agent.
|
RestCredential.Builder |
sslTrustStorePassword(String sslTrustStorePassword)
The password of the SSL truststore location in the agent.
|
RestCredential.Builder |
sslTrustStoreType(RestCredential.SslTrustStoreType sslTrustStoreType)
The SSL truststore type.
|
RestCredential.Builder |
username(String username)
The name of the user.
|
public RestCredential.Builder username(String username)
The name of the user.
username
- the value to setpublic RestCredential.Builder password(String password)
The password of the user.
password
- the value to setpublic RestCredential.Builder sslTrustStoreType(RestCredential.SslTrustStoreType sslTrustStoreType)
The SSL truststore type.
sslTrustStoreType
- the value to setpublic RestCredential.Builder sslTrustStoreLocation(String sslTrustStoreLocation)
The full path of the SSL truststore location in the agent.
sslTrustStoreLocation
- the value to setpublic RestCredential.Builder sslTrustStorePassword(String sslTrustStorePassword)
The password of the SSL truststore location in the agent.
sslTrustStorePassword
- the value to setpublic RestCredential build()
public RestCredential.Builder copy(RestCredential model)
Copyright © 2016–2024. All rights reserved.