Class InventoryState.Builder

  • Enclosing class:
    InventoryState

    public static final class InventoryState.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • bucket

        public InventoryState.Builder bucket​(@Nullable
                                             com.pulumi.core.Output<java.lang.String> bucket)
        Parameters:
        bucket - Name of the source bucket that inventory lists the objects for.
        Returns:
        builder
      • bucket

        public InventoryState.Builder bucket​(java.lang.String bucket)
        Parameters:
        bucket - Name of the source bucket that inventory lists the objects for.
        Returns:
        builder
      • destination

        public InventoryState.Builder destination​(@Nullable
                                                  com.pulumi.core.Output<InventoryDestinationArgs> destination)
        Parameters:
        destination - Contains information about where to publish the inventory results (documented below).
        Returns:
        builder
      • enabled

        public InventoryState.Builder enabled​(@Nullable
                                              com.pulumi.core.Output<java.lang.Boolean> enabled)
        Parameters:
        enabled - Specifies whether the inventory is enabled or disabled.
        Returns:
        builder
      • enabled

        public InventoryState.Builder enabled​(java.lang.Boolean enabled)
        Parameters:
        enabled - Specifies whether the inventory is enabled or disabled.
        Returns:
        builder
      • filter

        public InventoryState.Builder filter​(@Nullable
                                             com.pulumi.core.Output<InventoryFilterArgs> filter)
        Parameters:
        filter - Specifies an inventory filter. The inventory only includes objects that meet the filter's criteria (documented below).
        Returns:
        builder
      • filter

        public InventoryState.Builder filter​(InventoryFilterArgs filter)
        Parameters:
        filter - Specifies an inventory filter. The inventory only includes objects that meet the filter's criteria (documented below).
        Returns:
        builder
      • includedObjectVersions

        public InventoryState.Builder includedObjectVersions​(@Nullable
                                                             com.pulumi.core.Output<java.lang.String> includedObjectVersions)
        Parameters:
        includedObjectVersions - Object versions to include in the inventory list. Valid values: `All`, `Current`.
        Returns:
        builder
      • includedObjectVersions

        public InventoryState.Builder includedObjectVersions​(java.lang.String includedObjectVersions)
        Parameters:
        includedObjectVersions - Object versions to include in the inventory list. Valid values: `All`, `Current`.
        Returns:
        builder
      • name

        public InventoryState.Builder name​(@Nullable
                                           com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - Unique identifier of the inventory configuration for the bucket.
        Returns:
        builder
      • name

        public InventoryState.Builder name​(java.lang.String name)
        Parameters:
        name - Unique identifier of the inventory configuration for the bucket.
        Returns:
        builder
      • optionalFields

        public InventoryState.Builder optionalFields​(@Nullable
                                                     com.pulumi.core.Output<java.util.List<java.lang.String>> optionalFields)
        Parameters:
        optionalFields - List of optional fields that are included in the inventory results. Please refer to the S3 [documentation](https://docs.aws.amazon.com/AmazonS3/latest/API/API_InventoryConfiguration.html#AmazonS3-Type-InventoryConfiguration-OptionalFields) for more details.
        Returns:
        builder
      • optionalFields

        public InventoryState.Builder optionalFields​(java.util.List<java.lang.String> optionalFields)
        Parameters:
        optionalFields - List of optional fields that are included in the inventory results. Please refer to the S3 [documentation](https://docs.aws.amazon.com/AmazonS3/latest/API/API_InventoryConfiguration.html#AmazonS3-Type-InventoryConfiguration-OptionalFields) for more details.
        Returns:
        builder
      • optionalFields

        public InventoryState.Builder optionalFields​(java.lang.String... optionalFields)
        Parameters:
        optionalFields - List of optional fields that are included in the inventory results. Please refer to the S3 [documentation](https://docs.aws.amazon.com/AmazonS3/latest/API/API_InventoryConfiguration.html#AmazonS3-Type-InventoryConfiguration-OptionalFields) for more details.
        Returns:
        builder
      • schedule

        public InventoryState.Builder schedule​(@Nullable
                                               com.pulumi.core.Output<InventoryScheduleArgs> schedule)
        Parameters:
        schedule - Specifies the schedule for generating inventory results (documented below).
        Returns:
        builder