ToCopyableBuilder<DetectLabelsResponse.Builder,DetectLabelsResponse>
@Generated("software.amazon.awssdk:codegen") public class DetectLabelsResponse extends AmazonWebServiceResult<ResponseMetadata> implements ToCopyableBuilder<DetectLabelsResponse.Builder,DetectLabelsResponse>
Modifier and Type | Class | Description |
---|---|---|
static interface |
DetectLabelsResponse.Builder |
Modifier and Type | Method | Description |
---|---|---|
static DetectLabelsResponse.Builder |
builder() |
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
List<Label> |
labels() |
An array of labels for the real-world objects detected.
|
String |
orientationCorrection() |
The orientation of the input image (counter-clockwise direction).
|
static Class<? extends DetectLabelsResponse.Builder> |
serializableBuilderClass() |
|
DetectLabelsResponse.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
setSdkHttpMetadata, setSdkResponseMetadata
public List<Label> labels()
An array of labels for the real-world objects detected.
public String orientationCorrection()
The orientation of the input image (counter-clockwise direction). If your application displays the image, you can use this value to correct the orientation. If Amazon Rekognition detects that the input image was rotated (for example, by 90 degrees), it first corrects the orientation before detecting the labels.
If the input image Exif metadata populates the orientation field, Amazon Rekognition does not perform orientation correction and the value of OrientationCorrection will be null.
If the input image Exif metadata populates the orientation field, Amazon Rekognition does not perform orientation correction and the value of OrientationCorrection will be null.
OrientationCorrection
public DetectLabelsResponse.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<DetectLabelsResponse.Builder,DetectLabelsResponse>
public static DetectLabelsResponse.Builder builder()
public static Class<? extends DetectLabelsResponse.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.