Interface Bucket.Lifecycle.Rule.ActionOrBuilder (2.36.1)

public static interface Bucket.Lifecycle.Rule.ActionOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getStorageClass()

public abstract String getStorageClass()

Target storage class. Required iff the type of the action is SetStorageClass.

string storage_class = 2;

Returns
TypeDescription
String

The storageClass.

getStorageClassBytes()

public abstract ByteString getStorageClassBytes()

Target storage class. Required iff the type of the action is SetStorageClass.

string storage_class = 2;

Returns
TypeDescription
ByteString

The bytes for storageClass.

getType()

public abstract String getType()

Type of the action. Currently, only Delete, SetStorageClass, and AbortIncompleteMultipartUpload are supported.

string type = 1;

Returns
TypeDescription
String

The type.

getTypeBytes()

public abstract ByteString getTypeBytes()

Type of the action. Currently, only Delete, SetStorageClass, and AbortIncompleteMultipartUpload are supported.

string type = 1;

Returns
TypeDescription
ByteString

The bytes for type.