Class GetCredentialsOptions.Builder
java.lang.Object
com.ibm.watson.discovery.v1.model.GetCredentialsOptions.Builder
- Enclosing class:
- GetCredentialsOptions
public static class GetCredentialsOptions.Builder extends Object
Builder.
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description GetCredentialsOptions
build()
Builds a GetCredentialsOptions.GetCredentialsOptions.Builder
credentialId(String credentialId)
Set the credentialId.GetCredentialsOptions.Builder
environmentId(String environmentId)
Set the environmentId.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder. -
Builder
Instantiates a new builder with required properties.- Parameters:
environmentId
- the environmentIdcredentialId
- the credentialId
-
-
Method Details
-
build
Builds a GetCredentialsOptions.- Returns:
- the new GetCredentialsOptions instance
-
environmentId
Set the environmentId.- Parameters:
environmentId
- the environmentId- Returns:
- the GetCredentialsOptions builder
-
credentialId
Set the credentialId.- Parameters:
credentialId
- the credentialId- Returns:
- the GetCredentialsOptions builder
-