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 DeleteCredentialsOptionsbuild()Builds a DeleteCredentialsOptions.DeleteCredentialsOptions.BuildercredentialId(String credentialId)Set the credentialId.DeleteCredentialsOptions.BuilderenvironmentId(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
-