@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateEventDataStoreResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
UpdateEventDataStoreResult() |
Modifier and Type | Method and Description |
---|---|
UpdateEventDataStoreResult |
clone() |
boolean |
equals(Object obj) |
List<AdvancedEventSelector> |
getAdvancedEventSelectors()
The advanced event selectors that are applied to the event data store.
|
Date |
getCreatedTimestamp()
The timestamp that shows when an event data store was first created.
|
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 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 an event data store.
|
Boolean |
getTerminationProtectionEnabled()
Indicates whether termination protection is enabled for the event data store.
|
Date |
getUpdatedTimestamp()
The timestamp that shows when the event data store was last updated.
|
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 whether termination protection is enabled for the event data store.
|
void |
setAdvancedEventSelectors(Collection<AdvancedEventSelector> advancedEventSelectors)
The advanced event selectors that are applied to the event data store.
|
void |
setCreatedTimestamp(Date createdTimestamp)
The timestamp that shows when an event data store was first created.
|
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 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 an event data store.
|
void |
setTerminationProtectionEnabled(Boolean terminationProtectionEnabled)
Indicates whether termination protection is enabled for the event data store.
|
void |
setUpdatedTimestamp(Date updatedTimestamp)
The timestamp that shows when the event data store was last updated.
|
String |
toString()
Returns a string representation of this object.
|
UpdateEventDataStoreResult |
withAdvancedEventSelectors(AdvancedEventSelector... advancedEventSelectors)
The advanced event selectors that are applied to the event data store.
|
UpdateEventDataStoreResult |
withAdvancedEventSelectors(Collection<AdvancedEventSelector> advancedEventSelectors)
The advanced event selectors that are applied to the event data store.
|
UpdateEventDataStoreResult |
withCreatedTimestamp(Date createdTimestamp)
The timestamp that shows when an event data store was first created.
|
UpdateEventDataStoreResult |
withEventDataStoreArn(String eventDataStoreArn)
The ARN of the event data store.
|
UpdateEventDataStoreResult |
withMultiRegionEnabled(Boolean multiRegionEnabled)
Indicates whether the event data store includes events from all regions, or only from the region in which it was
created.
|
UpdateEventDataStoreResult |
withName(String name)
The name of the event data store.
|
UpdateEventDataStoreResult |
withOrganizationEnabled(Boolean organizationEnabled)
Indicates whether an event data store is collecting logged events for an organization in Organizations.
|
UpdateEventDataStoreResult |
withRetentionPeriod(Integer retentionPeriod)
The retention period, in days.
|
UpdateEventDataStoreResult |
withStatus(EventDataStoreStatus status)
The status of an event data store.
|
UpdateEventDataStoreResult |
withStatus(String status)
The status of an event data store.
|
UpdateEventDataStoreResult |
withTerminationProtectionEnabled(Boolean terminationProtectionEnabled)
Indicates whether termination protection is enabled for the event data store.
|
UpdateEventDataStoreResult |
withUpdatedTimestamp(Date updatedTimestamp)
The timestamp that shows when the event data store was last updated.
|
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 UpdateEventDataStoreResult 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 UpdateEventDataStoreResult 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 UpdateEventDataStoreResult 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 UpdateEventDataStoreResult 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 that are applied to the event data store.
public void setAdvancedEventSelectors(Collection<AdvancedEventSelector> advancedEventSelectors)
The advanced event selectors that are applied to the event data store.
advancedEventSelectors
- The advanced event selectors that are applied to the event data store.public UpdateEventDataStoreResult withAdvancedEventSelectors(AdvancedEventSelector... advancedEventSelectors)
The advanced event selectors that are applied to the event 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 are applied to the event data store.public UpdateEventDataStoreResult withAdvancedEventSelectors(Collection<AdvancedEventSelector> advancedEventSelectors)
The advanced event selectors that are applied to the event data store.
advancedEventSelectors
- The advanced event selectors that are applied to the event 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 UpdateEventDataStoreResult 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 UpdateEventDataStoreResult 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 UpdateEventDataStoreResult withRetentionPeriod(Integer retentionPeriod)
The retention period, in days.
retentionPeriod
- The retention period, 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 UpdateEventDataStoreResult 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 setCreatedTimestamp(Date createdTimestamp)
The timestamp that shows when an event data store was first created.
createdTimestamp
- The timestamp that shows when an event data store was first created.public Date getCreatedTimestamp()
The timestamp that shows when an event data store was first created.
public UpdateEventDataStoreResult withCreatedTimestamp(Date createdTimestamp)
The timestamp that shows when an event data store was first created.
createdTimestamp
- The timestamp that shows when an event data store was first created.public void setUpdatedTimestamp(Date updatedTimestamp)
The timestamp that shows when the event data store was last updated. UpdatedTimestamp
is always
either the same or newer than the time shown in CreatedTimestamp
.
updatedTimestamp
- The timestamp that shows when the event data store was last updated. UpdatedTimestamp
is
always either the same or newer than the time shown in CreatedTimestamp
.public Date getUpdatedTimestamp()
The timestamp that shows when the event data store was last updated. 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 UpdateEventDataStoreResult withUpdatedTimestamp(Date updatedTimestamp)
The timestamp that shows when the event data store was last updated. UpdatedTimestamp
is always
either the same or newer than the time shown in CreatedTimestamp
.
updatedTimestamp
- The timestamp that shows when the event data store was last updated. UpdatedTimestamp
is
always either the same or newer than the time shown in CreatedTimestamp
.public String toString()
toString
in class Object
Object.toString()
public UpdateEventDataStoreResult clone()