Class BucketInfo.SoftDeletePolicy (2.44.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
Type Description
BucketInfo.SoftDeletePolicy.Builder

Constructors

SoftDeletePolicy(BucketInfo.SoftDeletePolicy.Builder builder)

public SoftDeletePolicy(BucketInfo.SoftDeletePolicy.Builder builder)
Parameter
Name Description
builder BucketInfo.SoftDeletePolicy.Builder

Methods

equals(Object o)

public boolean equals(Object o)
Parameter
Name Description
o Object
Returns
Type Description
boolean
Overrides

getEffectiveTime()

public OffsetDateTime getEffectiveTime()
Returns
Type Description
OffsetDateTime

getRetentionDuration()

public Duration getRetentionDuration()
Returns
Type Description
Duration

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

toBuilder()

public BucketInfo.SoftDeletePolicy.Builder toBuilder()
Returns
Type Description
BucketInfo.SoftDeletePolicy.Builder

toString()

public String toString()
Returns
Type Description
String
Overrides