@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ServiceInsertionSegments extends Object implements Serializable, Cloneable, StructuredPojo
Describes the segments associated with the service insertion action.
Constructor and Description |
---|
ServiceInsertionSegments() |
Modifier and Type | Method and Description |
---|---|
ServiceInsertionSegments |
clone() |
boolean |
equals(Object obj) |
List<String> |
getSendTo()
The list of segments associated with the
send-to action. |
List<String> |
getSendVia()
The list of segments associated with the
send-via action. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setSendTo(Collection<String> sendTo)
The list of segments associated with the
send-to action. |
void |
setSendVia(Collection<String> sendVia)
The list of segments associated with the
send-via action. |
String |
toString()
Returns a string representation of this object.
|
ServiceInsertionSegments |
withSendTo(Collection<String> sendTo)
The list of segments associated with the
send-to action. |
ServiceInsertionSegments |
withSendTo(String... sendTo)
The list of segments associated with the
send-to action. |
ServiceInsertionSegments |
withSendVia(Collection<String> sendVia)
The list of segments associated with the
send-via action. |
ServiceInsertionSegments |
withSendVia(String... sendVia)
The list of segments associated with the
send-via action. |
public List<String> getSendVia()
The list of segments associated with the send-via
action.
send-via
action.public void setSendVia(Collection<String> sendVia)
The list of segments associated with the send-via
action.
sendVia
- The list of segments associated with the send-via
action.public ServiceInsertionSegments withSendVia(String... sendVia)
The list of segments associated with the send-via
action.
NOTE: This method appends the values to the existing list (if any). Use
setSendVia(java.util.Collection)
or withSendVia(java.util.Collection)
if you want to override
the existing values.
sendVia
- The list of segments associated with the send-via
action.public ServiceInsertionSegments withSendVia(Collection<String> sendVia)
The list of segments associated with the send-via
action.
sendVia
- The list of segments associated with the send-via
action.public List<String> getSendTo()
The list of segments associated with the send-to
action.
send-to
action.public void setSendTo(Collection<String> sendTo)
The list of segments associated with the send-to
action.
sendTo
- The list of segments associated with the send-to
action.public ServiceInsertionSegments withSendTo(String... sendTo)
The list of segments associated with the send-to
action.
NOTE: This method appends the values to the existing list (if any). Use
setSendTo(java.util.Collection)
or withSendTo(java.util.Collection)
if you want to override the
existing values.
sendTo
- The list of segments associated with the send-to
action.public ServiceInsertionSegments withSendTo(Collection<String> sendTo)
The list of segments associated with the send-to
action.
sendTo
- The list of segments associated with the send-to
action.public String toString()
toString
in class Object
Object.toString()
public ServiceInsertionSegments clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.