Class Destination
- java.lang.Object
-
- software.amazon.awssdk.services.cloudtrail.model.Destination
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Destination.Builder,Destination>
@Generated("software.amazon.awssdk:codegen") public final class Destination extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Destination.Builder,Destination>
Contains information about the destination receiving events.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDestination.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Destination.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringlocation()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.BuildertoBuilder()StringtoString()Returns a string representation of this object.DestinationTypetype()The type of destination for events arriving from a channel.StringtypeAsString()The type of destination for events arriving from a channel.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
type
public final DestinationType type()
The type of destination for events arriving from a channel. For channels used for a CloudTrail Lake integration, the value is
EVENT_DATA_STORE. For service-linked channels, the value isAWS_SERVICE.If the service returns an enum value that is not available in the current SDK version,
typewill returnDestinationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of destination for events arriving from a channel. For channels used for a CloudTrail Lake
integration, the value is
EVENT_DATA_STORE. For service-linked channels, the value isAWS_SERVICE. - See Also:
DestinationType
-
typeAsString
public final String typeAsString()
The type of destination for events arriving from a channel. For channels used for a CloudTrail Lake integration, the value is
EVENT_DATA_STORE. For service-linked channels, the value isAWS_SERVICE.If the service returns an enum value that is not available in the current SDK version,
typewill returnDestinationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of destination for events arriving from a channel. For channels used for a CloudTrail Lake
integration, the value is
EVENT_DATA_STORE. For service-linked channels, the value isAWS_SERVICE. - See Also:
DestinationType
-
location
public 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.
- Returns:
- 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.
-
toBuilder
public Destination.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Destination.Builder,Destination>
-
builder
public static Destination.Builder builder()
-
serializableBuilderClass
public static Class<? extends Destination.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-