Interface GetEventDataStoreResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CloudTrailResponse.Builder,CopyableBuilder<GetEventDataStoreResponse.Builder,GetEventDataStoreResponse>,SdkBuilder<GetEventDataStoreResponse.Builder,GetEventDataStoreResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetEventDataStoreResponse
public static interface GetEventDataStoreResponse.Builder extends CloudTrailResponse.Builder, SdkPojo, CopyableBuilder<GetEventDataStoreResponse.Builder,GetEventDataStoreResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetEventDataStoreResponse.BuilderadvancedEventSelectors(Collection<AdvancedEventSelector> advancedEventSelectors)The advanced event selectors used to select events for the data store.GetEventDataStoreResponse.BuilderadvancedEventSelectors(Consumer<AdvancedEventSelector.Builder>... advancedEventSelectors)The advanced event selectors used to select events for the data store.GetEventDataStoreResponse.BuilderadvancedEventSelectors(AdvancedEventSelector... advancedEventSelectors)The advanced event selectors used to select events for the data store.GetEventDataStoreResponse.BuilderbillingMode(String billingMode)The billing mode for the event data store.GetEventDataStoreResponse.BuilderbillingMode(BillingMode billingMode)The billing mode for the event data store.GetEventDataStoreResponse.BuildercreatedTimestamp(Instant createdTimestamp)The timestamp of the event data store's creation.GetEventDataStoreResponse.BuildereventDataStoreArn(String eventDataStoreArn)The event data store Amazon Resource Number (ARN).GetEventDataStoreResponse.BuilderfederationRoleArn(String federationRoleArn)If Lake query federation is enabled, provides the ARN of the federation role used to access the resources for the federated event data store.GetEventDataStoreResponse.BuilderfederationStatus(String federationStatus)Indicates the Lake query federation status.GetEventDataStoreResponse.BuilderfederationStatus(FederationStatus federationStatus)Indicates the Lake query federation status.GetEventDataStoreResponse.BuilderkmsKeyId(String kmsKeyId)Specifies the KMS key ID that encrypts the events delivered by CloudTrail.GetEventDataStoreResponse.BuildermultiRegionEnabled(Boolean multiRegionEnabled)Indicates whether the event data store includes events from all Regions, or only from the Region in which it was created.GetEventDataStoreResponse.Buildername(String name)The name of the event data store.GetEventDataStoreResponse.BuilderorganizationEnabled(Boolean organizationEnabled)Indicates whether an event data store is collecting logged events for an organization in Organizations.GetEventDataStoreResponse.BuilderpartitionKeys(Collection<PartitionKey> partitionKeys)The partition keys for the event data store.GetEventDataStoreResponse.BuilderpartitionKeys(Consumer<PartitionKey.Builder>... partitionKeys)The partition keys for the event data store.GetEventDataStoreResponse.BuilderpartitionKeys(PartitionKey... partitionKeys)The partition keys for the event data store.GetEventDataStoreResponse.BuilderretentionPeriod(Integer retentionPeriod)The retention period of the event data store, in days.GetEventDataStoreResponse.Builderstatus(String status)The status of an event data store.GetEventDataStoreResponse.Builderstatus(EventDataStoreStatus status)The status of an event data store.GetEventDataStoreResponse.BuilderterminationProtectionEnabled(Boolean terminationProtectionEnabled)Indicates that termination protection is enabled.GetEventDataStoreResponse.BuilderupdatedTimestamp(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 Detail
-
eventDataStoreArn
GetEventDataStoreResponse.Builder eventDataStoreArn(String 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
GetEventDataStoreResponse.Builder name(String 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
GetEventDataStoreResponse.Builder status(String 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:
EventDataStoreStatus,EventDataStoreStatus
-
status
GetEventDataStoreResponse.Builder status(EventDataStoreStatus 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:
EventDataStoreStatus,EventDataStoreStatus
-
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.Builderavoiding the need to create one manually viaAdvancedEventSelector.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#advancedEventSelectors(List.) - 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:
#advancedEventSelectors(java.util.Collection)
-
multiRegionEnabled
GetEventDataStoreResponse.Builder multiRegionEnabled(Boolean 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
GetEventDataStoreResponse.Builder organizationEnabled(Boolean 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
GetEventDataStoreResponse.Builder retentionPeriod(Integer 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
GetEventDataStoreResponse.Builder createdTimestamp(Instant 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
GetEventDataStoreResponse.Builder updatedTimestamp(Instant updatedTimestamp)
Shows the time that an event data store was updated, if applicable.
UpdatedTimestampis 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.UpdatedTimestampis 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
GetEventDataStoreResponse.Builder kmsKeyId(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- 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.
-
billingMode
GetEventDataStoreResponse.Builder billingMode(String billingMode)
The billing mode for the event data store.
- Parameters:
billingMode- The billing mode for the event data store.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
BillingMode,BillingMode
-
billingMode
GetEventDataStoreResponse.Builder billingMode(BillingMode billingMode)
The billing mode for the event data store.
- Parameters:
billingMode- The billing mode for the event data store.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
BillingMode,BillingMode
-
federationStatus
GetEventDataStoreResponse.Builder federationStatus(String federationStatus)
Indicates the Lake query federation status. The status is
ENABLEDif Lake query federation is enabled, orDISABLEDif Lake query federation is disabled. You cannot delete an event data store if theFederationStatusisENABLED.- Parameters:
federationStatus- Indicates the Lake query federation status. The status isENABLEDif Lake query federation is enabled, orDISABLEDif Lake query federation is disabled. You cannot delete an event data store if theFederationStatusisENABLED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
FederationStatus,FederationStatus
-
federationStatus
GetEventDataStoreResponse.Builder federationStatus(FederationStatus federationStatus)
Indicates the Lake query federation status. The status is
ENABLEDif Lake query federation is enabled, orDISABLEDif Lake query federation is disabled. You cannot delete an event data store if theFederationStatusisENABLED.- Parameters:
federationStatus- Indicates the Lake query federation status. The status isENABLEDif Lake query federation is enabled, orDISABLEDif Lake query federation is disabled. You cannot delete an event data store if theFederationStatusisENABLED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
FederationStatus,FederationStatus
-
federationRoleArn
GetEventDataStoreResponse.Builder federationRoleArn(String federationRoleArn)
If Lake query federation is enabled, provides the ARN of the federation role used to access the resources for the federated event data store.
- Parameters:
federationRoleArn- If Lake query federation is enabled, provides the ARN of the federation role used to access the resources for the federated event data store.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
partitionKeys
GetEventDataStoreResponse.Builder partitionKeys(Collection<PartitionKey> partitionKeys)
The partition keys for the event data store. To improve query performance and efficiency, CloudTrail Lake organizes event data into partitions based on values derived from partition keys.
- Parameters:
partitionKeys- The partition keys for the event data store. To improve query performance and efficiency, CloudTrail Lake organizes event data into partitions based on values derived from partition keys.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
partitionKeys
GetEventDataStoreResponse.Builder partitionKeys(PartitionKey... partitionKeys)
The partition keys for the event data store. To improve query performance and efficiency, CloudTrail Lake organizes event data into partitions based on values derived from partition keys.
- Parameters:
partitionKeys- The partition keys for the event data store. To improve query performance and efficiency, CloudTrail Lake organizes event data into partitions based on values derived from partition keys.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
partitionKeys
GetEventDataStoreResponse.Builder partitionKeys(Consumer<PartitionKey.Builder>... partitionKeys)
The partition keys for the event data store. To improve query performance and efficiency, CloudTrail Lake organizes event data into partitions based on values derived from partition keys.
This is a convenience method that creates an instance of thePartitionKey.Builderavoiding the need to create one manually viaPartitionKey.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#partitionKeys(List.) - Parameters:
partitionKeys- a consumer that will call methods onPartitionKey.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#partitionKeys(java.util.Collection)
-
-