Interface Bucket.Lifecycle.Rule.ActionOrBuilder (2.22.6)

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
Type Description
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
Type Description
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
Type Description
String

The type.

getTypeBytes()

public abstract ByteString getTypeBytes()

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

string type = 1;

Returns
Type Description
ByteString

The bytes for type.