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