Interface GetEventDataStoreResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CloudTrailResponse.Builder
,CopyableBuilder<GetEventDataStoreResponse.Builder,
,GetEventDataStoreResponse> SdkBuilder<GetEventDataStoreResponse.Builder,
,GetEventDataStoreResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetEventDataStoreResponse
-
Method Summary
Modifier and TypeMethodDescriptionadvancedEventSelectors
(Collection<AdvancedEventSelector> advancedEventSelectors) The advanced event selectors used to select events for the data store.advancedEventSelectors
(Consumer<AdvancedEventSelector.Builder>... advancedEventSelectors) The advanced event selectors used to select events for the data store.advancedEventSelectors
(AdvancedEventSelector... advancedEventSelectors) The advanced event selectors used to select events for the data store.createdTimestamp
(Instant createdTimestamp) The timestamp of the event data store's creation.eventDataStoreArn
(String eventDataStoreArn) The event data store Amazon Resource Number (ARN).Specifies the KMS key ID that encrypts the events delivered by CloudTrail.multiRegionEnabled
(Boolean multiRegionEnabled) Indicates whether the event data store includes events from all Regions, or only from the Region in which it was created.The name of the event data store.organizationEnabled
(Boolean organizationEnabled) Indicates whether an event data store is collecting logged events for an organization in Organizations.retentionPeriod
(Integer retentionPeriod) The retention period of the event data store, in days.The status of an event data store.status
(EventDataStoreStatus status) The status of an event data store.terminationProtectionEnabled
(Boolean terminationProtectionEnabled) Indicates that termination protection is enabled.updatedTimestamp
(Instant updatedTimestamp) Shows the time that an event data store was updated, if applicable.Methods inherited from interface software.amazon.awssdk.services.cloudtrail.model.CloudTrailResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
eventDataStoreArn
The event data store Amazon Resource Number (ARN).
- Parameters:
eventDataStoreArn
- The event data store Amazon Resource Number (ARN).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the event data store.
- Parameters:
name
- The name of the event data store.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of an event data store.
- Parameters:
status
- The status of an event data store.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of an event data store.
- Parameters:
status
- The status of an event data store.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
advancedEventSelectors
GetEventDataStoreResponse.Builder advancedEventSelectors(Collection<AdvancedEventSelector> advancedEventSelectors) The advanced event selectors used to select events for the data store.
- Parameters:
advancedEventSelectors
- The advanced event selectors used to select events for the data store.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
advancedEventSelectors
GetEventDataStoreResponse.Builder advancedEventSelectors(AdvancedEventSelector... advancedEventSelectors) The advanced event selectors used to select events for the data store.
- Parameters:
advancedEventSelectors
- The advanced event selectors used to select events for the data store.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
advancedEventSelectors
GetEventDataStoreResponse.Builder advancedEventSelectors(Consumer<AdvancedEventSelector.Builder>... advancedEventSelectors) The advanced event selectors used to select events for the data store.
This is a convenience method that creates an instance of theAdvancedEventSelector.Builder
avoiding the need to create one manually viaAdvancedEventSelector.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toadvancedEventSelectors(List<AdvancedEventSelector>)
.- Parameters:
advancedEventSelectors
- a consumer that will call methods onAdvancedEventSelector.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
multiRegionEnabled
Indicates whether the event data store includes events from all Regions, or only from the Region in which it was created.
- Parameters:
multiRegionEnabled
- Indicates whether the event data store includes events from all Regions, or only from the Region in which it was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
organizationEnabled
Indicates whether an event data store is collecting logged events for an organization in Organizations.
- Parameters:
organizationEnabled
- Indicates whether an event data store is collecting logged events for an organization in Organizations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
retentionPeriod
The retention period of the event data store, in days.
- Parameters:
retentionPeriod
- The retention period of the event data store, in days.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
terminationProtectionEnabled
GetEventDataStoreResponse.Builder terminationProtectionEnabled(Boolean terminationProtectionEnabled) Indicates that termination protection is enabled.
- Parameters:
terminationProtectionEnabled
- Indicates that termination protection is enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdTimestamp
The timestamp of the event data store's creation.
- Parameters:
createdTimestamp
- The timestamp of the event data store's creation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedTimestamp
Shows the time that an event data store was updated, if applicable.
UpdatedTimestamp
is always either the same or newer than the time shown inCreatedTimestamp
.- Parameters:
updatedTimestamp
- Shows the time that an event data store was updated, if applicable.UpdatedTimestamp
is always either the same or newer than the time shown inCreatedTimestamp
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
- Parameters:
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
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-