@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class WhenSentTo extends Object implements Serializable, Cloneable, StructuredPojo
Displays a list of the destination segments. Used only when the service insertion action is send-to.
| Constructor and Description |
|---|
WhenSentTo() |
| Modifier and Type | Method and Description |
|---|---|
WhenSentTo |
clone() |
boolean |
equals(Object obj) |
List<String> |
getWhenSentToSegmentsList()
The list of destination segments when the service insertion action is
send-to. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setWhenSentToSegmentsList(Collection<String> whenSentToSegmentsList)
The list of destination segments when the service insertion action is
send-to. |
String |
toString()
Returns a string representation of this object.
|
WhenSentTo |
withWhenSentToSegmentsList(Collection<String> whenSentToSegmentsList)
The list of destination segments when the service insertion action is
send-to. |
WhenSentTo |
withWhenSentToSegmentsList(String... whenSentToSegmentsList)
The list of destination segments when the service insertion action is
send-to. |
public List<String> getWhenSentToSegmentsList()
The list of destination segments when the service insertion action is send-to.
send-to.public void setWhenSentToSegmentsList(Collection<String> whenSentToSegmentsList)
The list of destination segments when the service insertion action is send-to.
whenSentToSegmentsList - The list of destination segments when the service insertion action is send-to.public WhenSentTo withWhenSentToSegmentsList(String... whenSentToSegmentsList)
The list of destination segments when the service insertion action is send-to.
NOTE: This method appends the values to the existing list (if any). Use
setWhenSentToSegmentsList(java.util.Collection) or
withWhenSentToSegmentsList(java.util.Collection) if you want to override the existing values.
whenSentToSegmentsList - The list of destination segments when the service insertion action is send-to.public WhenSentTo withWhenSentToSegmentsList(Collection<String> whenSentToSegmentsList)
The list of destination segments when the service insertion action is send-to.
whenSentToSegmentsList - The list of destination segments when the service insertion action is send-to.public String toString()
toString in class ObjectObject.toString()public WhenSentTo clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.