public class GetJpegImageOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static class |
GetJpegImageOptions.Builder
Builder.
|
static interface |
GetJpegImageOptions.Size
The image size.
|
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
collectionId |
protected java.lang.String |
imageId |
protected java.lang.String |
size |
Modifier | Constructor and Description |
---|---|
protected |
GetJpegImageOptions(GetJpegImageOptions.Builder builder) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
collectionId()
Gets the collectionId.
|
java.lang.String |
imageId()
Gets the imageId.
|
GetJpegImageOptions.Builder |
newBuilder()
New builder.
|
java.lang.String |
size()
Gets the size.
|
protected java.lang.String collectionId
protected java.lang.String imageId
protected java.lang.String size
protected GetJpegImageOptions(GetJpegImageOptions.Builder builder)
public GetJpegImageOptions.Builder newBuilder()
public java.lang.String collectionId()
The identifier of the collection.
public java.lang.String imageId()
The identifier of the image.
public java.lang.String 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.