@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RestoreEventDataStoreResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
RestoreEventDataStoreResult() |
Modifier and Type | Method and Description |
---|---|
RestoreEventDataStoreResult |
clone() |
boolean |
equals(Object obj) |
List<AdvancedEventSelector> |
getAdvancedEventSelectors()
The advanced event selectors that were used to select events.
|
String |
getBillingMode()
The billing mode for the event data store.
|
Date |
getCreatedTimestamp()
The timestamp of an event data store's creation.
|
String |
getEventDataStoreArn()
The event data store ARN.
|
String |
getKmsKeyId()
Specifies the KMS key ID that encrypts the events delivered by CloudTrail.
|
Boolean |
getMultiRegionEnabled()
Indicates whether the event data store is collecting events from all Regions, or only from the Region in which
the event data store 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, in days.
|
String |
getStatus()
The status of the event data store.
|
Boolean |
getTerminationProtectionEnabled()
Indicates that termination protection is enabled and the event data store cannot be automatically deleted.
|
Date |
getUpdatedTimestamp()
The timestamp that shows when an event data store was updated, if applicable.
|
int |
hashCode() |
Boolean |
isMultiRegionEnabled()
Indicates whether the event data store is collecting events from all Regions, or only from the Region in which
the event data store 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 and the event data store cannot be automatically deleted.
|
void |
setAdvancedEventSelectors(Collection<AdvancedEventSelector> advancedEventSelectors)
The advanced event selectors that were used to select events.
|
void |
setBillingMode(String billingMode)
The billing mode for the event data store.
|
void |
setCreatedTimestamp(Date createdTimestamp)
The timestamp of an event data store's creation.
|
void |
setEventDataStoreArn(String eventDataStoreArn)
The event data store 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 is collecting events from all Regions, or only from the Region in which
the event data store 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, in days.
|
void |
setStatus(String status)
The status of the event data store.
|
void |
setTerminationProtectionEnabled(Boolean terminationProtectionEnabled)
Indicates that termination protection is enabled and the event data store cannot be automatically deleted.
|
void |
setUpdatedTimestamp(Date updatedTimestamp)
The timestamp that shows when an event data store was updated, if applicable.
|
String |
toString()
Returns a string representation of this object.
|
RestoreEventDataStoreResult |
withAdvancedEventSelectors(AdvancedEventSelector... advancedEventSelectors)
The advanced event selectors that were used to select events.
|
RestoreEventDataStoreResult |
withAdvancedEventSelectors(Collection<AdvancedEventSelector> advancedEventSelectors)
The advanced event selectors that were used to select events.
|
RestoreEventDataStoreResult |
withBillingMode(BillingMode billingMode)
The billing mode for the event data store.
|
RestoreEventDataStoreResult |
withBillingMode(String billingMode)
The billing mode for the event data store.
|
RestoreEventDataStoreResult |
withCreatedTimestamp(Date createdTimestamp)
The timestamp of an event data store's creation.
|
RestoreEventDataStoreResult |
withEventDataStoreArn(String eventDataStoreArn)
The event data store ARN.
|
RestoreEventDataStoreResult |
withKmsKeyId(String kmsKeyId)
Specifies the KMS key ID that encrypts the events delivered by CloudTrail.
|
RestoreEventDataStoreResult |
withMultiRegionEnabled(Boolean multiRegionEnabled)
Indicates whether the event data store is collecting events from all Regions, or only from the Region in which
the event data store was created.
|
RestoreEventDataStoreResult |
withName(String name)
The name of the event data store.
|
RestoreEventDataStoreResult |
withOrganizationEnabled(Boolean organizationEnabled)
Indicates whether an event data store is collecting logged events for an organization in Organizations.
|
RestoreEventDataStoreResult |
withRetentionPeriod(Integer retentionPeriod)
The retention period, in days.
|
RestoreEventDataStoreResult |
withStatus(EventDataStoreStatus status)
The status of the event data store.
|
RestoreEventDataStoreResult |
withStatus(String status)
The status of the event data store.
|
RestoreEventDataStoreResult |
withTerminationProtectionEnabled(Boolean terminationProtectionEnabled)
Indicates that termination protection is enabled and the event data store cannot be automatically deleted.
|
RestoreEventDataStoreResult |
withUpdatedTimestamp(Date updatedTimestamp)
The timestamp that shows when an event data store was updated, if applicable.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setEventDataStoreArn(String eventDataStoreArn)
The event data store ARN.
eventDataStoreArn
- The event data store ARN.public String getEventDataStoreArn()
The event data store ARN.
public RestoreEventDataStoreResult withEventDataStoreArn(String eventDataStoreArn)
The event data store ARN.
eventDataStoreArn
- The event data store 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 RestoreEventDataStoreResult 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 the event data store.
status
- The status of the event data store.EventDataStoreStatus
public String getStatus()
The status of the event data store.
EventDataStoreStatus
public RestoreEventDataStoreResult withStatus(String status)
The status of the event data store.
status
- The status of the event data store.EventDataStoreStatus
public RestoreEventDataStoreResult withStatus(EventDataStoreStatus status)
The status of the event data store.
status
- The status of the event data store.EventDataStoreStatus
public List<AdvancedEventSelector> getAdvancedEventSelectors()
The advanced event selectors that were used to select events.
public void setAdvancedEventSelectors(Collection<AdvancedEventSelector> advancedEventSelectors)
The advanced event selectors that were used to select events.
advancedEventSelectors
- The advanced event selectors that were used to select events.public RestoreEventDataStoreResult withAdvancedEventSelectors(AdvancedEventSelector... advancedEventSelectors)
The advanced event selectors that were used to select events.
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.public RestoreEventDataStoreResult withAdvancedEventSelectors(Collection<AdvancedEventSelector> advancedEventSelectors)
The advanced event selectors that were used to select events.
advancedEventSelectors
- The advanced event selectors that were used to select events.public void setMultiRegionEnabled(Boolean multiRegionEnabled)
Indicates whether the event data store is collecting events from all Regions, or only from the Region in which the event data store was created.
multiRegionEnabled
- Indicates whether the event data store is collecting events from all Regions, or only from the Region in
which the event data store was created.public Boolean getMultiRegionEnabled()
Indicates whether the event data store is collecting events from all Regions, or only from the Region in which the event data store was created.
public RestoreEventDataStoreResult withMultiRegionEnabled(Boolean multiRegionEnabled)
Indicates whether the event data store is collecting events from all Regions, or only from the Region in which the event data store was created.
multiRegionEnabled
- Indicates whether the event data store is collecting events from all Regions, or only from the Region in
which the event data store was created.public Boolean isMultiRegionEnabled()
Indicates whether the event data store is collecting events from all Regions, or only from the Region in which the event data store 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 RestoreEventDataStoreResult 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, in days.
retentionPeriod
- The retention period, in days.public Integer getRetentionPeriod()
The retention period, in days.
public RestoreEventDataStoreResult withRetentionPeriod(Integer retentionPeriod)
The retention period, in days.
retentionPeriod
- The retention period, in days.public void setTerminationProtectionEnabled(Boolean terminationProtectionEnabled)
Indicates that termination protection is enabled and the event data store cannot be automatically deleted.
terminationProtectionEnabled
- Indicates that termination protection is enabled and the event data store cannot be automatically deleted.public Boolean getTerminationProtectionEnabled()
Indicates that termination protection is enabled and the event data store cannot be automatically deleted.
public RestoreEventDataStoreResult withTerminationProtectionEnabled(Boolean terminationProtectionEnabled)
Indicates that termination protection is enabled and the event data store cannot be automatically deleted.
terminationProtectionEnabled
- Indicates that termination protection is enabled and the event data store cannot be automatically deleted.public Boolean isTerminationProtectionEnabled()
Indicates that termination protection is enabled and the event data store cannot be automatically deleted.
public void setCreatedTimestamp(Date createdTimestamp)
The timestamp of an event data store's creation.
createdTimestamp
- The timestamp of an event data store's creation.public Date getCreatedTimestamp()
The timestamp of an event data store's creation.
public RestoreEventDataStoreResult withCreatedTimestamp(Date createdTimestamp)
The timestamp of an event data store's creation.
createdTimestamp
- The timestamp of an event data store's creation.public void setUpdatedTimestamp(Date updatedTimestamp)
The timestamp that shows 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 that shows 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 that shows 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 RestoreEventDataStoreResult withUpdatedTimestamp(Date updatedTimestamp)
The timestamp that shows 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 that shows when 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 RestoreEventDataStoreResult 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 RestoreEventDataStoreResult withBillingMode(String billingMode)
The billing mode for the event data store.
billingMode
- The billing mode for the event data store.BillingMode
public RestoreEventDataStoreResult withBillingMode(BillingMode billingMode)
The billing mode for the event data store.
billingMode
- The billing mode for the event data store.BillingMode
public String toString()
toString
in class Object
Object.toString()
public RestoreEventDataStoreResult clone()