Class GetAccessTokenOptions.Builder
- java.lang.Object
-
- com.ibm.cloud.watsonxdata.watsonx_data.v1.model.GetAccessTokenOptions.Builder
-
- Enclosing class:
- GetAccessTokenOptions
public static class GetAccessTokenOptions.Builder extends java.lang.Object
Builder.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Instantiates a new builder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetAccessTokenOptions.Builder
authInstanceId(java.lang.String authInstanceId)
Set the authInstanceId.GetAccessTokenOptions
build()
Builds a GetAccessTokenOptions.GetAccessTokenOptions.Builder
instanceId(java.lang.String instanceId)
Set the instanceId.GetAccessTokenOptions.Builder
instanceName(java.lang.String instanceName)
Set the instanceName.GetAccessTokenOptions.Builder
password(java.lang.String password)
Set the password.GetAccessTokenOptions.Builder
setCookie(java.lang.Boolean setCookie)
Set the setCookie.GetAccessTokenOptions.Builder
username(java.lang.String username)
Set the username.
-
-
-
Method Detail
-
build
public GetAccessTokenOptions build()
Builds a GetAccessTokenOptions.- Returns:
- the new GetAccessTokenOptions instance
-
instanceName
public GetAccessTokenOptions.Builder instanceName(java.lang.String instanceName)
Set the instanceName.- Parameters:
instanceName
- the instanceName- Returns:
- the GetAccessTokenOptions builder
-
password
public GetAccessTokenOptions.Builder password(java.lang.String password)
Set the password.- Parameters:
password
- the password- Returns:
- the GetAccessTokenOptions builder
-
username
public GetAccessTokenOptions.Builder username(java.lang.String username)
Set the username.- Parameters:
username
- the username- Returns:
- the GetAccessTokenOptions builder
-
instanceId
public GetAccessTokenOptions.Builder instanceId(java.lang.String instanceId)
Set the instanceId.- Parameters:
instanceId
- the instanceId- Returns:
- the GetAccessTokenOptions builder
-
authInstanceId
public GetAccessTokenOptions.Builder authInstanceId(java.lang.String authInstanceId)
Set the authInstanceId.- Parameters:
authInstanceId
- the authInstanceId- Returns:
- the GetAccessTokenOptions builder
-
setCookie
public GetAccessTokenOptions.Builder setCookie(java.lang.Boolean setCookie)
Set the setCookie.- Parameters:
setCookie
- the setCookie- Returns:
- the GetAccessTokenOptions builder
-
-