@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateEventDataStoreResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
CreateEventDataStoreResult() |
Modifier and Type | Method and Description |
---|---|
CreateEventDataStoreResult |
clone() |
boolean |
equals(Object obj) |
List<AdvancedEventSelector> |
getAdvancedEventSelectors()
The advanced event selectors that were used to select the events for the data store.
|
String |
getBillingMode()
The billing mode for the event data store.
|
Date |
getCreatedTimestamp()
The timestamp that shows when the event data store was created.
|
String |
getEventDataStoreArn()
The ARN of the event data store.
|
String |
getKmsKeyId()
Specifies the KMS key ID that encrypts the events delivered by CloudTrail.
|
Boolean |
getMultiRegionEnabled()
Indicates whether the event data store collects 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 an event data store, in days.
|
String |
getStatus()
The status of event data store creation.
|
List<Tag> |
getTagsList() |
Boolean |
getTerminationProtectionEnabled()
Indicates whether termination protection is enabled for the event data store.
|
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 collects 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 whether termination protection is enabled for the event data store.
|
void |
setAdvancedEventSelectors(Collection<AdvancedEventSelector> advancedEventSelectors)
The advanced event selectors that were used to select the events for the data store.
|
void |
setBillingMode(String billingMode)
The billing mode for the event data store.
|
void |
setCreatedTimestamp(Date createdTimestamp)
The timestamp that shows when the event data store was created.
|
void |
setEventDataStoreArn(String eventDataStoreArn)
The ARN of the event data store.
|
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 collects 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 an event data store, in days.
|
void |
setStatus(String status)
The status of event data store creation.
|
void |
setTagsList(Collection<Tag> tagsList) |
void |
setTerminationProtectionEnabled(Boolean terminationProtectionEnabled)
Indicates whether termination protection is enabled for the event data store.
|
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.
|
CreateEventDataStoreResult |
withAdvancedEventSelectors(AdvancedEventSelector... advancedEventSelectors)
The advanced event selectors that were used to select the events for the data store.
|
CreateEventDataStoreResult |
withAdvancedEventSelectors(Collection<AdvancedEventSelector> advancedEventSelectors)
The advanced event selectors that were used to select the events for the data store.
|
CreateEventDataStoreResult |
withBillingMode(BillingMode billingMode)
The billing mode for the event data store.
|
CreateEventDataStoreResult |
withBillingMode(String billingMode)
The billing mode for the event data store.
|
CreateEventDataStoreResult |
withCreatedTimestamp(Date createdTimestamp)
The timestamp that shows when the event data store was created.
|
CreateEventDataStoreResult |
withEventDataStoreArn(String eventDataStoreArn)
The ARN of the event data store.
|
CreateEventDataStoreResult |
withKmsKeyId(String kmsKeyId)
Specifies the KMS key ID that encrypts the events delivered by CloudTrail.
|
CreateEventDataStoreResult |
withMultiRegionEnabled(Boolean multiRegionEnabled)
Indicates whether the event data store collects events from all Regions, or only from the Region in which it was
created.
|
CreateEventDataStoreResult |
withName(String name)
The name of the event data store.
|
CreateEventDataStoreResult |
withOrganizationEnabled(Boolean organizationEnabled)
Indicates whether an event data store is collecting logged events for an organization in Organizations.
|
CreateEventDataStoreResult |
withRetentionPeriod(Integer retentionPeriod)
The retention period of an event data store, in days.
|
CreateEventDataStoreResult |
withStatus(EventDataStoreStatus status)
The status of event data store creation.
|
CreateEventDataStoreResult |
withStatus(String status)
The status of event data store creation.
|
CreateEventDataStoreResult |
withTagsList(Collection<Tag> tagsList) |
CreateEventDataStoreResult |
withTagsList(Tag... tagsList)
NOTE: This method appends the values to the existing list (if any).
|
CreateEventDataStoreResult |
withTerminationProtectionEnabled(Boolean terminationProtectionEnabled)
Indicates whether termination protection is enabled for the event data store.
|
CreateEventDataStoreResult |
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 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 CreateEventDataStoreResult 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 CreateEventDataStoreResult 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 event data store creation.
status
- The status of event data store creation.EventDataStoreStatus
public String getStatus()
The status of event data store creation.
EventDataStoreStatus
public CreateEventDataStoreResult withStatus(String status)
The status of event data store creation.
status
- The status of event data store creation.EventDataStoreStatus
public CreateEventDataStoreResult withStatus(EventDataStoreStatus status)
The status of event data store creation.
status
- The status of event data store creation.EventDataStoreStatus
public List<AdvancedEventSelector> getAdvancedEventSelectors()
The advanced event selectors that were used to select the events for the data store.
public void setAdvancedEventSelectors(Collection<AdvancedEventSelector> advancedEventSelectors)
The advanced event selectors that were used to select the events for the data store.
advancedEventSelectors
- The advanced event selectors that were used to select the events for the data store.public CreateEventDataStoreResult withAdvancedEventSelectors(AdvancedEventSelector... advancedEventSelectors)
The advanced event selectors that were used to select the 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 the events for the data store.public CreateEventDataStoreResult withAdvancedEventSelectors(Collection<AdvancedEventSelector> advancedEventSelectors)
The advanced event selectors that were used to select the events for the data store.
advancedEventSelectors
- The advanced event selectors that were used to select the events for the data store.public void setMultiRegionEnabled(Boolean multiRegionEnabled)
Indicates whether the event data store collects events from all Regions, or only from the Region in which it was created.
multiRegionEnabled
- Indicates whether the event data store collects events from all Regions, or only from the Region in which
it was created.public Boolean getMultiRegionEnabled()
Indicates whether the event data store collects events from all Regions, or only from the Region in which it was created.
public CreateEventDataStoreResult withMultiRegionEnabled(Boolean multiRegionEnabled)
Indicates whether the event data store collects events from all Regions, or only from the Region in which it was created.
multiRegionEnabled
- Indicates whether the event data store collects events from all Regions, or only from the Region in which
it was created.public Boolean isMultiRegionEnabled()
Indicates whether the event data store collects 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 CreateEventDataStoreResult 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 an event data store, in days.
retentionPeriod
- The retention period of an event data store, in days.public Integer getRetentionPeriod()
The retention period of an event data store, in days.
public CreateEventDataStoreResult withRetentionPeriod(Integer retentionPeriod)
The retention period of an event data store, in days.
retentionPeriod
- The retention period of an event data store, in days.public void setTerminationProtectionEnabled(Boolean terminationProtectionEnabled)
Indicates whether termination protection is enabled for the event data store.
terminationProtectionEnabled
- Indicates whether termination protection is enabled for the event data store.public Boolean getTerminationProtectionEnabled()
Indicates whether termination protection is enabled for the event data store.
public CreateEventDataStoreResult withTerminationProtectionEnabled(Boolean terminationProtectionEnabled)
Indicates whether termination protection is enabled for the event data store.
terminationProtectionEnabled
- Indicates whether termination protection is enabled for the event data store.public Boolean isTerminationProtectionEnabled()
Indicates whether termination protection is enabled for the event data store.
public void setTagsList(Collection<Tag> tagsList)
tagsList
- public CreateEventDataStoreResult withTagsList(Tag... tagsList)
NOTE: This method appends the values to the existing list (if any). Use
setTagsList(java.util.Collection)
or withTagsList(java.util.Collection)
if you want to override
the existing values.
tagsList
- public CreateEventDataStoreResult withTagsList(Collection<Tag> tagsList)
tagsList
- public void setCreatedTimestamp(Date createdTimestamp)
The timestamp that shows when the event data store was created.
createdTimestamp
- The timestamp that shows when the event data store was created.public Date getCreatedTimestamp()
The timestamp that shows when the event data store was created.
public CreateEventDataStoreResult withCreatedTimestamp(Date createdTimestamp)
The timestamp that shows when the event data store was created.
createdTimestamp
- The timestamp that shows when the event data store was created.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 CreateEventDataStoreResult 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 CreateEventDataStoreResult 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 CreateEventDataStoreResult withBillingMode(String billingMode)
The billing mode for the event data store.
billingMode
- The billing mode for the event data store.BillingMode
public CreateEventDataStoreResult 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 CreateEventDataStoreResult clone()