public static class BucketInfo.LifecycleRule.LifecycleCondition extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
BucketInfo.LifecycleRule.LifecycleCondition.Builder
Builder for
LifecycleCondition . |
Modifier and Type | Method and Description |
---|---|
Integer |
getAge() |
com.google.api.client.util.DateTime |
getCreatedBefore() |
com.google.api.client.util.DateTime |
getCustomTimeBefore() |
Integer |
getDaysSinceCustomTime()
Returns the number of days elapsed since the user-specified timestamp set on an object.
|
Integer |
getDaysSinceNoncurrentTime()
Returns the number of days elapsed since the noncurrent timestamp of an object.
|
Boolean |
getIsLive() |
List<StorageClass> |
getMatchesStorageClass() |
com.google.api.client.util.DateTime |
getNoncurrentTimeBefore()
Returns the date in RFC 3339 format with only the date part (for instance, "2013-01-15").
|
Integer |
getNumberOfNewerVersions() |
static BucketInfo.LifecycleRule.LifecycleCondition.Builder |
newBuilder() |
BucketInfo.LifecycleRule.LifecycleCondition.Builder |
toBuilder() |
String |
toString() |
public BucketInfo.LifecycleRule.LifecycleCondition.Builder toBuilder()
public static BucketInfo.LifecycleRule.LifecycleCondition.Builder newBuilder()
public Integer getAge()
public com.google.api.client.util.DateTime getCreatedBefore()
public Integer getNumberOfNewerVersions()
public Boolean getIsLive()
public List<StorageClass> getMatchesStorageClass()
public Integer getDaysSinceNoncurrentTime()
public com.google.api.client.util.DateTime getNoncurrentTimeBefore()
public com.google.api.client.util.DateTime getCustomTimeBefore()
public Integer getDaysSinceCustomTime()
Copyright © 2021 Google LLC. All rights reserved.