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