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 |
---|---|
boolean |
equals(Object o) |
Integer |
getAge() |
com.google.api.client.util.DateTime |
getCreatedBefore()
Deprecated.
|
OffsetDateTime |
getCreatedBeforeOffsetDateTime()
Returns the date and offset from UTC for this condition.
|
com.google.api.client.util.DateTime |
getCustomTimeBefore()
Deprecated.
|
OffsetDateTime |
getCustomTimeBeforeOffsetDateTime()
Returns the date and offset from UTC for this condition.
|
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<String> |
getMatchesPrefix() |
List<StorageClass> |
getMatchesStorageClass() |
List<String> |
getMatchesSuffix() |
com.google.api.client.util.DateTime |
getNoncurrentTimeBefore()
Deprecated.
|
OffsetDateTime |
getNoncurrentTimeBeforeOffsetDateTime()
Returns the date and offset from UTC for this condition.
|
Integer |
getNumberOfNewerVersions() |
int |
hashCode() |
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()
@Deprecated public com.google.api.client.util.DateTime getCreatedBefore()
getCreatedBeforeOffsetDateTime()
public OffsetDateTime getCreatedBeforeOffsetDateTime()
public Integer getNumberOfNewerVersions()
public Boolean getIsLive()
public List<StorageClass> getMatchesStorageClass()
public Integer getDaysSinceNoncurrentTime()
@Deprecated public com.google.api.client.util.DateTime getNoncurrentTimeBefore()
getNoncurrentTimeBeforeOffsetDateTime()
public OffsetDateTime getNoncurrentTimeBeforeOffsetDateTime()
@Deprecated public com.google.api.client.util.DateTime getCustomTimeBefore()
getCustomTimeBeforeOffsetDateTime()
public OffsetDateTime getCustomTimeBeforeOffsetDateTime()
public Integer getDaysSinceCustomTime()
Copyright © 2023 Google LLC. All rights reserved.