@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
- EventType
public 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
- EventType
public EventDestinationDefinition withMatchingEventTypes(Collection<String> matchingEventTypes)
matchingEventTypes
- EventType
public EventDestinationDefinition withMatchingEventTypes(EventType... matchingEventTypes)
matchingEventTypes
- EventType
public void setSnsDestination(SnsDestination snsDestination)
snsDestination
- public SnsDestination getSnsDestination()
public EventDestinationDefinition withSnsDestination(SnsDestination snsDestination)
snsDestination
- public String toString()
toString
in class Object
Object.toString()
public EventDestinationDefinition clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.