Class EventDataStore
- java.lang.Object
-
- software.amazon.awssdk.services.cloudtrail.model.EventDataStore
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<EventDataStore.Builder,EventDataStore>
@Generated("software.amazon.awssdk:codegen") public final class EventDataStore extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EventDataStore.Builder,EventDataStore>
A storage lake of event data against which you can run complex SQL-based queries. An event data store can include events that you have logged on your account. To select events for an event data store, use advanced event selectors.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceEventDataStore.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description List<AdvancedEventSelector>advancedEventSelectors()Deprecated.AdvancedEventSelectors is no longer returned by ListEventDataStoresstatic EventDataStore.Builderbuilder()InstantcreatedTimestamp()Deprecated.CreatedTimestamp is no longer returned by ListEventDataStoresbooleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringeventDataStoreArn()The ARN of the event data store.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)booleanhasAdvancedEventSelectors()Deprecated.AdvancedEventSelectors is no longer returned by ListEventDataStoresinthashCode()BooleanmultiRegionEnabled()Deprecated.MultiRegionEnabled is no longer returned by ListEventDataStoresStringname()The name of the event data store.BooleanorganizationEnabled()Deprecated.OrganizationEnabled is no longer returned by ListEventDataStoresIntegerretentionPeriod()Deprecated.RetentionPeriod is no longer returned by ListEventDataStoresList<SdkField<?>>sdkFields()static Class<? extends EventDataStore.Builder>serializableBuilderClass()EventDataStoreStatusstatus()Deprecated.Status is no longer returned by ListEventDataStoresStringstatusAsString()Deprecated.Status is no longer returned by ListEventDataStoresBooleanterminationProtectionEnabled()Deprecated.TerminationProtectionEnabled is no longer returned by ListEventDataStoresEventDataStore.BuildertoBuilder()StringtoString()Returns a string representation of this object.InstantupdatedTimestamp()Deprecated.UpdatedTimestamp is no longer returned by ListEventDataStores-
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
-
eventDataStoreArn
public final String eventDataStoreArn()
The ARN of the event data store.
- Returns:
- The ARN of the event data store.
-
name
public final String name()
The name of the event data store.
- Returns:
- The name of the event data store.
-
terminationProtectionEnabled
@Deprecated public final Boolean terminationProtectionEnabled()
Deprecated.TerminationProtectionEnabled is no longer returned by ListEventDataStoresIndicates whether the event data store is protected from termination.
- Returns:
- Indicates whether the event data store is protected from termination.
-
status
@Deprecated public final EventDataStoreStatus status()
Deprecated.Status is no longer returned by ListEventDataStoresThe status of an event data store.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnEventDataStoreStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of an event data store.
- See Also:
EventDataStoreStatus
-
statusAsString
@Deprecated public final String statusAsString()
Deprecated.Status is no longer returned by ListEventDataStoresThe status of an event data store.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnEventDataStoreStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of an event data store.
- See Also:
EventDataStoreStatus
-
hasAdvancedEventSelectors
@Deprecated public final boolean hasAdvancedEventSelectors()
Deprecated.AdvancedEventSelectors is no longer returned by ListEventDataStoresFor responses, this returns true if the service returned a value for the AdvancedEventSelectors property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
-
advancedEventSelectors
@Deprecated public final List<AdvancedEventSelector> advancedEventSelectors()
Deprecated.AdvancedEventSelectors is no longer returned by ListEventDataStoresThe advanced event selectors that were used to select events for the data store.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasAdvancedEventSelectors()method.- Returns:
- The advanced event selectors that were used to select events for the data store.
-
multiRegionEnabled
@Deprecated public final Boolean multiRegionEnabled()
Deprecated.MultiRegionEnabled is no longer returned by ListEventDataStoresIndicates whether the event data store includes events from all Regions, or only from the Region in which it was created.
- Returns:
- Indicates whether the event data store includes events from all Regions, or only from the Region in which it was created.
-
organizationEnabled
@Deprecated public final Boolean organizationEnabled()
Deprecated.OrganizationEnabled is no longer returned by ListEventDataStoresIndicates that an event data store is collecting logged events for an organization.
- Returns:
- Indicates that an event data store is collecting logged events for an organization.
-
retentionPeriod
@Deprecated public final Integer retentionPeriod()
Deprecated.RetentionPeriod is no longer returned by ListEventDataStoresThe retention period, in days.
- Returns:
- The retention period, in days.
-
createdTimestamp
@Deprecated public final Instant createdTimestamp()
Deprecated.CreatedTimestamp is no longer returned by ListEventDataStoresThe timestamp of the event data store's creation.
- Returns:
- The timestamp of the event data store's creation.
-
updatedTimestamp
@Deprecated public final Instant updatedTimestamp()
Deprecated.UpdatedTimestamp is no longer returned by ListEventDataStoresThe timestamp showing when an event data store was updated, if applicable.
UpdatedTimestampis always either the same or newer than the time shown inCreatedTimestamp.- Returns:
- The timestamp showing when an event data store was updated, if applicable.
UpdatedTimestampis always either the same or newer than the time shown inCreatedTimestamp.
-
toBuilder
public EventDataStore.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<EventDataStore.Builder,EventDataStore>
-
builder
public static EventDataStore.Builder builder()
-
serializableBuilderClass
public static Class<? extends EventDataStore.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.
-
-