@Generated(value="software.amazon.awssdk:codegen") public final class Destination extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Destination.Builder,Destination>
Contains information about the destination receiving events.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Destination.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Destination.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
location()
For channels used for a CloudTrail Lake integration, the location is the ARN of an event data store that receives
events from a channel.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Destination.Builder> |
serializableBuilderClass() |
Destination.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
DestinationType |
type()
The type of destination for events arriving from a channel.
|
String |
typeAsString()
The type of destination for events arriving from a channel.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final DestinationType type()
The type of destination for events arriving from a channel. For channels used for a CloudTrail Lake integration,
the value is EventDataStore. For service-linked channels, the value is AWS_SERVICE.
If the service returns an enum value that is not available in the current SDK version, type will return
DestinationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
EventDataStore. For service-linked channels, the value is
AWS_SERVICE.DestinationTypepublic final String typeAsString()
The type of destination for events arriving from a channel. For channels used for a CloudTrail Lake integration,
the value is EventDataStore. For service-linked channels, the value is AWS_SERVICE.
If the service returns an enum value that is not available in the current SDK version, type will return
DestinationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
EventDataStore. For service-linked channels, the value is
AWS_SERVICE.DestinationTypepublic final String location()
For channels used for a CloudTrail Lake integration, the location is the ARN of an event data store that receives events from a channel. For service-linked channels, the location is the name of the Amazon Web Services service.
public Destination.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Destination.Builder,Destination>public static Destination.Builder builder()
public static Class<? extends Destination.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.