Class BucketInfo.LifecycleRule.LifecycleCondition (2.2.3)

public static class BucketInfo.LifecycleRule.LifecycleCondition implements Serializable

Condition for a Lifecycle rule, specifies under what criteria an Action should be executed.

Inheritance

java.lang.Object > BucketInfo.LifecycleRule.LifecycleCondition

Implements

Serializable

Methods

getAge()

public Integer getAge()
Returns
Type Description
Integer

getCreatedBefore()

public DateTime getCreatedBefore()
Returns
Type Description
com.google.api.client.util.DateTime

getCustomTimeBefore()

public DateTime getCustomTimeBefore()
Returns
Type Description
com.google.api.client.util.DateTime

getDaysSinceCustomTime()

public Integer getDaysSinceCustomTime()

Returns the number of days elapsed since the user-specified timestamp set on an object.

Returns
Type Description
Integer

getDaysSinceNoncurrentTime()

public Integer getDaysSinceNoncurrentTime()

Returns the number of days elapsed since the noncurrent timestamp of an object.

Returns
Type Description
Integer

getIsLive()

public Boolean getIsLive()
Returns
Type Description
Boolean

getMatchesStorageClass()

public List<StorageClass> getMatchesStorageClass()
Returns
Type Description
List<StorageClass>

getNoncurrentTimeBefore()

public DateTime getNoncurrentTimeBefore()

Returns the date in RFC 3339 format with only the date part (for instance, "2013-01-15").

Returns
Type Description
com.google.api.client.util.DateTime

getNumberOfNewerVersions()

public Integer getNumberOfNewerVersions()
Returns
Type Description
Integer

newBuilder()

public static BucketInfo.LifecycleRule.LifecycleCondition.Builder newBuilder()
Returns
Type Description
BucketInfo.LifecycleRule.LifecycleCondition.Builder

toBuilder()

public BucketInfo.LifecycleRule.LifecycleCondition.Builder toBuilder()
Returns
Type Description
BucketInfo.LifecycleRule.LifecycleCondition.Builder

toString()

public String toString()
Returns
Type Description
String
Overrides