Class DeleteCredentialsOptions.Builder
java.lang.Object
com.ibm.watson.discovery.v1.model.DeleteCredentialsOptions.Builder
- Enclosing class:
- DeleteCredentialsOptions
public static class DeleteCredentialsOptions.Builder extends Object
Builder.
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description DeleteCredentialsOptions
build()
Builds a DeleteCredentialsOptions.DeleteCredentialsOptions.Builder
credentialId(String credentialId)
Set the credentialId.DeleteCredentialsOptions.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 DeleteCredentialsOptions.- Returns:
- the new DeleteCredentialsOptions instance
-
environmentId
Set the environmentId.- Parameters:
environmentId
- the environmentId- Returns:
- the DeleteCredentialsOptions builder
-
credentialId
Set the credentialId.- Parameters:
credentialId
- the credentialId- Returns:
- the DeleteCredentialsOptions builder
-