@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CustomDeliveryConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Specifies the delivery configuration settings for sending a campaign or campaign treatment through a custom channel. This object is required if you use the CampaignCustomMessage object to define the message to send for the campaign or campaign treatment.
| Constructor and Description | 
|---|
| CustomDeliveryConfiguration() | 
| Modifier and Type | Method and Description | 
|---|---|
| CustomDeliveryConfiguration | clone() | 
| boolean | equals(Object obj) | 
| String | getDeliveryUri()
 The destination to send the campaign or treatment to. | 
| List<String> | getEndpointTypes()
 The types of endpoints to send the campaign or treatment to. | 
| int | hashCode() | 
| void | marshall(ProtocolMarshaller protocolMarshaller)Marshalls this structured data using the given  ProtocolMarshaller. | 
| void | setDeliveryUri(String deliveryUri)
 The destination to send the campaign or treatment to. | 
| void | setEndpointTypes(Collection<String> endpointTypes)
 The types of endpoints to send the campaign or treatment to. | 
| String | toString()Returns a string representation of this object. | 
| CustomDeliveryConfiguration | withDeliveryUri(String deliveryUri)
 The destination to send the campaign or treatment to. | 
| CustomDeliveryConfiguration | withEndpointTypes(Collection<String> endpointTypes)
 The types of endpoints to send the campaign or treatment to. | 
| CustomDeliveryConfiguration | withEndpointTypes(EndpointTypesElement... endpointTypes)
 The types of endpoints to send the campaign or treatment to. | 
| CustomDeliveryConfiguration | withEndpointTypes(String... endpointTypes)
 The types of endpoints to send the campaign or treatment to. | 
public void setDeliveryUri(String deliveryUri)
The destination to send the campaign or treatment to. This value can be one of the following:
The name or Amazon Resource Name (ARN) of an AWS Lambda function to invoke to handle delivery of the campaign or treatment.
The URL for a web application or service that supports HTTPS and can receive the message. The URL has to be a full URL, including the HTTPS protocol.
deliveryUri - The destination to send the campaign or treatment to. This value can be one of the following:
        The name or Amazon Resource Name (ARN) of an AWS Lambda function to invoke to handle delivery of the campaign or treatment.
The URL for a web application or service that supports HTTPS and can receive the message. The URL has to be a full URL, including the HTTPS protocol.
public String getDeliveryUri()
The destination to send the campaign or treatment to. This value can be one of the following:
The name or Amazon Resource Name (ARN) of an AWS Lambda function to invoke to handle delivery of the campaign or treatment.
The URL for a web application or service that supports HTTPS and can receive the message. The URL has to be a full URL, including the HTTPS protocol.
The name or Amazon Resource Name (ARN) of an AWS Lambda function to invoke to handle delivery of the campaign or treatment.
The URL for a web application or service that supports HTTPS and can receive the message. The URL has to be a full URL, including the HTTPS protocol.
public CustomDeliveryConfiguration withDeliveryUri(String deliveryUri)
The destination to send the campaign or treatment to. This value can be one of the following:
The name or Amazon Resource Name (ARN) of an AWS Lambda function to invoke to handle delivery of the campaign or treatment.
The URL for a web application or service that supports HTTPS and can receive the message. The URL has to be a full URL, including the HTTPS protocol.
deliveryUri - The destination to send the campaign or treatment to. This value can be one of the following:
        The name or Amazon Resource Name (ARN) of an AWS Lambda function to invoke to handle delivery of the campaign or treatment.
The URL for a web application or service that supports HTTPS and can receive the message. The URL has to be a full URL, including the HTTPS protocol.
public List<String> getEndpointTypes()
The types of endpoints to send the campaign or treatment to. Each valid value maps to a type of channel that you can associate with an endpoint by using the ChannelType property of an endpoint.
EndpointTypesElementpublic void setEndpointTypes(Collection<String> endpointTypes)
The types of endpoints to send the campaign or treatment to. Each valid value maps to a type of channel that you can associate with an endpoint by using the ChannelType property of an endpoint.
endpointTypes - The types of endpoints to send the campaign or treatment to. Each valid value maps to a type of channel
        that you can associate with an endpoint by using the ChannelType property of an endpoint.EndpointTypesElementpublic CustomDeliveryConfiguration withEndpointTypes(String... endpointTypes)
The types of endpoints to send the campaign or treatment to. Each valid value maps to a type of channel that you can associate with an endpoint by using the ChannelType property of an endpoint.
 NOTE: This method appends the values to the existing list (if any). Use
 setEndpointTypes(java.util.Collection) or withEndpointTypes(java.util.Collection) if you want
 to override the existing values.
 
endpointTypes - The types of endpoints to send the campaign or treatment to. Each valid value maps to a type of channel
        that you can associate with an endpoint by using the ChannelType property of an endpoint.EndpointTypesElementpublic CustomDeliveryConfiguration withEndpointTypes(Collection<String> endpointTypes)
The types of endpoints to send the campaign or treatment to. Each valid value maps to a type of channel that you can associate with an endpoint by using the ChannelType property of an endpoint.
endpointTypes - The types of endpoints to send the campaign or treatment to. Each valid value maps to a type of channel
        that you can associate with an endpoint by using the ChannelType property of an endpoint.EndpointTypesElementpublic CustomDeliveryConfiguration withEndpointTypes(EndpointTypesElement... endpointTypes)
The types of endpoints to send the campaign or treatment to. Each valid value maps to a type of channel that you can associate with an endpoint by using the ChannelType property of an endpoint.
endpointTypes - The types of endpoints to send the campaign or treatment to. Each valid value maps to a type of channel
        that you can associate with an endpoint by using the ChannelType property of an endpoint.EndpointTypesElementpublic String toString()
toString in class ObjectObject.toString()public CustomDeliveryConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.