Class BucketInfo.SoftDeletePolicy (2.36.1)

public static class BucketInfo.SoftDeletePolicy implements Serializable

The bucket's soft delete policy. If this policy is set, any deleted objects will be soft-deleted according to the time specified in the policy

Inheritance

Object > BucketInfo.SoftDeletePolicy

Implements

Serializable

Static Methods

newBuilder()

public static BucketInfo.SoftDeletePolicy.Builder newBuilder()
Returns
TypeDescription
BucketInfo.SoftDeletePolicy.Builder

Constructors

SoftDeletePolicy(BucketInfo.SoftDeletePolicy.Builder builder)

public SoftDeletePolicy(BucketInfo.SoftDeletePolicy.Builder builder)
Parameter
NameDescription
builderBucketInfo.SoftDeletePolicy.Builder

Methods

equals(Object o)

public boolean equals(Object o)
Parameter
NameDescription
oObject
Returns
TypeDescription
boolean
Overrides

getEffectiveTime()

public OffsetDateTime getEffectiveTime()
Returns
TypeDescription
OffsetDateTime

getRetentionDuration()

public Duration getRetentionDuration()
Returns
TypeDescription
Duration

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

public BucketInfo.SoftDeletePolicy.Builder toBuilder()
Returns
TypeDescription
BucketInfo.SoftDeletePolicy.Builder

toString()

public String toString()
Returns
TypeDescription
String
Overrides