@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DatasetLabelDescription extends Object implements Serializable, Cloneable, StructuredPojo
Describes a dataset label. For more information, see ListDatasetLabels.
| Constructor and Description |
|---|
DatasetLabelDescription() |
| Modifier and Type | Method and Description |
|---|---|
DatasetLabelDescription |
clone() |
boolean |
equals(Object obj) |
String |
getLabelName()
The name of the label.
|
DatasetLabelStats |
getLabelStats()
Statistics about the label.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setLabelName(String labelName)
The name of the label.
|
void |
setLabelStats(DatasetLabelStats labelStats)
Statistics about the label.
|
String |
toString()
Returns a string representation of this object.
|
DatasetLabelDescription |
withLabelName(String labelName)
The name of the label.
|
DatasetLabelDescription |
withLabelStats(DatasetLabelStats labelStats)
Statistics about the label.
|
public void setLabelName(String labelName)
The name of the label.
labelName - The name of the label.public String getLabelName()
The name of the label.
public DatasetLabelDescription withLabelName(String labelName)
The name of the label.
labelName - The name of the label.public void setLabelStats(DatasetLabelStats labelStats)
Statistics about the label.
labelStats - Statistics about the label.public DatasetLabelStats getLabelStats()
Statistics about the label.
public DatasetLabelDescription withLabelStats(DatasetLabelStats labelStats)
Statistics about the label.
labelStats - Statistics about the label.public String toString()
toString in class ObjectObject.toString()public DatasetLabelDescription clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.