@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateEventDataStoreRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateEventDataStoreRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateEventDataStoreRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<AdvancedEventSelector> |
getAdvancedEventSelectors()
The advanced event selectors used to select events for the event data store.
|
String |
getEventDataStore()
The ARN (or the ID suffix of the ARN) of the event data store that you want to update.
|
Boolean |
getMultiRegionEnabled()
Specifies whether an event data store collects events from all regions, or only from the region in which it was
created.
|
String |
getName()
The event data store name.
|
Boolean |
getOrganizationEnabled()
Specifies whether an event data store collects events logged for an organization in Organizations.
|
Integer |
getRetentionPeriod()
The retention period, in days.
|
Boolean |
getTerminationProtectionEnabled()
Indicates that termination protection is enabled and the event data store cannot be automatically deleted.
|
int |
hashCode() |
Boolean |
isMultiRegionEnabled()
Specifies whether an event data store collects events from all regions, or only from the region in which it was
created.
|
Boolean |
isOrganizationEnabled()
Specifies whether an event data store collects events logged 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 used to select events for the event data store.
|
void |
setEventDataStore(String eventDataStore)
The ARN (or the ID suffix of the ARN) of the event data store that you want to update.
|
void |
setMultiRegionEnabled(Boolean multiRegionEnabled)
Specifies whether an event data store collects events from all regions, or only from the region in which it was
created.
|
void |
setName(String name)
The event data store name.
|
void |
setOrganizationEnabled(Boolean organizationEnabled)
Specifies whether an event data store collects events logged for an organization in Organizations.
|
void |
setRetentionPeriod(Integer retentionPeriod)
The retention period, in days.
|
void |
setTerminationProtectionEnabled(Boolean terminationProtectionEnabled)
Indicates that termination protection is enabled and the event data store cannot be automatically deleted.
|
String |
toString()
Returns a string representation of this object.
|
UpdateEventDataStoreRequest |
withAdvancedEventSelectors(AdvancedEventSelector... advancedEventSelectors)
The advanced event selectors used to select events for the event data store.
|
UpdateEventDataStoreRequest |
withAdvancedEventSelectors(Collection<AdvancedEventSelector> advancedEventSelectors)
The advanced event selectors used to select events for the event data store.
|
UpdateEventDataStoreRequest |
withEventDataStore(String eventDataStore)
The ARN (or the ID suffix of the ARN) of the event data store that you want to update.
|
UpdateEventDataStoreRequest |
withMultiRegionEnabled(Boolean multiRegionEnabled)
Specifies whether an event data store collects events from all regions, or only from the region in which it was
created.
|
UpdateEventDataStoreRequest |
withName(String name)
The event data store name.
|
UpdateEventDataStoreRequest |
withOrganizationEnabled(Boolean organizationEnabled)
Specifies whether an event data store collects events logged for an organization in Organizations.
|
UpdateEventDataStoreRequest |
withRetentionPeriod(Integer retentionPeriod)
The retention period, in days.
|
UpdateEventDataStoreRequest |
withTerminationProtectionEnabled(Boolean terminationProtectionEnabled)
Indicates that termination protection is enabled and the event data store cannot be automatically deleted.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setEventDataStore(String eventDataStore)
The ARN (or the ID suffix of the ARN) of the event data store that you want to update.
eventDataStore
- The ARN (or the ID suffix of the ARN) of the event data store that you want to update.public String getEventDataStore()
The ARN (or the ID suffix of the ARN) of the event data store that you want to update.
public UpdateEventDataStoreRequest withEventDataStore(String eventDataStore)
The ARN (or the ID suffix of the ARN) of the event data store that you want to update.
eventDataStore
- The ARN (or the ID suffix of the ARN) of the event data store that you want to update.public void setName(String name)
The event data store name.
name
- The event data store name.public String getName()
The event data store name.
public UpdateEventDataStoreRequest withName(String name)
The event data store name.
name
- The event data store name.public List<AdvancedEventSelector> getAdvancedEventSelectors()
The advanced event selectors used to select events for the event data store.
public void setAdvancedEventSelectors(Collection<AdvancedEventSelector> advancedEventSelectors)
The advanced event selectors used to select events for the event data store.
advancedEventSelectors
- The advanced event selectors used to select events for the event data store.public UpdateEventDataStoreRequest withAdvancedEventSelectors(AdvancedEventSelector... advancedEventSelectors)
The advanced event selectors used to select events for 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 used to select events for the event data store.public UpdateEventDataStoreRequest withAdvancedEventSelectors(Collection<AdvancedEventSelector> advancedEventSelectors)
The advanced event selectors used to select events for the event data store.
advancedEventSelectors
- The advanced event selectors used to select events for the event data store.public void setMultiRegionEnabled(Boolean multiRegionEnabled)
Specifies whether an event data store collects events from all regions, or only from the region in which it was created.
multiRegionEnabled
- Specifies whether an event data store collects events from all regions, or only from the region in which
it was created.public Boolean getMultiRegionEnabled()
Specifies whether an event data store collects events from all regions, or only from the region in which it was created.
public UpdateEventDataStoreRequest withMultiRegionEnabled(Boolean multiRegionEnabled)
Specifies whether an event data store collects events from all regions, or only from the region in which it was created.
multiRegionEnabled
- Specifies whether an event data store collects events from all regions, or only from the region in which
it was created.public Boolean isMultiRegionEnabled()
Specifies whether an event data store collects events from all regions, or only from the region in which it was created.
public void setOrganizationEnabled(Boolean organizationEnabled)
Specifies whether an event data store collects events logged for an organization in Organizations.
organizationEnabled
- Specifies whether an event data store collects events logged for an organization in Organizations.public Boolean getOrganizationEnabled()
Specifies whether an event data store collects events logged for an organization in Organizations.
public UpdateEventDataStoreRequest withOrganizationEnabled(Boolean organizationEnabled)
Specifies whether an event data store collects events logged for an organization in Organizations.
organizationEnabled
- Specifies whether an event data store collects events logged for an organization in Organizations.public Boolean isOrganizationEnabled()
Specifies whether an event data store collects events logged 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 UpdateEventDataStoreRequest 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 UpdateEventDataStoreRequest 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 String toString()
toString
in class Object
Object.toString()
public UpdateEventDataStoreRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()