@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetEventDataStoreResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetEventDataStoreResult() |
Modifier and Type | Method and Description |
---|---|
GetEventDataStoreResult |
clone() |
boolean |
equals(Object obj) |
List<AdvancedEventSelector> |
getAdvancedEventSelectors()
The advanced event selectors used to select events for the data store.
|
String |
getBillingMode()
The billing mode for the event data store.
|
Date |
getCreatedTimestamp()
The timestamp of the event data store's creation.
|
String |
getEventDataStoreArn()
The event data store Amazon Resource Number (ARN).
|
String |
getFederationRoleArn()
If Lake query federation is enabled, provides the ARN of the federation role used to access the resources for the
federated event data store.
|
String |
getFederationStatus()
Indicates the Lake
query federation status.
|
String |
getKmsKeyId()
Specifies the KMS key ID that encrypts the events delivered by CloudTrail.
|
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 whether an event data store is collecting logged events for an organization in Organizations.
|
List<PartitionKey> |
getPartitionKeys()
The partition keys for the event data store.
|
Integer |
getRetentionPeriod()
The retention period of the event data store, in days.
|
String |
getStatus()
The status of an event data store.
|
Boolean |
getTerminationProtectionEnabled()
Indicates that termination protection is enabled.
|
Date |
getUpdatedTimestamp()
Shows the time that 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 whether an event data store is collecting logged events for an organization in Organizations.
|
Boolean |
isTerminationProtectionEnabled()
Indicates that termination protection is enabled.
|
void |
setAdvancedEventSelectors(Collection<AdvancedEventSelector> advancedEventSelectors)
The advanced event selectors used to select events for the data store.
|
void |
setBillingMode(String billingMode)
The billing mode for the event data store.
|
void |
setCreatedTimestamp(Date createdTimestamp)
The timestamp of the event data store's creation.
|
void |
setEventDataStoreArn(String eventDataStoreArn)
The event data store Amazon Resource Number (ARN).
|
void |
setFederationRoleArn(String federationRoleArn)
If Lake query federation is enabled, provides the ARN of the federation role used to access the resources for the
federated event data store.
|
void |
setFederationStatus(String federationStatus)
Indicates the Lake
query federation status.
|
void |
setKmsKeyId(String kmsKeyId)
Specifies the KMS key ID that encrypts the events delivered by CloudTrail.
|
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 whether an event data store is collecting logged events for an organization in Organizations.
|
void |
setPartitionKeys(Collection<PartitionKey> partitionKeys)
The partition keys for the event data store.
|
void |
setRetentionPeriod(Integer retentionPeriod)
The retention period of the event data store, in days.
|
void |
setStatus(String status)
The status of an event data store.
|
void |
setTerminationProtectionEnabled(Boolean terminationProtectionEnabled)
Indicates that termination protection is enabled.
|
void |
setUpdatedTimestamp(Date updatedTimestamp)
Shows the time that an event data store was updated, if applicable.
|
String |
toString()
Returns a string representation of this object.
|
GetEventDataStoreResult |
withAdvancedEventSelectors(AdvancedEventSelector... advancedEventSelectors)
The advanced event selectors used to select events for the data store.
|
GetEventDataStoreResult |
withAdvancedEventSelectors(Collection<AdvancedEventSelector> advancedEventSelectors)
The advanced event selectors used to select events for the data store.
|
GetEventDataStoreResult |
withBillingMode(BillingMode billingMode)
The billing mode for the event data store.
|
GetEventDataStoreResult |
withBillingMode(String billingMode)
The billing mode for the event data store.
|
GetEventDataStoreResult |
withCreatedTimestamp(Date createdTimestamp)
The timestamp of the event data store's creation.
|
GetEventDataStoreResult |
withEventDataStoreArn(String eventDataStoreArn)
The event data store Amazon Resource Number (ARN).
|
GetEventDataStoreResult |
withFederationRoleArn(String federationRoleArn)
If Lake query federation is enabled, provides the ARN of the federation role used to access the resources for the
federated event data store.
|
GetEventDataStoreResult |
withFederationStatus(FederationStatus federationStatus)
Indicates the Lake
query federation status.
|
GetEventDataStoreResult |
withFederationStatus(String federationStatus)
Indicates the Lake
query federation status.
|
GetEventDataStoreResult |
withKmsKeyId(String kmsKeyId)
Specifies the KMS key ID that encrypts the events delivered by CloudTrail.
|
GetEventDataStoreResult |
withMultiRegionEnabled(Boolean multiRegionEnabled)
Indicates whether the event data store includes events from all Regions, or only from the Region in which it was
created.
|
GetEventDataStoreResult |
withName(String name)
The name of the event data store.
|
GetEventDataStoreResult |
withOrganizationEnabled(Boolean organizationEnabled)
Indicates whether an event data store is collecting logged events for an organization in Organizations.
|
GetEventDataStoreResult |
withPartitionKeys(Collection<PartitionKey> partitionKeys)
The partition keys for the event data store.
|
GetEventDataStoreResult |
withPartitionKeys(PartitionKey... partitionKeys)
The partition keys for the event data store.
|
GetEventDataStoreResult |
withRetentionPeriod(Integer retentionPeriod)
The retention period of the event data store, in days.
|
GetEventDataStoreResult |
withStatus(EventDataStoreStatus status)
The status of an event data store.
|
GetEventDataStoreResult |
withStatus(String status)
The status of an event data store.
|
GetEventDataStoreResult |
withTerminationProtectionEnabled(Boolean terminationProtectionEnabled)
Indicates that termination protection is enabled.
|
GetEventDataStoreResult |
withUpdatedTimestamp(Date updatedTimestamp)
Shows the time that an event data store was updated, if applicable.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setEventDataStoreArn(String eventDataStoreArn)
The event data store Amazon Resource Number (ARN).
eventDataStoreArn
- The event data store Amazon Resource Number (ARN).public String getEventDataStoreArn()
The event data store Amazon Resource Number (ARN).
public GetEventDataStoreResult withEventDataStoreArn(String eventDataStoreArn)
The event data store Amazon Resource Number (ARN).
eventDataStoreArn
- The event data store Amazon Resource Number (ARN).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 GetEventDataStoreResult withName(String name)
The name of the event data store.
name
- The name of the event data store.public void setStatus(String status)
The status of an event data store.
status
- The status of an event data store.EventDataStoreStatus
public String getStatus()
The status of an event data store.
EventDataStoreStatus
public GetEventDataStoreResult withStatus(String status)
The status of an event data store.
status
- The status of an event data store.EventDataStoreStatus
public GetEventDataStoreResult withStatus(EventDataStoreStatus status)
The status of an event data store.
status
- The status of an event data store.EventDataStoreStatus
public List<AdvancedEventSelector> getAdvancedEventSelectors()
The advanced event selectors used to select events for the data store.
public void setAdvancedEventSelectors(Collection<AdvancedEventSelector> advancedEventSelectors)
The advanced event selectors used to select events for the data store.
advancedEventSelectors
- The advanced event selectors used to select events for the data store.public GetEventDataStoreResult withAdvancedEventSelectors(AdvancedEventSelector... advancedEventSelectors)
The advanced event selectors 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 used to select events for the data store.public GetEventDataStoreResult withAdvancedEventSelectors(Collection<AdvancedEventSelector> advancedEventSelectors)
The advanced event selectors used to select events for the data store.
advancedEventSelectors
- The advanced event selectors 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 GetEventDataStoreResult 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 whether an event data store is collecting logged events for an organization in Organizations.
organizationEnabled
- Indicates whether an event data store is collecting logged events for an organization in Organizations.public Boolean getOrganizationEnabled()
Indicates whether an event data store is collecting logged events for an organization in Organizations.
public GetEventDataStoreResult withOrganizationEnabled(Boolean organizationEnabled)
Indicates whether an event data store is collecting logged events for an organization in Organizations.
organizationEnabled
- Indicates whether an event data store is collecting logged events for an organization in Organizations.public Boolean isOrganizationEnabled()
Indicates whether an event data store is collecting logged events for an organization in Organizations.
public void setRetentionPeriod(Integer retentionPeriod)
The retention period of the event data store, in days.
retentionPeriod
- The retention period of the event data store, in days.public Integer getRetentionPeriod()
The retention period of the event data store, in days.
public GetEventDataStoreResult withRetentionPeriod(Integer retentionPeriod)
The retention period of the event data store, in days.
retentionPeriod
- The retention period of the event data store, in days.public void setTerminationProtectionEnabled(Boolean terminationProtectionEnabled)
Indicates that termination protection is enabled.
terminationProtectionEnabled
- Indicates that termination protection is enabled.public Boolean getTerminationProtectionEnabled()
Indicates that termination protection is enabled.
public GetEventDataStoreResult withTerminationProtectionEnabled(Boolean terminationProtectionEnabled)
Indicates that termination protection is enabled.
terminationProtectionEnabled
- Indicates that termination protection is enabled.public Boolean isTerminationProtectionEnabled()
Indicates that termination protection is enabled.
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 GetEventDataStoreResult 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)
Shows the time that an event data store was updated, if applicable. UpdatedTimestamp
is always
either the same or newer than the time shown in CreatedTimestamp
.
updatedTimestamp
- Shows the time that 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()
Shows the time that 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 GetEventDataStoreResult withUpdatedTimestamp(Date updatedTimestamp)
Shows the time that an event data store was updated, if applicable. UpdatedTimestamp
is always
either the same or newer than the time shown in CreatedTimestamp
.
updatedTimestamp
- Shows the time that an event data store was updated, if applicable. UpdatedTimestamp
is
always either the same or newer than the time shown in CreatedTimestamp
.public void setKmsKeyId(String kmsKeyId)
Specifies the KMS key ID that encrypts the events delivered by CloudTrail. The value is a fully specified ARN to a KMS key in the following format.
arn:aws:kms:us-east-2:123456789012:key/12345678-1234-1234-1234-123456789012
kmsKeyId
- Specifies the KMS key ID that encrypts the events delivered by CloudTrail. The value is a fully specified
ARN to a KMS key in the following format.
arn:aws:kms:us-east-2:123456789012:key/12345678-1234-1234-1234-123456789012
public String getKmsKeyId()
Specifies the KMS key ID that encrypts the events delivered by CloudTrail. The value is a fully specified ARN to a KMS key in the following format.
arn:aws:kms:us-east-2:123456789012:key/12345678-1234-1234-1234-123456789012
arn:aws:kms:us-east-2:123456789012:key/12345678-1234-1234-1234-123456789012
public GetEventDataStoreResult withKmsKeyId(String kmsKeyId)
Specifies the KMS key ID that encrypts the events delivered by CloudTrail. The value is a fully specified ARN to a KMS key in the following format.
arn:aws:kms:us-east-2:123456789012:key/12345678-1234-1234-1234-123456789012
kmsKeyId
- Specifies the KMS key ID that encrypts the events delivered by CloudTrail. The value is a fully specified
ARN to a KMS key in the following format.
arn:aws:kms:us-east-2:123456789012:key/12345678-1234-1234-1234-123456789012
public void setBillingMode(String billingMode)
The billing mode for the event data store.
billingMode
- The billing mode for the event data store.BillingMode
public String getBillingMode()
The billing mode for the event data store.
BillingMode
public GetEventDataStoreResult withBillingMode(String billingMode)
The billing mode for the event data store.
billingMode
- The billing mode for the event data store.BillingMode
public GetEventDataStoreResult withBillingMode(BillingMode billingMode)
The billing mode for the event data store.
billingMode
- The billing mode for the event data store.BillingMode
public void setFederationStatus(String federationStatus)
Indicates the Lake
query federation status. The status is ENABLED
if Lake query federation is enabled, or
DISABLED
if Lake query federation is disabled. You cannot delete an event data store if the
FederationStatus
is ENABLED
.
federationStatus
- Indicates the Lake query
federation status. The status is ENABLED
if Lake query federation is enabled, or
DISABLED
if Lake query federation is disabled. You cannot delete an event data store if the
FederationStatus
is ENABLED
.FederationStatus
public String getFederationStatus()
Indicates the Lake
query federation status. The status is ENABLED
if Lake query federation is enabled, or
DISABLED
if Lake query federation is disabled. You cannot delete an event data store if the
FederationStatus
is ENABLED
.
ENABLED
if Lake query federation is enabled, or
DISABLED
if Lake query federation is disabled. You cannot delete an event data store if the
FederationStatus
is ENABLED
.FederationStatus
public GetEventDataStoreResult withFederationStatus(String federationStatus)
Indicates the Lake
query federation status. The status is ENABLED
if Lake query federation is enabled, or
DISABLED
if Lake query federation is disabled. You cannot delete an event data store if the
FederationStatus
is ENABLED
.
federationStatus
- Indicates the Lake query
federation status. The status is ENABLED
if Lake query federation is enabled, or
DISABLED
if Lake query federation is disabled. You cannot delete an event data store if the
FederationStatus
is ENABLED
.FederationStatus
public GetEventDataStoreResult withFederationStatus(FederationStatus federationStatus)
Indicates the Lake
query federation status. The status is ENABLED
if Lake query federation is enabled, or
DISABLED
if Lake query federation is disabled. You cannot delete an event data store if the
FederationStatus
is ENABLED
.
federationStatus
- Indicates the Lake query
federation status. The status is ENABLED
if Lake query federation is enabled, or
DISABLED
if Lake query federation is disabled. You cannot delete an event data store if the
FederationStatus
is ENABLED
.FederationStatus
public void setFederationRoleArn(String federationRoleArn)
If Lake query federation is enabled, provides the ARN of the federation role used to access the resources for the federated event data store.
federationRoleArn
- If Lake query federation is enabled, provides the ARN of the federation role used to access the resources
for the federated event data store.public String getFederationRoleArn()
If Lake query federation is enabled, provides the ARN of the federation role used to access the resources for the federated event data store.
public GetEventDataStoreResult withFederationRoleArn(String federationRoleArn)
If Lake query federation is enabled, provides the ARN of the federation role used to access the resources for the federated event data store.
federationRoleArn
- If Lake query federation is enabled, provides the ARN of the federation role used to access the resources
for the federated event data store.public List<PartitionKey> getPartitionKeys()
The partition keys for the event data store. To improve query performance and efficiency, CloudTrail Lake organizes event data into partitions based on values derived from partition keys.
public void setPartitionKeys(Collection<PartitionKey> partitionKeys)
The partition keys for the event data store. To improve query performance and efficiency, CloudTrail Lake organizes event data into partitions based on values derived from partition keys.
partitionKeys
- The partition keys for the event data store. To improve query performance and efficiency, CloudTrail Lake
organizes event data into partitions based on values derived from partition keys.public GetEventDataStoreResult withPartitionKeys(PartitionKey... partitionKeys)
The partition keys for the event data store. To improve query performance and efficiency, CloudTrail Lake organizes event data into partitions based on values derived from partition keys.
NOTE: This method appends the values to the existing list (if any). Use
setPartitionKeys(java.util.Collection)
or withPartitionKeys(java.util.Collection)
if you want
to override the existing values.
partitionKeys
- The partition keys for the event data store. To improve query performance and efficiency, CloudTrail Lake
organizes event data into partitions based on values derived from partition keys.public GetEventDataStoreResult withPartitionKeys(Collection<PartitionKey> partitionKeys)
The partition keys for the event data store. To improve query performance and efficiency, CloudTrail Lake organizes event data into partitions based on values derived from partition keys.
partitionKeys
- The partition keys for the event data store. To improve query performance and efficiency, CloudTrail Lake
organizes event data into partitions based on values derived from partition keys.public String toString()
toString
in class Object
Object.toString()
public GetEventDataStoreResult clone()