Package com.pulumi.gcp.storage.inputs
Class BucketLifecycleRuleConditionArgs
- java.lang.Object
-
- com.pulumi.resources.InputArgs
-
- com.pulumi.resources.ResourceArgs
-
- com.pulumi.gcp.storage.inputs.BucketLifecycleRuleConditionArgs
-
public final class BucketLifecycleRuleConditionArgs extends com.pulumi.resources.ResourceArgs
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BucketLifecycleRuleConditionArgs.Builder
-
Field Summary
Fields Modifier and Type Field Description static BucketLifecycleRuleConditionArgs
Empty
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<com.pulumi.core.Output<java.lang.Integer>>
age()
static BucketLifecycleRuleConditionArgs.Builder
builder()
static BucketLifecycleRuleConditionArgs.Builder
builder(BucketLifecycleRuleConditionArgs defaults)
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
createdBefore()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
customTimeBefore()
java.util.Optional<com.pulumi.core.Output<java.lang.Integer>>
daysSinceCustomTime()
java.util.Optional<com.pulumi.core.Output<java.lang.Integer>>
daysSinceNoncurrentTime()
java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>>
matchesStorageClasses()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
noncurrentTimeBefore()
java.util.Optional<com.pulumi.core.Output<java.lang.Integer>>
numNewerVersions()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
withState()
-
-
-
Field Detail
-
Empty
public static final BucketLifecycleRuleConditionArgs Empty
-
-
Method Detail
-
age
public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> age()
- Returns:
- Minimum age of an object in days to satisfy this condition.
-
createdBefore
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> createdBefore()
- Returns:
- A date in the RFC 3339 format YYYY-MM-DD. This condition is satisfied when an object is created before midnight of the specified date in UTC.
-
customTimeBefore
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> customTimeBefore()
- Returns:
- A date in the RFC 3339 format YYYY-MM-DD. This condition is satisfied when the customTime metadata for the object is set to an earlier date than the date used in this lifecycle condition.
-
daysSinceCustomTime
public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> daysSinceCustomTime()
- Returns:
- Days since the date set in the `customTime` metadata for the object. This condition is satisfied when the current date and time is at least the specified number of days after the `customTime`.
-
daysSinceNoncurrentTime
public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> daysSinceNoncurrentTime()
- Returns:
- Relevant only for versioned objects. Number of days elapsed since the noncurrent timestamp of an object.
-
matchesStorageClasses
public java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> matchesStorageClasses()
- Returns:
- [Storage Class](https://cloud.google.com/storage/docs/storage-classes) of objects to satisfy this condition. Supported values include: `STANDARD`, `MULTI_REGIONAL`, `REGIONAL`, `NEARLINE`, `COLDLINE`, `ARCHIVE`, `DURABLE_REDUCED_AVAILABILITY`.
-
noncurrentTimeBefore
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> noncurrentTimeBefore()
- Returns:
- Relevant only for versioned objects. The date in RFC 3339 (e.g. `2017-06-13`) when the object became nonconcurrent.
-
numNewerVersions
public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> numNewerVersions()
- Returns:
- Relevant only for versioned objects. The number of newer versions of an object to satisfy this condition.
-
withState
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> withState()
- Returns:
- Match to live and/or archived objects. Unversioned buckets have only live objects. Supported values include: `"LIVE"`, `"ARCHIVED"`, `"ANY"`.
-
builder
public static BucketLifecycleRuleConditionArgs.Builder builder()
-
builder
public static BucketLifecycleRuleConditionArgs.Builder builder(BucketLifecycleRuleConditionArgs defaults)
-
-