Interface UpdateEventDataStoreResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CloudTrailResponse.Builder,CopyableBuilder<UpdateEventDataStoreResponse.Builder,UpdateEventDataStoreResponse>,SdkBuilder<UpdateEventDataStoreResponse.Builder,UpdateEventDataStoreResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- UpdateEventDataStoreResponse
public static interface UpdateEventDataStoreResponse.Builder extends CloudTrailResponse.Builder, SdkPojo, CopyableBuilder<UpdateEventDataStoreResponse.Builder,UpdateEventDataStoreResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UpdateEventDataStoreResponse.BuilderadvancedEventSelectors(Collection<AdvancedEventSelector> advancedEventSelectors)The advanced event selectors that are applied to the event data store.UpdateEventDataStoreResponse.BuilderadvancedEventSelectors(Consumer<AdvancedEventSelector.Builder>... advancedEventSelectors)The advanced event selectors that are applied to the event data store.UpdateEventDataStoreResponse.BuilderadvancedEventSelectors(AdvancedEventSelector... advancedEventSelectors)The advanced event selectors that are applied to the event data store.UpdateEventDataStoreResponse.BuilderbillingMode(String billingMode)The billing mode for the event data store.UpdateEventDataStoreResponse.BuilderbillingMode(BillingMode billingMode)The billing mode for the event data store.UpdateEventDataStoreResponse.BuildercreatedTimestamp(Instant createdTimestamp)The timestamp that shows when an event data store was first created.UpdateEventDataStoreResponse.BuildereventDataStoreArn(String eventDataStoreArn)The ARN of the event data store.UpdateEventDataStoreResponse.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.UpdateEventDataStoreResponse.BuilderfederationStatus(String federationStatus)Indicates the Lake query federation status.UpdateEventDataStoreResponse.BuilderfederationStatus(FederationStatus federationStatus)Indicates the Lake query federation status.UpdateEventDataStoreResponse.BuilderkmsKeyId(String kmsKeyId)Specifies the KMS key ID that encrypts the events delivered by CloudTrail.UpdateEventDataStoreResponse.BuildermultiRegionEnabled(Boolean multiRegionEnabled)Indicates whether the event data store includes events from all Regions, or only from the Region in which it was created.UpdateEventDataStoreResponse.Buildername(String name)The name of the event data store.UpdateEventDataStoreResponse.BuilderorganizationEnabled(Boolean organizationEnabled)Indicates whether an event data store is collecting logged events for an organization in Organizations.UpdateEventDataStoreResponse.BuilderretentionPeriod(Integer retentionPeriod)The retention period, in days.UpdateEventDataStoreResponse.Builderstatus(String status)The status of an event data store.UpdateEventDataStoreResponse.Builderstatus(EventDataStoreStatus status)The status of an event data store.UpdateEventDataStoreResponse.BuilderterminationProtectionEnabled(Boolean terminationProtectionEnabled)Indicates whether termination protection is enabled for the event data store.UpdateEventDataStoreResponse.BuilderupdatedTimestamp(Instant updatedTimestamp)The timestamp that shows when the event data store was last updated.-
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
UpdateEventDataStoreResponse.Builder eventDataStoreArn(String eventDataStoreArn)
The ARN of the event data store.
- Parameters:
eventDataStoreArn- The ARN of the event data store.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
UpdateEventDataStoreResponse.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
UpdateEventDataStoreResponse.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
UpdateEventDataStoreResponse.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
UpdateEventDataStoreResponse.Builder advancedEventSelectors(Collection<AdvancedEventSelector> advancedEventSelectors)
The advanced event selectors that are applied to the event data store.
- Parameters:
advancedEventSelectors- The advanced event selectors that are applied to the event data store.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
advancedEventSelectors
UpdateEventDataStoreResponse.Builder advancedEventSelectors(AdvancedEventSelector... advancedEventSelectors)
The advanced event selectors that are applied to the event data store.
- Parameters:
advancedEventSelectors- The advanced event selectors that are applied to the event data store.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
advancedEventSelectors
UpdateEventDataStoreResponse.Builder advancedEventSelectors(Consumer<AdvancedEventSelector.Builder>... advancedEventSelectors)
The advanced event selectors that are applied to the event 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
UpdateEventDataStoreResponse.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
UpdateEventDataStoreResponse.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
UpdateEventDataStoreResponse.Builder retentionPeriod(Integer retentionPeriod)
The retention period, in days.
- Parameters:
retentionPeriod- The retention period, in days.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
terminationProtectionEnabled
UpdateEventDataStoreResponse.Builder terminationProtectionEnabled(Boolean terminationProtectionEnabled)
Indicates whether termination protection is enabled for the event data store.
- Parameters:
terminationProtectionEnabled- Indicates whether termination protection is enabled for the event data store.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdTimestamp
UpdateEventDataStoreResponse.Builder createdTimestamp(Instant createdTimestamp)
The timestamp that shows when an event data store was first created.
- Parameters:
createdTimestamp- The timestamp that shows when an event data store was first created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedTimestamp
UpdateEventDataStoreResponse.Builder updatedTimestamp(Instant updatedTimestamp)
The timestamp that shows when the event data store was last updated.
UpdatedTimestampis always either the same or newer than the time shown inCreatedTimestamp.- Parameters:
updatedTimestamp- The timestamp that shows when the event data store was last updated.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
UpdateEventDataStoreResponse.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
UpdateEventDataStoreResponse.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
UpdateEventDataStoreResponse.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
UpdateEventDataStoreResponse.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
UpdateEventDataStoreResponse.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
UpdateEventDataStoreResponse.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.
-
-