@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EventDestinationDefinition extends Object implements Serializable, Cloneable, StructuredPojo
| Constructor and Description |
|---|
EventDestinationDefinition() |
public void setCloudWatchLogsDestination(CloudWatchLogsDestination cloudWatchLogsDestination)
cloudWatchLogsDestination - public CloudWatchLogsDestination getCloudWatchLogsDestination()
public EventDestinationDefinition withCloudWatchLogsDestination(CloudWatchLogsDestination cloudWatchLogsDestination)
cloudWatchLogsDestination - public void setEnabled(Boolean enabled)
enabled - Indicates whether or not the event destination is enabled. If the event destination is enabled, then
Amazon Pinpoint sends response data to the specified event destination.public Boolean getEnabled()
public EventDestinationDefinition withEnabled(Boolean enabled)
enabled - Indicates whether or not the event destination is enabled. If the event destination is enabled, then
Amazon Pinpoint sends response data to the specified event destination.public Boolean isEnabled()
public void setKinesisFirehoseDestination(KinesisFirehoseDestination kinesisFirehoseDestination)
kinesisFirehoseDestination - public KinesisFirehoseDestination getKinesisFirehoseDestination()
public EventDestinationDefinition withKinesisFirehoseDestination(KinesisFirehoseDestination kinesisFirehoseDestination)
kinesisFirehoseDestination - public void setMatchingEventTypes(Collection<String> matchingEventTypes)
matchingEventTypes - EventTypepublic EventDestinationDefinition withMatchingEventTypes(String... matchingEventTypes)
NOTE: This method appends the values to the existing list (if any). Use
setMatchingEventTypes(java.util.Collection) or withMatchingEventTypes(java.util.Collection) if
you want to override the existing values.
matchingEventTypes - EventTypepublic EventDestinationDefinition withMatchingEventTypes(Collection<String> matchingEventTypes)
matchingEventTypes - EventTypepublic EventDestinationDefinition withMatchingEventTypes(EventType... matchingEventTypes)
matchingEventTypes - EventTypepublic void setSnsDestination(SnsDestination snsDestination)
snsDestination - public SnsDestination getSnsDestination()
public EventDestinationDefinition withSnsDestination(SnsDestination snsDestination)
snsDestination - public String toString()
toString in class ObjectObject.toString()public EventDestinationDefinition clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.