@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetLabelDetectionRequestMetadata extends Object implements Serializable, Cloneable, StructuredPojo
Contains metadata about a label detection request, including the SortBy and AggregateBy options.
| Constructor and Description | 
|---|
| GetLabelDetectionRequestMetadata() | 
| Modifier and Type | Method and Description | 
|---|---|
| GetLabelDetectionRequestMetadata | clone() | 
| boolean | equals(Object obj) | 
| String | getAggregateBy()
 The aggregation method chosen for a GetLabelDetection request. | 
| String | getSortBy()
 The sorting method chosen for a GetLabelDetection request. | 
| int | hashCode() | 
| void | marshall(ProtocolMarshaller protocolMarshaller)Marshalls this structured data using the given  ProtocolMarshaller. | 
| void | setAggregateBy(String aggregateBy)
 The aggregation method chosen for a GetLabelDetection request. | 
| void | setSortBy(String sortBy)
 The sorting method chosen for a GetLabelDetection request. | 
| String | toString()Returns a string representation of this object. | 
| GetLabelDetectionRequestMetadata | withAggregateBy(LabelDetectionAggregateBy aggregateBy)
 The aggregation method chosen for a GetLabelDetection request. | 
| GetLabelDetectionRequestMetadata | withAggregateBy(String aggregateBy)
 The aggregation method chosen for a GetLabelDetection request. | 
| GetLabelDetectionRequestMetadata | withSortBy(LabelDetectionSortBy sortBy)
 The sorting method chosen for a GetLabelDetection request. | 
| GetLabelDetectionRequestMetadata | withSortBy(String sortBy)
 The sorting method chosen for a GetLabelDetection request. | 
public void setSortBy(String sortBy)
The sorting method chosen for a GetLabelDetection request.
sortBy - The sorting method chosen for a GetLabelDetection request.LabelDetectionSortBypublic String getSortBy()
The sorting method chosen for a GetLabelDetection request.
LabelDetectionSortBypublic GetLabelDetectionRequestMetadata withSortBy(String sortBy)
The sorting method chosen for a GetLabelDetection request.
sortBy - The sorting method chosen for a GetLabelDetection request.LabelDetectionSortBypublic GetLabelDetectionRequestMetadata withSortBy(LabelDetectionSortBy sortBy)
The sorting method chosen for a GetLabelDetection request.
sortBy - The sorting method chosen for a GetLabelDetection request.LabelDetectionSortBypublic void setAggregateBy(String aggregateBy)
The aggregation method chosen for a GetLabelDetection request.
aggregateBy - The aggregation method chosen for a GetLabelDetection request.LabelDetectionAggregateBypublic String getAggregateBy()
The aggregation method chosen for a GetLabelDetection request.
LabelDetectionAggregateBypublic GetLabelDetectionRequestMetadata withAggregateBy(String aggregateBy)
The aggregation method chosen for a GetLabelDetection request.
aggregateBy - The aggregation method chosen for a GetLabelDetection request.LabelDetectionAggregateBypublic GetLabelDetectionRequestMetadata withAggregateBy(LabelDetectionAggregateBy aggregateBy)
The aggregation method chosen for a GetLabelDetection request.
aggregateBy - The aggregation method chosen for a GetLabelDetection request.LabelDetectionAggregateBypublic String toString()
toString in class ObjectObject.toString()public GetLabelDetectionRequestMetadata clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.