Interface CreateEventDataStoreResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CloudTrailResponse.Builder,CopyableBuilder<CreateEventDataStoreResponse.Builder,CreateEventDataStoreResponse>,SdkBuilder<CreateEventDataStoreResponse.Builder,CreateEventDataStoreResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- CreateEventDataStoreResponse
public static interface CreateEventDataStoreResponse.Builder extends CloudTrailResponse.Builder, SdkPojo, CopyableBuilder<CreateEventDataStoreResponse.Builder,CreateEventDataStoreResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateEventDataStoreResponse.BuilderadvancedEventSelectors(Collection<AdvancedEventSelector> advancedEventSelectors)The advanced event selectors that were used to select the events for the data store.CreateEventDataStoreResponse.BuilderadvancedEventSelectors(Consumer<AdvancedEventSelector.Builder>... advancedEventSelectors)The advanced event selectors that were used to select the events for the data store.CreateEventDataStoreResponse.BuilderadvancedEventSelectors(AdvancedEventSelector... advancedEventSelectors)The advanced event selectors that were used to select the events for the data store.CreateEventDataStoreResponse.BuilderbillingMode(String billingMode)The billing mode for the event data store.CreateEventDataStoreResponse.BuilderbillingMode(BillingMode billingMode)The billing mode for the event data store.CreateEventDataStoreResponse.BuildercreatedTimestamp(Instant createdTimestamp)The timestamp that shows when the event data store was created.CreateEventDataStoreResponse.BuildereventDataStoreArn(String eventDataStoreArn)The ARN of the event data store.CreateEventDataStoreResponse.BuilderkmsKeyId(String kmsKeyId)Specifies the KMS key ID that encrypts the events delivered by CloudTrail.CreateEventDataStoreResponse.BuildermultiRegionEnabled(Boolean multiRegionEnabled)Indicates whether the event data store collects events from all Regions, or only from the Region in which it was created.CreateEventDataStoreResponse.Buildername(String name)The name of the event data store.CreateEventDataStoreResponse.BuilderorganizationEnabled(Boolean organizationEnabled)Indicates whether an event data store is collecting logged events for an organization in Organizations.CreateEventDataStoreResponse.BuilderretentionPeriod(Integer retentionPeriod)The retention period of an event data store, in days.CreateEventDataStoreResponse.Builderstatus(String status)The status of event data store creation.CreateEventDataStoreResponse.Builderstatus(EventDataStoreStatus status)The status of event data store creation.CreateEventDataStoreResponse.BuildertagsList(Collection<Tag> tagsList)Sets the value of the TagsList property for this object.CreateEventDataStoreResponse.BuildertagsList(Consumer<Tag.Builder>... tagsList)Sets the value of the TagsList property for this object.CreateEventDataStoreResponse.BuildertagsList(Tag... tagsList)Sets the value of the TagsList property for this object.CreateEventDataStoreResponse.BuilderterminationProtectionEnabled(Boolean terminationProtectionEnabled)Indicates whether termination protection is enabled for the event data store.CreateEventDataStoreResponse.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
CreateEventDataStoreResponse.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
CreateEventDataStoreResponse.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
CreateEventDataStoreResponse.Builder status(String status)
The status of event data store creation.
- Parameters:
status- The status of event data store creation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
EventDataStoreStatus,EventDataStoreStatus
-
status
CreateEventDataStoreResponse.Builder status(EventDataStoreStatus status)
The status of event data store creation.
- Parameters:
status- The status of event data store creation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
EventDataStoreStatus,EventDataStoreStatus
-
advancedEventSelectors
CreateEventDataStoreResponse.Builder advancedEventSelectors(Collection<AdvancedEventSelector> advancedEventSelectors)
The advanced event selectors that were used to select the events for the data store.
- Parameters:
advancedEventSelectors- The advanced event selectors that were used to select the events for the data store.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
advancedEventSelectors
CreateEventDataStoreResponse.Builder advancedEventSelectors(AdvancedEventSelector... advancedEventSelectors)
The advanced event selectors that were used to select the events for the data store.
- Parameters:
advancedEventSelectors- The advanced event selectors that were used to select the events for the data store.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
advancedEventSelectors
CreateEventDataStoreResponse.Builder advancedEventSelectors(Consumer<AdvancedEventSelector.Builder>... advancedEventSelectors)
The advanced event selectors that were used to select the 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
CreateEventDataStoreResponse.Builder multiRegionEnabled(Boolean multiRegionEnabled)
Indicates whether the event data store collects events from all Regions, or only from the Region in which it was created.
- Parameters:
multiRegionEnabled- Indicates whether the event data store collects 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
CreateEventDataStoreResponse.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
CreateEventDataStoreResponse.Builder retentionPeriod(Integer retentionPeriod)
The retention period of an event data store, in days.
- Parameters:
retentionPeriod- The retention period of an event data store, in days.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
terminationProtectionEnabled
CreateEventDataStoreResponse.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.
-
tagsList
CreateEventDataStoreResponse.Builder tagsList(Collection<Tag> tagsList)
Sets the value of the TagsList property for this object.- Parameters:
tagsList- The new value for the TagsList property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagsList
CreateEventDataStoreResponse.Builder tagsList(Tag... tagsList)
Sets the value of the TagsList property for this object.- Parameters:
tagsList- The new value for the TagsList property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagsList
CreateEventDataStoreResponse.Builder tagsList(Consumer<Tag.Builder>... tagsList)
Sets the value of the TagsList property for this object. This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tagsList(List.) - Parameters:
tagsList- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tagsList(java.util.Collection)
-
createdTimestamp
CreateEventDataStoreResponse.Builder createdTimestamp(Instant createdTimestamp)
The timestamp that shows when the event data store was created.
- Parameters:
createdTimestamp- The timestamp that shows when the event data store was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedTimestamp
CreateEventDataStoreResponse.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
CreateEventDataStoreResponse.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
CreateEventDataStoreResponse.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
CreateEventDataStoreResponse.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
-
-