Package com.google.cloud.storage
Class BucketInfo.LifecycleRule.LifecycleCondition
java.lang.Object
com.google.cloud.storage.BucketInfo.LifecycleRule.LifecycleCondition
- All Implemented Interfaces:
Serializable
- Enclosing class:
- BucketInfo.LifecycleRule
public static class BucketInfo.LifecycleRule.LifecycleCondition
extends Object
implements Serializable
Condition for a Lifecycle rule, specifies under what criteria an Action should be executed.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder forLifecycleCondition. -
Method Summary
Modifier and TypeMethodDescriptionbooleangetAge()com.google.api.client.util.DateTimeDeprecated.Returns the date and offset from UTC for this condition.com.google.api.client.util.DateTimeDeprecated.Returns the date and offset from UTC for this condition.Returns the number of days elapsed since the user-specified timestamp set on an object.Returns the number of days elapsed since the noncurrent timestamp of an object.com.google.api.client.util.DateTimeDeprecated.Returns the date and offset from UTC for this condition.inthashCode()toString()
-
Method Details
-
toBuilder
-
newBuilder
-
toString
-
getAge
-
getCreatedBefore
Deprecated. -
getCreatedBeforeOffsetDateTime
Returns the date and offset from UTC for this condition. If a time other than 00:00:00.000 is present in the value, GCS will truncate to 00:00:00.000. -
getNumberOfNewerVersions
-
getIsLive
-
getMatchesStorageClass
-
getDaysSinceNoncurrentTime
Returns the number of days elapsed since the noncurrent timestamp of an object. -
getNoncurrentTimeBefore
Deprecated.Returns the date in RFC 3339 format with only the date part (for instance, "2013-01-15"). -
getNoncurrentTimeBeforeOffsetDateTime
Returns the date and offset from UTC for this condition. If a time other than 00:00:00.000 is present in the value, GCS will truncate to 00:00:00.000. -
getCustomTimeBefore
Deprecated.Returns the date in RFC 3339 format with only the date part (for instance, "2013-01-15"). -
getCustomTimeBeforeOffsetDateTime
Returns the date and offset from UTC for this condition. If a time other than 00:00:00.000 is present in the value, GCS will truncate to 00:00:00.000. -
getDaysSinceCustomTime
Returns the number of days elapsed since the user-specified timestamp set on an object. -
getMatchesPrefix
-
getMatchesSuffix
-
equals
-
hashCode
public int hashCode()
-
getCreatedBeforeOffsetDateTime()