@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Label extends Object implements Serializable, Cloneable, StructuredPojo
A single label container. This is used as an element of a label array in multiple contexts, for example, in
RuleLabels inside a Rule and in Labels inside a SampledHTTPRequest.
| Constructor and Description |
|---|
Label() |
| Modifier and Type | Method and Description |
|---|---|
Label |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The label string.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setName(String name)
The label string.
|
String |
toString()
Returns a string representation of this object.
|
Label |
withName(String name)
The label string.
|
public void setName(String name)
The label string.
name - The label string.public String getName()
The label string.
public Label withName(String name)
The label string.
name - The label string.public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2022. All rights reserved.