@Generated(value="software.amazon.awssdk:codegen") public final class EventDestination extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EventDestination.Builder,EventDestination>
| Modifier and Type | Class and Description |
|---|---|
static interface |
EventDestination.Builder |
| Modifier and Type | Method and Description |
|---|---|
static EventDestination.Builder |
builder() |
CloudWatchLogsDestination |
cloudWatchLogsDestination()
Returns the value of the CloudWatchLogsDestination property for this object.
|
Boolean |
enabled()
Indicates whether or not the event destination is enabled.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasMatchingEventTypes()
Returns true if the MatchingEventTypes property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
KinesisFirehoseDestination |
kinesisFirehoseDestination()
Returns the value of the KinesisFirehoseDestination property for this object.
|
List<EventType> |
matchingEventTypes()
Returns the value of the MatchingEventTypes property for this object.
|
List<String> |
matchingEventTypesAsStrings()
Returns the value of the MatchingEventTypes property for this object.
|
String |
name()
A name that identifies the event destination configuration.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends EventDestination.Builder> |
serializableBuilderClass() |
SnsDestination |
snsDestination()
Returns the value of the SnsDestination property for this object.
|
EventDestination.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic CloudWatchLogsDestination cloudWatchLogsDestination()
public Boolean enabled()
public KinesisFirehoseDestination kinesisFirehoseDestination()
public List<EventType> matchingEventTypes()
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasMatchingEventTypes() to see if a value was sent in this field.
public boolean hasMatchingEventTypes()
public List<String> matchingEventTypesAsStrings()
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasMatchingEventTypes() to see if a value was sent in this field.
public String name()
public SnsDestination snsDestination()
public EventDestination.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<EventDestination.Builder,EventDestination>public static EventDestination.Builder builder()
public static Class<? extends EventDestination.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.