public static class BucketInfo.LifecycleRule.LifecycleCondition.Builder extends Object
LifecycleCondition
.public BucketInfo.LifecycleRule.LifecycleCondition.Builder setAge(Integer age)
@Deprecated public BucketInfo.LifecycleRule.LifecycleCondition.Builder setCreatedBefore(com.google.api.client.util.DateTime createdBefore)
setCreatedBeforeOffsetDateTime(OffsetDateTime)
public BucketInfo.LifecycleRule.LifecycleCondition.Builder setCreatedBeforeOffsetDateTime(OffsetDateTime createdBefore)
public BucketInfo.LifecycleRule.LifecycleCondition.Builder setNumberOfNewerVersions(Integer numberOfNewerVersions)
public BucketInfo.LifecycleRule.LifecycleCondition.Builder setIsLive(Boolean live)
public BucketInfo.LifecycleRule.LifecycleCondition.Builder setMatchesStorageClass(List<StorageClass> matchesStorageClass)
public BucketInfo.LifecycleRule.LifecycleCondition.Builder setDaysSinceNoncurrentTime(Integer daysSinceNoncurrentTime)
@Deprecated public BucketInfo.LifecycleRule.LifecycleCondition.Builder setNoncurrentTimeBefore(com.google.api.client.util.DateTime noncurrentTimeBefore)
setNoncurrentTimeBeforeOffsetDateTime(OffsetDateTime)
public BucketInfo.LifecycleRule.LifecycleCondition.Builder setNoncurrentTimeBeforeOffsetDateTime(OffsetDateTime noncurrentTimeBefore)
@Deprecated public BucketInfo.LifecycleRule.LifecycleCondition.Builder setCustomTimeBefore(com.google.api.client.util.DateTime customTimeBefore)
setCustomTimeBeforeOffsetDateTime(OffsetDateTime)
public BucketInfo.LifecycleRule.LifecycleCondition.Builder setCustomTimeBeforeOffsetDateTime(OffsetDateTime customTimeBefore)
public BucketInfo.LifecycleRule.LifecycleCondition.Builder setDaysSinceCustomTime(Integer daysSinceCustomTime)
public BucketInfo.LifecycleRule.LifecycleCondition.Builder setMatchesPrefix(List<String> matchesPrefix)
public BucketInfo.LifecycleRule.LifecycleCondition.Builder setMatchesSuffix(List<String> matchesSuffix)
public BucketInfo.LifecycleRule.LifecycleCondition build()
LifecycleCondition
object. *Copyright © 2023 Google LLC. All rights reserved.