Class DeleteObjectOptions.Builder
java.lang.Object
com.ibm.watson.visual_recognition.v4.model.DeleteObjectOptions.Builder
- Enclosing class:
- DeleteObjectOptions
public static class DeleteObjectOptions.Builder extends Object
Builder.
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description DeleteObjectOptions
build()
Builds a DeleteObjectOptions.DeleteObjectOptions.Builder
collectionId(String collectionId)
Set the collectionId.DeleteObjectOptions.Builder
object(String object)
Set the object.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder. -
Builder
Instantiates a new builder with required properties.- Parameters:
collectionId
- the collectionIdobject
- the object
-
-
Method Details
-
build
Builds a DeleteObjectOptions.- Returns:
- the new DeleteObjectOptions instance
-
collectionId
Set the collectionId.- Parameters:
collectionId
- the collectionId- Returns:
- the DeleteObjectOptions builder
-
object
Set the object.- Parameters:
object
- the object- Returns:
- the DeleteObjectOptions builder
-