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