Class EventDataStoreArgs.Builder

  • Enclosing class:
    EventDataStoreArgs

    public static final class EventDataStoreArgs.Builder
    extends java.lang.Object
    • Method Detail

      • advancedEventSelectors

        public EventDataStoreArgs.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 EventDataStoreArgs.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 EventDataStoreArgs.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
      • billingMode

        public EventDataStoreArgs.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 EventDataStoreArgs.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 EventDataStoreArgs.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 EventDataStoreArgs.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 EventDataStoreArgs.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 EventDataStoreArgs.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 EventDataStoreArgs.Builder name​(@Nullable
                                               com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - The name of the event data store.
        Returns:
        builder
      • name

        public EventDataStoreArgs.Builder name​(java.lang.String name)
        Parameters:
        name - The name of the event data store.
        Returns:
        builder
      • organizationEnabled

        public EventDataStoreArgs.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 EventDataStoreArgs.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 EventDataStoreArgs.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 EventDataStoreArgs.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 EventDataStoreArgs.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 EventDataStoreArgs.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 EventDataStoreArgs.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 EventDataStoreArgs.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 EventDataStoreArgs.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 EventDataStoreArgs.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
      • terminationProtectionEnabled

        public EventDataStoreArgs.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 EventDataStoreArgs.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