@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.LabelDetectionSortBy
public String getSortBy()
The sorting method chosen for a GetLabelDetection request.
LabelDetectionSortBy
public GetLabelDetectionRequestMetadata withSortBy(String sortBy)
The sorting method chosen for a GetLabelDetection request.
sortBy
- The sorting method chosen for a GetLabelDetection request.LabelDetectionSortBy
public GetLabelDetectionRequestMetadata withSortBy(LabelDetectionSortBy sortBy)
The sorting method chosen for a GetLabelDetection request.
sortBy
- The sorting method chosen for a GetLabelDetection request.LabelDetectionSortBy
public void setAggregateBy(String aggregateBy)
The aggregation method chosen for a GetLabelDetection request.
aggregateBy
- The aggregation method chosen for a GetLabelDetection request.LabelDetectionAggregateBy
public String getAggregateBy()
The aggregation method chosen for a GetLabelDetection request.
LabelDetectionAggregateBy
public GetLabelDetectionRequestMetadata withAggregateBy(String aggregateBy)
The aggregation method chosen for a GetLabelDetection request.
aggregateBy
- The aggregation method chosen for a GetLabelDetection request.LabelDetectionAggregateBy
public GetLabelDetectionRequestMetadata withAggregateBy(LabelDetectionAggregateBy aggregateBy)
The aggregation method chosen for a GetLabelDetection request.
aggregateBy
- The aggregation method chosen for a GetLabelDetection request.LabelDetectionAggregateBy
public String toString()
toString
in class Object
Object.toString()
public GetLabelDetectionRequestMetadata clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.