@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.
|
Date |
getCreatedTimestamp()
The timestamp of the event data store's creation.
|
String |
getEventDataStoreArn()
The event data store Amazon Resource Number (ARN).
|
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.
|
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 |
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 |
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 |
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 |
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 |
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 |
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. Values can be ENABLED
and PENDING_DELETION
.
status
- The status of an event data store. Values can be ENABLED
and PENDING_DELETION
.EventDataStoreStatus
public String getStatus()
The status of an event data store. Values can be ENABLED
and PENDING_DELETION
.
ENABLED
and PENDING_DELETION
.EventDataStoreStatus
public GetEventDataStoreResult withStatus(String status)
The status of an event data store. Values can be ENABLED
and PENDING_DELETION
.
status
- The status of an event data store. Values can be ENABLED
and PENDING_DELETION
.EventDataStoreStatus
public GetEventDataStoreResult withStatus(EventDataStoreStatus status)
The status of an event data store. Values can be ENABLED
and PENDING_DELETION
.
status
- The status of an event data store. Values can be ENABLED
and PENDING_DELETION
.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 String toString()
toString
in class Object
Object.toString()
public GetEventDataStoreResult clone()