public static interface CreateEventDataStoreRequest.Builder extends CloudTrailRequest.Builder, SdkPojo, CopyableBuilder<CreateEventDataStoreRequest.Builder,CreateEventDataStoreRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateEventDataStoreRequest.Builder |
advancedEventSelectors(AdvancedEventSelector... advancedEventSelectors)
The advanced event selectors to use to select the events for the data store.
|
CreateEventDataStoreRequest.Builder |
advancedEventSelectors(Collection<AdvancedEventSelector> advancedEventSelectors)
The advanced event selectors to use to select the events for the data store.
|
CreateEventDataStoreRequest.Builder |
advancedEventSelectors(Consumer<AdvancedEventSelector.Builder>... advancedEventSelectors)
The advanced event selectors to use to select the events for the data store.
|
CreateEventDataStoreRequest.Builder |
multiRegionEnabled(Boolean multiRegionEnabled)
Specifies whether the event data store includes events from all regions, or only from the region in which the
event data store is created.
|
CreateEventDataStoreRequest.Builder |
name(String name)
The name of the event data store.
|
CreateEventDataStoreRequest.Builder |
organizationEnabled(Boolean organizationEnabled)
Specifies whether an event data store collects events logged for an organization in Organizations.
|
CreateEventDataStoreRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateEventDataStoreRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateEventDataStoreRequest.Builder |
retentionPeriod(Integer retentionPeriod)
The retention period of the event data store, in days.
|
CreateEventDataStoreRequest.Builder |
tagsList(Collection<Tag> tagsList)
Sets the value of the TagsList property for this object.
|
CreateEventDataStoreRequest.Builder |
tagsList(Consumer<Tag.Builder>... tagsList)
Sets the value of the TagsList property for this object.
|
CreateEventDataStoreRequest.Builder |
tagsList(Tag... tagsList)
Sets the value of the TagsList property for this object.
|
CreateEventDataStoreRequest.Builder |
terminationProtectionEnabled(Boolean terminationProtectionEnabled)
Specifies whether termination protection is enabled for the event data store.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateEventDataStoreRequest.Builder name(String name)
The name of the event data store.
name - The name of the event data store.CreateEventDataStoreRequest.Builder advancedEventSelectors(Collection<AdvancedEventSelector> advancedEventSelectors)
The advanced event selectors to use to select the events for the data store. For more information about how to use advanced event selectors, see Log events by using advanced event selectors in the CloudTrail User Guide.
advancedEventSelectors - The advanced event selectors to use to select the events for the data store. For more information
about how to use advanced event selectors, see Log events by using advanced event selectors in the CloudTrail User Guide.CreateEventDataStoreRequest.Builder advancedEventSelectors(AdvancedEventSelector... advancedEventSelectors)
The advanced event selectors to use to select the events for the data store. For more information about how to use advanced event selectors, see Log events by using advanced event selectors in the CloudTrail User Guide.
advancedEventSelectors - The advanced event selectors to use to select the events for the data store. For more information
about how to use advanced event selectors, see Log events by using advanced event selectors in the CloudTrail User Guide.CreateEventDataStoreRequest.Builder advancedEventSelectors(Consumer<AdvancedEventSelector.Builder>... advancedEventSelectors)
The advanced event selectors to use to select the events for the data store. For more information about how to use advanced event selectors, see Log events by using advanced event selectors in the CloudTrail User Guide.
This is a convenience method that creates an instance of theAdvancedEventSelector.Builder avoiding the need to
create one manually via
AdvancedEventSelector.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #advancedEventSelectors(List.
advancedEventSelectors - a consumer that will call methods on
AdvancedEventSelector.Builder#advancedEventSelectors(java.util.Collection) CreateEventDataStoreRequest.Builder multiRegionEnabled(Boolean multiRegionEnabled)
Specifies whether the event data store includes events from all regions, or only from the region in which the event data store is created.
multiRegionEnabled - Specifies whether the event data store includes events from all regions, or only from the region in
which the event data store is created.CreateEventDataStoreRequest.Builder organizationEnabled(Boolean organizationEnabled)
Specifies whether an event data store collects events logged for an organization in Organizations.
organizationEnabled - Specifies whether an event data store collects events logged for an organization in Organizations.CreateEventDataStoreRequest.Builder retentionPeriod(Integer retentionPeriod)
The retention period of the event data store, in days. You can set a retention period of up to 2557 days, the equivalent of seven years.
retentionPeriod - The retention period of the event data store, in days. You can set a retention period of up to 2557
days, the equivalent of seven years.CreateEventDataStoreRequest.Builder terminationProtectionEnabled(Boolean terminationProtectionEnabled)
Specifies whether termination protection is enabled for the event data store. If termination protection is enabled, you cannot delete the event data store until termination protection is disabled.
terminationProtectionEnabled - Specifies whether termination protection is enabled for the event data store. If termination
protection is enabled, you cannot delete the event data store until termination protection is
disabled.CreateEventDataStoreRequest.Builder tagsList(Collection<Tag> tagsList)
tagsList - The new value for the TagsList property for this object.CreateEventDataStoreRequest.Builder tagsList(Tag... tagsList)
tagsList - The new value for the TagsList property for this object.CreateEventDataStoreRequest.Builder tagsList(Consumer<Tag.Builder>... tagsList)
Tag.Builder avoiding the need to create one manually
via Tag.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #tagsList(List.
tagsList - a consumer that will call methods on
Tag.Builder#tagsList(java.util.Collection) CreateEventDataStoreRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateEventDataStoreRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2022. All rights reserved.