@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EventDestination extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
EventDestination() |
Modifier and Type | Method and Description |
---|---|
EventDestination |
clone() |
boolean |
equals(Object obj) |
CloudWatchLogsDestination |
getCloudWatchLogsDestination() |
Boolean |
getEnabled()
Indicates whether or not the event destination is enabled.
|
KinesisFirehoseDestination |
getKinesisFirehoseDestination() |
List<String> |
getMatchingEventTypes() |
String |
getName()
A name that identifies the event destination configuration.
|
SnsDestination |
getSnsDestination() |
int |
hashCode() |
Boolean |
isEnabled()
Indicates whether or not the event destination is enabled.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCloudWatchLogsDestination(CloudWatchLogsDestination cloudWatchLogsDestination) |
void |
setEnabled(Boolean enabled)
Indicates whether or not the event destination is enabled.
|
void |
setKinesisFirehoseDestination(KinesisFirehoseDestination kinesisFirehoseDestination) |
void |
setMatchingEventTypes(Collection<String> matchingEventTypes) |
void |
setName(String name)
A name that identifies the event destination configuration.
|
void |
setSnsDestination(SnsDestination snsDestination) |
String |
toString()
Returns a string representation of this object.
|
EventDestination |
withCloudWatchLogsDestination(CloudWatchLogsDestination cloudWatchLogsDestination) |
EventDestination |
withEnabled(Boolean enabled)
Indicates whether or not the event destination is enabled.
|
EventDestination |
withKinesisFirehoseDestination(KinesisFirehoseDestination kinesisFirehoseDestination) |
EventDestination |
withMatchingEventTypes(Collection<String> matchingEventTypes) |
EventDestination |
withMatchingEventTypes(EventType... matchingEventTypes) |
EventDestination |
withMatchingEventTypes(String... matchingEventTypes)
NOTE: This method appends the values to the existing list (if any).
|
EventDestination |
withName(String name)
A name that identifies the event destination configuration.
|
EventDestination |
withSnsDestination(SnsDestination snsDestination) |
public void setCloudWatchLogsDestination(CloudWatchLogsDestination cloudWatchLogsDestination)
cloudWatchLogsDestination
- public CloudWatchLogsDestination getCloudWatchLogsDestination()
public EventDestination 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 EventDestination 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 EventDestination withKinesisFirehoseDestination(KinesisFirehoseDestination kinesisFirehoseDestination)
kinesisFirehoseDestination
- public void setMatchingEventTypes(Collection<String> matchingEventTypes)
matchingEventTypes
- EventType
public EventDestination 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 EventDestination withMatchingEventTypes(Collection<String> matchingEventTypes)
matchingEventTypes
- EventType
public EventDestination withMatchingEventTypes(EventType... matchingEventTypes)
matchingEventTypes
- EventType
public void setName(String name)
name
- A name that identifies the event destination configuration.public String getName()
public EventDestination withName(String name)
name
- A name that identifies the event destination configuration.public void setSnsDestination(SnsDestination snsDestination)
snsDestination
- public SnsDestination getSnsDestination()
public EventDestination withSnsDestination(SnsDestination snsDestination)
snsDestination
- public String toString()
toString
in class Object
Object.toString()
public EventDestination clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.