@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Observations extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about the observed behavior.
Constructor and Description |
---|
Observations() |
Modifier and Type | Method and Description |
---|---|
Observations |
clone() |
boolean |
equals(Object obj) |
List<String> |
getText()
The text that was unusual.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setText(Collection<String> text)
The text that was unusual.
|
String |
toString()
Returns a string representation of this object.
|
Observations |
withText(Collection<String> text)
The text that was unusual.
|
Observations |
withText(String... text)
The text that was unusual.
|
public List<String> getText()
The text that was unusual.
public void setText(Collection<String> text)
The text that was unusual.
text
- The text that was unusual.public Observations withText(String... text)
The text that was unusual.
NOTE: This method appends the values to the existing list (if any). Use
setText(java.util.Collection)
or withText(java.util.Collection)
if you want to override the
existing values.
text
- The text that was unusual.public Observations withText(Collection<String> text)
The text that was unusual.
text
- The text that was unusual.public String toString()
toString
in class Object
Object.toString()
public Observations clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.