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