Package com.pulumi.aws.s3
Class InventoryArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.s3.InventoryArgs.Builder
-
- Enclosing class:
- InventoryArgs
public static final class InventoryArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(InventoryArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InventoryArgs.Builderbucket(com.pulumi.core.Output<java.lang.String> bucket)InventoryArgs.Builderbucket(java.lang.String bucket)InventoryArgsbuild()InventoryArgs.Builderdestination(InventoryDestinationArgs destination)InventoryArgs.Builderdestination(com.pulumi.core.Output<InventoryDestinationArgs> destination)InventoryArgs.Builderenabled(com.pulumi.core.Output<java.lang.Boolean> enabled)InventoryArgs.Builderenabled(java.lang.Boolean enabled)InventoryArgs.Builderfilter(InventoryFilterArgs filter)InventoryArgs.Builderfilter(com.pulumi.core.Output<InventoryFilterArgs> filter)InventoryArgs.BuilderincludedObjectVersions(com.pulumi.core.Output<java.lang.String> includedObjectVersions)InventoryArgs.BuilderincludedObjectVersions(java.lang.String includedObjectVersions)InventoryArgs.Buildername(com.pulumi.core.Output<java.lang.String> name)InventoryArgs.Buildername(java.lang.String name)InventoryArgs.BuilderoptionalFields(com.pulumi.core.Output<java.util.List<java.lang.String>> optionalFields)InventoryArgs.BuilderoptionalFields(java.lang.String... optionalFields)InventoryArgs.BuilderoptionalFields(java.util.List<java.lang.String> optionalFields)InventoryArgs.Builderregion(com.pulumi.core.Output<java.lang.String> region)InventoryArgs.Builderregion(java.lang.String region)InventoryArgs.Builderschedule(InventoryScheduleArgs schedule)InventoryArgs.Builderschedule(com.pulumi.core.Output<InventoryScheduleArgs> schedule)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(InventoryArgs defaults)
-
-
Method Detail
-
bucket
public InventoryArgs.Builder bucket(com.pulumi.core.Output<java.lang.String> bucket)
- Parameters:
bucket- Name of the source bucket that inventory lists the objects for. Both general purpose and directory buckets are supported.- Returns:
- builder
-
bucket
public InventoryArgs.Builder bucket(java.lang.String bucket)
- Parameters:
bucket- Name of the source bucket that inventory lists the objects for. Both general purpose and directory buckets are supported.- Returns:
- builder
-
destination
public InventoryArgs.Builder destination(com.pulumi.core.Output<InventoryDestinationArgs> destination)
- Parameters:
destination- Where to publish the inventory results. See `destination` Block below.- Returns:
- builder
-
destination
public InventoryArgs.Builder destination(InventoryDestinationArgs destination)
- Parameters:
destination- Where to publish the inventory results. See `destination` Block below.- Returns:
- builder
-
enabled
public InventoryArgs.Builder enabled(@Nullable com.pulumi.core.Output<java.lang.Boolean> enabled)
- Parameters:
enabled- Whether to enable the inventory.- Returns:
- builder
-
enabled
public InventoryArgs.Builder enabled(java.lang.Boolean enabled)
- Parameters:
enabled- Whether to enable the inventory.- Returns:
- builder
-
filter
public InventoryArgs.Builder filter(@Nullable com.pulumi.core.Output<InventoryFilterArgs> filter)
- Parameters:
filter- Inventory filter. The inventory only includes objects that meet the filter's criteria. See `filter` Block below.- Returns:
- builder
-
filter
public InventoryArgs.Builder filter(InventoryFilterArgs filter)
- Parameters:
filter- Inventory filter. The inventory only includes objects that meet the filter's criteria. See `filter` Block below.- Returns:
- builder
-
includedObjectVersions
public InventoryArgs.Builder includedObjectVersions(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 InventoryArgs.Builder includedObjectVersions(java.lang.String includedObjectVersions)
- Parameters:
includedObjectVersions- Object versions to include in the inventory list. Valid values: `All`, `Current`.- Returns:
- builder
-
name
public InventoryArgs.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 InventoryArgs.Builder name(java.lang.String name)
- Parameters:
name- Unique identifier of the inventory configuration for the bucket.- Returns:
- builder
-
optionalFields
public InventoryArgs.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 InventoryArgs.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 InventoryArgs.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
-
region
public InventoryArgs.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 InventoryArgs.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
-
schedule
public InventoryArgs.Builder schedule(com.pulumi.core.Output<InventoryScheduleArgs> schedule)
- Parameters:
schedule- Schedule for generating inventory results. See `schedule` Block below. The following arguments are optional:- Returns:
- builder
-
schedule
public InventoryArgs.Builder schedule(InventoryScheduleArgs schedule)
- Parameters:
schedule- Schedule for generating inventory results. See `schedule` Block below. The following arguments are optional:- Returns:
- builder
-
build
public InventoryArgs build()
-
-