Package com.pulumi.aws.cloudtrail.inputs
Class EventDataStoreState.Builder
- java.lang.Object
-
- com.pulumi.aws.cloudtrail.inputs.EventDataStoreState.Builder
-
- Enclosing class:
- EventDataStoreState
public static final class EventDataStoreState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(EventDataStoreState defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EventDataStoreState.BuilderadvancedEventSelectors(EventDataStoreAdvancedEventSelectorArgs... advancedEventSelectors)EventDataStoreState.BuilderadvancedEventSelectors(com.pulumi.core.Output<java.util.List<EventDataStoreAdvancedEventSelectorArgs>> advancedEventSelectors)EventDataStoreState.BuilderadvancedEventSelectors(java.util.List<EventDataStoreAdvancedEventSelectorArgs> advancedEventSelectors)EventDataStoreState.Builderarn(com.pulumi.core.Output<java.lang.String> arn)EventDataStoreState.Builderarn(java.lang.String arn)EventDataStoreState.BuilderbillingMode(com.pulumi.core.Output<java.lang.String> billingMode)EventDataStoreState.BuilderbillingMode(java.lang.String billingMode)EventDataStoreStatebuild()EventDataStoreState.BuilderkmsKeyId(com.pulumi.core.Output<java.lang.String> kmsKeyId)EventDataStoreState.BuilderkmsKeyId(java.lang.String kmsKeyId)EventDataStoreState.BuildermultiRegionEnabled(com.pulumi.core.Output<java.lang.Boolean> multiRegionEnabled)EventDataStoreState.BuildermultiRegionEnabled(java.lang.Boolean multiRegionEnabled)EventDataStoreState.Buildername(com.pulumi.core.Output<java.lang.String> name)EventDataStoreState.Buildername(java.lang.String name)EventDataStoreState.BuilderorganizationEnabled(com.pulumi.core.Output<java.lang.Boolean> organizationEnabled)EventDataStoreState.BuilderorganizationEnabled(java.lang.Boolean organizationEnabled)EventDataStoreState.Builderregion(com.pulumi.core.Output<java.lang.String> region)EventDataStoreState.Builderregion(java.lang.String region)EventDataStoreState.BuilderretentionPeriod(com.pulumi.core.Output<java.lang.Integer> retentionPeriod)EventDataStoreState.BuilderretentionPeriod(java.lang.Integer retentionPeriod)EventDataStoreState.Buildersuspend(com.pulumi.core.Output<java.lang.String> suspend)EventDataStoreState.Buildersuspend(java.lang.String suspend)EventDataStoreState.Buildertags(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)EventDataStoreState.Buildertags(java.util.Map<java.lang.String,java.lang.String> tags)EventDataStoreState.BuildertagsAll(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tagsAll)EventDataStoreState.BuildertagsAll(java.util.Map<java.lang.String,java.lang.String> tagsAll)EventDataStoreState.BuilderterminationProtectionEnabled(com.pulumi.core.Output<java.lang.Boolean> terminationProtectionEnabled)EventDataStoreState.BuilderterminationProtectionEnabled(java.lang.Boolean terminationProtectionEnabled)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(EventDataStoreState defaults)
-
-
Method Detail
-
advancedEventSelectors
public EventDataStoreState.Builder advancedEventSelectors(@Nullable com.pulumi.core.Output<java.util.List<EventDataStoreAdvancedEventSelectorArgs>> advancedEventSelectors)
- Parameters:
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](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-data-events-with-cloudtrail.html#creating-data-event-selectors-advanced) in the CloudTrail User Guide.- Returns:
- builder
-
advancedEventSelectors
public EventDataStoreState.Builder advancedEventSelectors(java.util.List<EventDataStoreAdvancedEventSelectorArgs> advancedEventSelectors)
- Parameters:
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](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-data-events-with-cloudtrail.html#creating-data-event-selectors-advanced) in the CloudTrail User Guide.- Returns:
- builder
-
advancedEventSelectors
public EventDataStoreState.Builder advancedEventSelectors(EventDataStoreAdvancedEventSelectorArgs... advancedEventSelectors)
- Parameters:
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](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-data-events-with-cloudtrail.html#creating-data-event-selectors-advanced) in the CloudTrail User Guide.- Returns:
- builder
-
arn
public EventDataStoreState.Builder arn(@Nullable com.pulumi.core.Output<java.lang.String> arn)
- Parameters:
arn- ARN of the event data store.- Returns:
- builder
-
arn
public EventDataStoreState.Builder arn(java.lang.String arn)
- Parameters:
arn- ARN of the event data store.- Returns:
- builder
-
billingMode
public EventDataStoreState.Builder billingMode(@Nullable com.pulumi.core.Output<java.lang.String> billingMode)
- Parameters:
billingMode- The billing mode for the event data store. The valid values are `EXTENDABLE_RETENTION_PRICING` and `FIXED_RETENTION_PRICING`. Defaults to `EXTENDABLE_RETENTION_PRICING`.- Returns:
- builder
-
billingMode
public EventDataStoreState.Builder billingMode(java.lang.String billingMode)
- Parameters:
billingMode- The billing mode for the event data store. The valid values are `EXTENDABLE_RETENTION_PRICING` and `FIXED_RETENTION_PRICING`. Defaults to `EXTENDABLE_RETENTION_PRICING`.- Returns:
- builder
-
kmsKeyId
public EventDataStoreState.Builder kmsKeyId(@Nullable com.pulumi.core.Output<java.lang.String> kmsKeyId)
- Parameters:
kmsKeyId- Specifies the AWS KMS key ID to use to encrypt the events delivered by CloudTrail. The value can be an alias name prefixed by alias/, a fully specified ARN to an alias, a fully specified ARN to a key, or a globally unique identifier.- Returns:
- builder
-
kmsKeyId
public EventDataStoreState.Builder kmsKeyId(java.lang.String kmsKeyId)
- Parameters:
kmsKeyId- Specifies the AWS KMS key ID to use to encrypt the events delivered by CloudTrail. The value can be an alias name prefixed by alias/, a fully specified ARN to an alias, a fully specified ARN to a key, or a globally unique identifier.- Returns:
- builder
-
multiRegionEnabled
public EventDataStoreState.Builder multiRegionEnabled(@Nullable com.pulumi.core.Output<java.lang.Boolean> multiRegionEnabled)
- Parameters:
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. Default: `true`.- Returns:
- builder
-
multiRegionEnabled
public EventDataStoreState.Builder multiRegionEnabled(java.lang.Boolean multiRegionEnabled)
- Parameters:
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. Default: `true`.- Returns:
- builder
-
name
public EventDataStoreState.Builder name(@Nullable com.pulumi.core.Output<java.lang.String> name)
- Parameters:
name- The name of the event data store.- Returns:
- builder
-
name
public EventDataStoreState.Builder name(java.lang.String name)
- Parameters:
name- The name of the event data store.- Returns:
- builder
-
organizationEnabled
public EventDataStoreState.Builder organizationEnabled(@Nullable com.pulumi.core.Output<java.lang.Boolean> organizationEnabled)
- Parameters:
organizationEnabled- Specifies whether an event data store collects events logged for an organization in AWS Organizations. Default: `false`.- Returns:
- builder
-
organizationEnabled
public EventDataStoreState.Builder organizationEnabled(java.lang.Boolean organizationEnabled)
- Parameters:
organizationEnabled- Specifies whether an event data store collects events logged for an organization in AWS Organizations. Default: `false`.- Returns:
- builder
-
region
public EventDataStoreState.Builder region(@Nullable com.pulumi.core.Output<java.lang.String> region)
- Parameters:
region- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.- Returns:
- builder
-
region
public EventDataStoreState.Builder region(java.lang.String region)
- Parameters:
region- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.- Returns:
- builder
-
retentionPeriod
public EventDataStoreState.Builder retentionPeriod(@Nullable com.pulumi.core.Output<java.lang.Integer> retentionPeriod)
- Parameters:
retentionPeriod- The retention period of the event data store, in days. You can set a retention period of up to 2555 days, the equivalent of seven years. Default: `2555`.- Returns:
- builder
-
retentionPeriod
public EventDataStoreState.Builder retentionPeriod(java.lang.Integer retentionPeriod)
- Parameters:
retentionPeriod- The retention period of the event data store, in days. You can set a retention period of up to 2555 days, the equivalent of seven years. Default: `2555`.- Returns:
- builder
-
suspend
public EventDataStoreState.Builder suspend(@Nullable com.pulumi.core.Output<java.lang.String> suspend)
- Parameters:
suspend- Specifies whether to stop ingesting new events into the event data store. If set to `true`, ingestion is suspended while maintaining the ability to query existing events. If set to `false`, ingestion is active.- Returns:
- builder
-
suspend
public EventDataStoreState.Builder suspend(java.lang.String suspend)
- Parameters:
suspend- Specifies whether to stop ingesting new events into the event data store. If set to `true`, ingestion is suspended while maintaining the ability to query existing events. If set to `false`, ingestion is active.- Returns:
- builder
-
tags
public EventDataStoreState.Builder tags(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)
- Parameters:
tags- A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Returns:
- builder
-
tags
public EventDataStoreState.Builder tags(java.util.Map<java.lang.String,java.lang.String> tags)
- Parameters:
tags- A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Returns:
- builder
-
tagsAll
public EventDataStoreState.Builder tagsAll(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tagsAll)
- Parameters:
tagsAll- Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.- Returns:
- builder
-
tagsAll
public EventDataStoreState.Builder tagsAll(java.util.Map<java.lang.String,java.lang.String> tagsAll)
- Parameters:
tagsAll- Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.- Returns:
- builder
-
terminationProtectionEnabled
public EventDataStoreState.Builder terminationProtectionEnabled(@Nullable com.pulumi.core.Output<java.lang.Boolean> terminationProtectionEnabled)
- Parameters:
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. Default: `true`.- Returns:
- builder
-
terminationProtectionEnabled
public EventDataStoreState.Builder terminationProtectionEnabled(java.lang.Boolean terminationProtectionEnabled)
- Parameters:
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. Default: `true`.- Returns:
- builder
-
build
public EventDataStoreState build()
-
-