Class RestCredential.Builder
- java.lang.Object
-
- com.oracle.bmc.databasemanagement.model.RestCredential.Builder
-
- Enclosing class:
- RestCredential
public static class RestCredential.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RestCredentialbuild()RestCredential.Buildercopy(RestCredential model)RestCredential.Builderpassword(String password)The password of the user.RestCredential.BuildersslTrustStoreLocation(String sslTrustStoreLocation)The full path of the SSL truststore location in the agent.RestCredential.BuildersslTrustStorePassword(String sslTrustStorePassword)The password of the SSL truststore location in the agent.RestCredential.BuildersslTrustStoreType(RestCredential.SslTrustStoreType sslTrustStoreType)The SSL truststore type.RestCredential.Builderusername(String username)The name of the user.
-
-
-
Method Detail
-
username
public RestCredential.Builder username(String username)
The name of the user.- Parameters:
username- the value to set- Returns:
- this builder
-
password
public RestCredential.Builder password(String password)
The password of the user.- Parameters:
password- the value to set- Returns:
- this builder
-
sslTrustStoreType
public RestCredential.Builder sslTrustStoreType(RestCredential.SslTrustStoreType sslTrustStoreType)
The SSL truststore type.- Parameters:
sslTrustStoreType- the value to set- Returns:
- this builder
-
sslTrustStoreLocation
public RestCredential.Builder sslTrustStoreLocation(String sslTrustStoreLocation)
The full path of the SSL truststore location in the agent.- Parameters:
sslTrustStoreLocation- the value to set- Returns:
- this builder
-
sslTrustStorePassword
public RestCredential.Builder sslTrustStorePassword(String sslTrustStorePassword)
The password of the SSL truststore location in the agent.- Parameters:
sslTrustStorePassword- the value to set- Returns:
- this builder
-
build
public RestCredential build()
-
copy
public RestCredential.Builder copy(RestCredential model)
-
-