Package com.pulumi.aws.s3.inputs
Class InventoryState.Builder
- java.lang.Object
-
- com.pulumi.aws.s3.inputs.InventoryState.Builder
-
- Enclosing class:
- InventoryState
public static final class InventoryState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(InventoryState defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InventoryState.Builderbucket(com.pulumi.core.Output<java.lang.String> bucket)InventoryState.Builderbucket(java.lang.String bucket)InventoryStatebuild()InventoryState.Builderdestination(InventoryDestinationArgs destination)InventoryState.Builderdestination(com.pulumi.core.Output<InventoryDestinationArgs> destination)InventoryState.Builderenabled(com.pulumi.core.Output<java.lang.Boolean> enabled)InventoryState.Builderenabled(java.lang.Boolean enabled)InventoryState.Builderfilter(InventoryFilterArgs filter)InventoryState.Builderfilter(com.pulumi.core.Output<InventoryFilterArgs> filter)InventoryState.BuilderincludedObjectVersions(com.pulumi.core.Output<java.lang.String> includedObjectVersions)InventoryState.BuilderincludedObjectVersions(java.lang.String includedObjectVersions)InventoryState.Buildername(com.pulumi.core.Output<java.lang.String> name)InventoryState.Buildername(java.lang.String name)InventoryState.BuilderoptionalFields(com.pulumi.core.Output<java.util.List<java.lang.String>> optionalFields)InventoryState.BuilderoptionalFields(java.lang.String... optionalFields)InventoryState.BuilderoptionalFields(java.util.List<java.lang.String> optionalFields)InventoryState.Builderregion(com.pulumi.core.Output<java.lang.String> region)InventoryState.Builderregion(java.lang.String region)InventoryState.Builderschedule(InventoryScheduleArgs schedule)InventoryState.Builderschedule(com.pulumi.core.Output<InventoryScheduleArgs> schedule)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(InventoryState defaults)
-
-
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. Both general purpose and directory buckets are supported.- Returns:
- builder
-
bucket
public InventoryState.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 InventoryState.Builder destination(@Nullable com.pulumi.core.Output<InventoryDestinationArgs> destination)
- Parameters:
destination- Where to publish the inventory results. See `destination` Block below.- Returns:
- builder
-
destination
public InventoryState.Builder destination(InventoryDestinationArgs destination)
- Parameters:
destination- Where to publish the inventory results. See `destination` Block below.- Returns:
- builder
-
enabled
public InventoryState.Builder enabled(@Nullable com.pulumi.core.Output<java.lang.Boolean> enabled)
- Parameters:
enabled- Whether to enable the inventory.- Returns:
- builder
-
enabled
public InventoryState.Builder enabled(java.lang.Boolean enabled)
- Parameters:
enabled- Whether to enable the inventory.- Returns:
- builder
-
filter
public InventoryState.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 InventoryState.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 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
-
region
public InventoryState.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 InventoryState.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 InventoryState.Builder schedule(@Nullable 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 InventoryState.Builder schedule(InventoryScheduleArgs schedule)
- Parameters:
schedule- Schedule for generating inventory results. See `schedule` Block below. The following arguments are optional:- Returns:
- builder
-
build
public InventoryState build()
-
-