@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.
|
String |
getKmsKeyId()
Specifies the KMS key ID to use to encrypt the events delivered by CloudTrail.
|
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 |
setKmsKeyId(String kmsKeyId)
Specifies the KMS key ID to use to encrypt the events delivered by CloudTrail.
|
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 |
withKmsKeyId(String kmsKeyId)
Specifies the KMS key ID to use to encrypt the events delivered by CloudTrail.
|
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. You can configure up to five advanced event selectors for each event data store.
public void setAdvancedEventSelectors(Collection<AdvancedEventSelector> advancedEventSelectors)
The advanced event selectors used to select events for the event data store. You can configure up to five advanced event selectors for each event data store.
advancedEventSelectors
- The advanced event selectors used to select events for the event data store. You can configure up to five
advanced event selectors for each event data store.public UpdateEventDataStoreRequest withAdvancedEventSelectors(AdvancedEventSelector... advancedEventSelectors)
The advanced event selectors used to select events for the event data store. You can configure up to five advanced event selectors for each 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. You can configure up to five
advanced event selectors for each event data store.public UpdateEventDataStoreRequest withAdvancedEventSelectors(Collection<AdvancedEventSelector> advancedEventSelectors)
The advanced event selectors used to select events for the event data store. You can configure up to five advanced event selectors for each event data store.
advancedEventSelectors
- The advanced event selectors used to select events for the event data store. You can configure up to five
advanced event selectors for each 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 void setKmsKeyId(String kmsKeyId)
Specifies the KMS key ID to use to encrypt the events delivered by CloudTrail. The value can be an alias name
prefixed by alias/
, a fully specified ARN to an alias, a fully specified ARN to a key, or a globally
unique identifier.
Disabling or deleting the KMS key, or removing CloudTrail permissions on the key, prevents CloudTrail from logging events to the event data store, and prevents users from querying the data in the event data store that was encrypted with the key. After you associate an event data store with a KMS key, the KMS key cannot be removed or changed. Before you disable or delete a KMS key that you are using with an event data store, delete or back up your event data store.
CloudTrail also supports KMS multi-Region keys. For more information about multi-Region keys, see Using multi-Region keys in the Key Management Service Developer Guide.
Examples:
alias/MyAliasName
arn:aws:kms:us-east-2:123456789012:alias/MyAliasName
arn:aws:kms:us-east-2:123456789012:key/12345678-1234-1234-1234-123456789012
12345678-1234-1234-1234-123456789012
kmsKeyId
- Specifies the KMS key ID to use to encrypt the events delivered by CloudTrail. The value can be an alias
name prefixed by alias/
, a fully specified ARN to an alias, a fully specified ARN to a key,
or a globally unique identifier. Disabling or deleting the KMS key, or removing CloudTrail permissions on the key, prevents CloudTrail from logging events to the event data store, and prevents users from querying the data in the event data store that was encrypted with the key. After you associate an event data store with a KMS key, the KMS key cannot be removed or changed. Before you disable or delete a KMS key that you are using with an event data store, delete or back up your event data store.
CloudTrail also supports KMS multi-Region keys. For more information about multi-Region keys, see Using multi-Region keys in the Key Management Service Developer Guide.
Examples:
alias/MyAliasName
arn:aws:kms:us-east-2:123456789012:alias/MyAliasName
arn:aws:kms:us-east-2:123456789012:key/12345678-1234-1234-1234-123456789012
12345678-1234-1234-1234-123456789012
public String getKmsKeyId()
Specifies the KMS key ID to use to encrypt the events delivered by CloudTrail. The value can be an alias name
prefixed by alias/
, a fully specified ARN to an alias, a fully specified ARN to a key, or a globally
unique identifier.
Disabling or deleting the KMS key, or removing CloudTrail permissions on the key, prevents CloudTrail from logging events to the event data store, and prevents users from querying the data in the event data store that was encrypted with the key. After you associate an event data store with a KMS key, the KMS key cannot be removed or changed. Before you disable or delete a KMS key that you are using with an event data store, delete or back up your event data store.
CloudTrail also supports KMS multi-Region keys. For more information about multi-Region keys, see Using multi-Region keys in the Key Management Service Developer Guide.
Examples:
alias/MyAliasName
arn:aws:kms:us-east-2:123456789012:alias/MyAliasName
arn:aws:kms:us-east-2:123456789012:key/12345678-1234-1234-1234-123456789012
12345678-1234-1234-1234-123456789012
alias/
, a fully specified ARN to an alias, a fully specified ARN to a key,
or a globally unique identifier. Disabling or deleting the KMS key, or removing CloudTrail permissions on the key, prevents CloudTrail from logging events to the event data store, and prevents users from querying the data in the event data store that was encrypted with the key. After you associate an event data store with a KMS key, the KMS key cannot be removed or changed. Before you disable or delete a KMS key that you are using with an event data store, delete or back up your event data store.
CloudTrail also supports KMS multi-Region keys. For more information about multi-Region keys, see Using multi-Region keys in the Key Management Service Developer Guide.
Examples:
alias/MyAliasName
arn:aws:kms:us-east-2:123456789012:alias/MyAliasName
arn:aws:kms:us-east-2:123456789012:key/12345678-1234-1234-1234-123456789012
12345678-1234-1234-1234-123456789012
public UpdateEventDataStoreRequest withKmsKeyId(String kmsKeyId)
Specifies the KMS key ID to use to encrypt the events delivered by CloudTrail. The value can be an alias name
prefixed by alias/
, a fully specified ARN to an alias, a fully specified ARN to a key, or a globally
unique identifier.
Disabling or deleting the KMS key, or removing CloudTrail permissions on the key, prevents CloudTrail from logging events to the event data store, and prevents users from querying the data in the event data store that was encrypted with the key. After you associate an event data store with a KMS key, the KMS key cannot be removed or changed. Before you disable or delete a KMS key that you are using with an event data store, delete or back up your event data store.
CloudTrail also supports KMS multi-Region keys. For more information about multi-Region keys, see Using multi-Region keys in the Key Management Service Developer Guide.
Examples:
alias/MyAliasName
arn:aws:kms:us-east-2:123456789012:alias/MyAliasName
arn:aws:kms:us-east-2:123456789012:key/12345678-1234-1234-1234-123456789012
12345678-1234-1234-1234-123456789012
kmsKeyId
- Specifies the KMS key ID to use to encrypt the events delivered by CloudTrail. The value can be an alias
name prefixed by alias/
, a fully specified ARN to an alias, a fully specified ARN to a key,
or a globally unique identifier. Disabling or deleting the KMS key, or removing CloudTrail permissions on the key, prevents CloudTrail from logging events to the event data store, and prevents users from querying the data in the event data store that was encrypted with the key. After you associate an event data store with a KMS key, the KMS key cannot be removed or changed. Before you disable or delete a KMS key that you are using with an event data store, delete or back up your event data store.
CloudTrail also supports KMS multi-Region keys. For more information about multi-Region keys, see Using multi-Region keys in the Key Management Service Developer Guide.
Examples:
alias/MyAliasName
arn:aws:kms:us-east-2:123456789012:alias/MyAliasName
arn:aws:kms:us-east-2:123456789012:key/12345678-1234-1234-1234-123456789012
12345678-1234-1234-1234-123456789012
public String toString()
toString
in class Object
Object.toString()
public UpdateEventDataStoreRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()