ImmutabilityPolicy Interface
Implements
public interface ImmutabilityPolicy
extends HasInnerModel<ImmutabilityPolicyInner>, Indexable, Refreshable<ImmutabilityPolicy>, Updatable<Update>, HasManager<StorageManager>
Type representing ImmutabilityPolicy.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract String | etag() |
abstract void |
extend(int immutabilityPeriodSinceCreationInDays)
Extends the immutability policy. |
abstract Mono<Void> |
extendAsync(int immutabilityPeriodSinceCreationInDays)
Extends the immutability policy. |
abstract String | id() |
abstract int | immutabilityPeriodSinceCreationInDays() |
abstract void |
lock()
Locks the immutability policy. |
abstract Mono<Void> |
lockAsync()
Locks the immutability policy. |
abstract String | name() |
abstract
Immutability |
state() |
abstract String | type() |
Method Details
etag
public abstract String etag()
Returns:
extend
public abstract void extend(int immutabilityPeriodSinceCreationInDays)
Extends the immutability policy.
Parameters:
extendAsync
public abstract Mono
Extends the immutability policy.
Parameters:
Returns:
id
public abstract String id()
Returns:
immutabilityPeriodSinceCreationInDays
public abstract int immutabilityPeriodSinceCreationInDays()
Returns:
lock
public abstract void lock()
Locks the immutability policy.
lockAsync
public abstract Mono
Locks the immutability policy.
Returns:
name
public abstract String name()
Returns:
state
public abstract ImmutabilityPolicyState state()
Returns:
type
public abstract String type()
Returns: