@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EventDataStore extends Object implements Serializable, Cloneable, StructuredPojo
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 from the last 90 to 2555 days (about three months to up to seven years). To select events for an event data store, use advanced event selectors.
Constructor and Description |
---|
EventDataStore() |
Modifier and Type | Method and Description |
---|---|
EventDataStore |
clone() |
boolean |
equals(Object obj) |
List<AdvancedEventSelector> |
getAdvancedEventSelectors()
The advanced event selectors that were used to select events for the data store.
|
Date |
getCreatedTimestamp()
The timestamp of the event data store's creation.
|
String |
getEventDataStoreArn()
The ARN of the event data store.
|
Boolean |
getMultiRegionEnabled()
Indicates whether the event data store includes events from all regions, or only from the region in which it was
created.
|
String |
getName()
The name of the event data store.
|
Boolean |
getOrganizationEnabled()
Indicates that an event data store is collecting logged events for an organization.
|
Integer |
getRetentionPeriod()
The retention period, in days.
|
String |
getStatus()
The status of an event data store.
|
Boolean |
getTerminationProtectionEnabled()
Indicates whether the event data store is protected from termination.
|
Date |
getUpdatedTimestamp()
The timestamp showing when an event data store was updated, if applicable.
|
int |
hashCode() |
Boolean |
isMultiRegionEnabled()
Indicates whether the event data store includes events from all regions, or only from the region in which it was
created.
|
Boolean |
isOrganizationEnabled()
Indicates that an event data store is collecting logged events for an organization.
|
Boolean |
isTerminationProtectionEnabled()
Indicates whether the event data store is protected from termination.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAdvancedEventSelectors(Collection<AdvancedEventSelector> advancedEventSelectors)
The advanced event selectors that were used to select events for the data store.
|
void |
setCreatedTimestamp(Date createdTimestamp)
The timestamp of the event data store's creation.
|
void |
setEventDataStoreArn(String eventDataStoreArn)
The ARN of the event data store.
|
void |
setMultiRegionEnabled(Boolean multiRegionEnabled)
Indicates whether the event data store includes events from all regions, or only from the region in which it was
created.
|
void |
setName(String name)
The name of the event data store.
|
void |
setOrganizationEnabled(Boolean organizationEnabled)
Indicates that an event data store is collecting logged events for an organization.
|
void |
setRetentionPeriod(Integer retentionPeriod)
The retention period, in days.
|
void |
setStatus(String status)
The status of an event data store.
|
void |
setTerminationProtectionEnabled(Boolean terminationProtectionEnabled)
Indicates whether the event data store is protected from termination.
|
void |
setUpdatedTimestamp(Date updatedTimestamp)
The timestamp showing when an event data store was updated, if applicable.
|
String |
toString()
Returns a string representation of this object.
|
EventDataStore |
withAdvancedEventSelectors(AdvancedEventSelector... advancedEventSelectors)
The advanced event selectors that were used to select events for the data store.
|
EventDataStore |
withAdvancedEventSelectors(Collection<AdvancedEventSelector> advancedEventSelectors)
The advanced event selectors that were used to select events for the data store.
|
EventDataStore |
withCreatedTimestamp(Date createdTimestamp)
The timestamp of the event data store's creation.
|
EventDataStore |
withEventDataStoreArn(String eventDataStoreArn)
The ARN of the event data store.
|
EventDataStore |
withMultiRegionEnabled(Boolean multiRegionEnabled)
Indicates whether the event data store includes events from all regions, or only from the region in which it was
created.
|
EventDataStore |
withName(String name)
The name of the event data store.
|
EventDataStore |
withOrganizationEnabled(Boolean organizationEnabled)
Indicates that an event data store is collecting logged events for an organization.
|
EventDataStore |
withRetentionPeriod(Integer retentionPeriod)
The retention period, in days.
|
EventDataStore |
withStatus(EventDataStoreStatus status)
The status of an event data store.
|
EventDataStore |
withStatus(String status)
The status of an event data store.
|
EventDataStore |
withTerminationProtectionEnabled(Boolean terminationProtectionEnabled)
Indicates whether the event data store is protected from termination.
|
EventDataStore |
withUpdatedTimestamp(Date updatedTimestamp)
The timestamp showing when an event data store was updated, if applicable.
|
public void setEventDataStoreArn(String eventDataStoreArn)
The ARN of the event data store.
eventDataStoreArn
- The ARN of the event data store.public String getEventDataStoreArn()
The ARN of the event data store.
public EventDataStore withEventDataStoreArn(String eventDataStoreArn)
The ARN of the event data store.
eventDataStoreArn
- The ARN of the event data store.public void setName(String name)
The name of the event data store.
name
- The name of the event data store.public String getName()
The name of the event data store.
public EventDataStore withName(String name)
The name of the event data store.
name
- The name of the event data store.public void setTerminationProtectionEnabled(Boolean terminationProtectionEnabled)
Indicates whether the event data store is protected from termination.
terminationProtectionEnabled
- Indicates whether the event data store is protected from termination.public Boolean getTerminationProtectionEnabled()
Indicates whether the event data store is protected from termination.
public EventDataStore withTerminationProtectionEnabled(Boolean terminationProtectionEnabled)
Indicates whether the event data store is protected from termination.
terminationProtectionEnabled
- Indicates whether the event data store is protected from termination.public Boolean isTerminationProtectionEnabled()
Indicates whether the event data store is protected from termination.
public void setStatus(String status)
The status of an event data store. Values are ENABLED
and PENDING_DELETION
.
status
- The status of an event data store. Values are ENABLED
and PENDING_DELETION
.EventDataStoreStatus
public String getStatus()
The status of an event data store. Values are ENABLED
and PENDING_DELETION
.
ENABLED
and PENDING_DELETION
.EventDataStoreStatus
public EventDataStore withStatus(String status)
The status of an event data store. Values are ENABLED
and PENDING_DELETION
.
status
- The status of an event data store. Values are ENABLED
and PENDING_DELETION
.EventDataStoreStatus
public EventDataStore withStatus(EventDataStoreStatus status)
The status of an event data store. Values are ENABLED
and PENDING_DELETION
.
status
- The status of an event data store. Values are ENABLED
and PENDING_DELETION
.EventDataStoreStatus
public List<AdvancedEventSelector> getAdvancedEventSelectors()
The advanced event selectors that were used to select events for the data store.
public void setAdvancedEventSelectors(Collection<AdvancedEventSelector> advancedEventSelectors)
The advanced event selectors that were used to select events for the data store.
advancedEventSelectors
- The advanced event selectors that were used to select events for the data store.public EventDataStore withAdvancedEventSelectors(AdvancedEventSelector... advancedEventSelectors)
The advanced event selectors that were used to select events for the data store.
NOTE: This method appends the values to the existing list (if any). Use
setAdvancedEventSelectors(java.util.Collection)
or
withAdvancedEventSelectors(java.util.Collection)
if you want to override the existing values.
advancedEventSelectors
- The advanced event selectors that were used to select events for the data store.public EventDataStore withAdvancedEventSelectors(Collection<AdvancedEventSelector> advancedEventSelectors)
The advanced event selectors that were used to select events for the data store.
advancedEventSelectors
- The advanced event selectors that were used to select events for the data store.public void setMultiRegionEnabled(Boolean multiRegionEnabled)
Indicates whether the event data store includes events from all regions, or only from the region in which it was created.
multiRegionEnabled
- Indicates whether the event data store includes events from all regions, or only from the region in which
it was created.public Boolean getMultiRegionEnabled()
Indicates whether the event data store includes events from all regions, or only from the region in which it was created.
public EventDataStore withMultiRegionEnabled(Boolean multiRegionEnabled)
Indicates whether the event data store includes events from all regions, or only from the region in which it was created.
multiRegionEnabled
- Indicates whether the event data store includes events from all regions, or only from the region in which
it was created.public Boolean isMultiRegionEnabled()
Indicates whether the event data store includes events from all regions, or only from the region in which it was created.
public void setOrganizationEnabled(Boolean organizationEnabled)
Indicates that an event data store is collecting logged events for an organization.
organizationEnabled
- Indicates that an event data store is collecting logged events for an organization.public Boolean getOrganizationEnabled()
Indicates that an event data store is collecting logged events for an organization.
public EventDataStore withOrganizationEnabled(Boolean organizationEnabled)
Indicates that an event data store is collecting logged events for an organization.
organizationEnabled
- Indicates that an event data store is collecting logged events for an organization.public Boolean isOrganizationEnabled()
Indicates that an event data store is collecting logged events for an organization.
public void setRetentionPeriod(Integer retentionPeriod)
The retention period, in days.
retentionPeriod
- The retention period, in days.public Integer getRetentionPeriod()
The retention period, in days.
public EventDataStore withRetentionPeriod(Integer retentionPeriod)
The retention period, in days.
retentionPeriod
- The retention period, in days.public void setCreatedTimestamp(Date createdTimestamp)
The timestamp of the event data store's creation.
createdTimestamp
- The timestamp of the event data store's creation.public Date getCreatedTimestamp()
The timestamp of the event data store's creation.
public EventDataStore withCreatedTimestamp(Date createdTimestamp)
The timestamp of the event data store's creation.
createdTimestamp
- The timestamp of the event data store's creation.public void setUpdatedTimestamp(Date updatedTimestamp)
The timestamp showing when an event data store was updated, if applicable. UpdatedTimestamp
is
always either the same or newer than the time shown in CreatedTimestamp
.
updatedTimestamp
- The timestamp showing when an event data store was updated, if applicable. UpdatedTimestamp
is always either the same or newer than the time shown in CreatedTimestamp
.public Date getUpdatedTimestamp()
The timestamp showing when an event data store was updated, if applicable. UpdatedTimestamp
is
always either the same or newer than the time shown in CreatedTimestamp
.
UpdatedTimestamp
is always either the same or newer than the time shown in CreatedTimestamp
.public EventDataStore withUpdatedTimestamp(Date updatedTimestamp)
The timestamp showing when an event data store was updated, if applicable. UpdatedTimestamp
is
always either the same or newer than the time shown in CreatedTimestamp
.
updatedTimestamp
- The timestamp showing when an event data store was updated, if applicable. UpdatedTimestamp
is always either the same or newer than the time shown in CreatedTimestamp
.public String toString()
toString
in class Object
Object.toString()
public EventDataStore clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.