Class GetJpegImageOptions
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.visual_recognition.v4.model.GetJpegImageOptions
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class GetJpegImageOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
The getJpegImage options.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GetJpegImageOptions.Builder
Builder.static interface
GetJpegImageOptions.Size
The image size. -
Method Summary
Modifier and Type Method Description String
collectionId()
Gets the collectionId.String
imageId()
Gets the imageId.GetJpegImageOptions.Builder
newBuilder()
New builder.String
size()
Gets the size.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Method Details
-
newBuilder
New builder.- Returns:
- a GetJpegImageOptions builder
-
collectionId
Gets the collectionId.The identifier of the collection.
- Returns:
- the collectionId
-
imageId
Gets the imageId.The identifier of the image.
- Returns:
- the imageId
-
size
Gets the size.The image size. Specify `thumbnail` to return a version that maintains the original aspect ratio but is no larger than 200 pixels in the larger dimension. For example, an original 800 x 1000 image is resized to 160 x 200 pixels.
- Returns:
- the size
-