public static interface Bucket.Lifecycle.Rule.ActionOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getStorageClass()
public abstract String getStorageClass()
Optional. Target storage class. Required iff the type of the action is SetStorageClass.
string storage_class = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String |
The storageClass. |
getStorageClassBytes()
public abstract ByteString getStorageClassBytes()
Optional. Target storage class. Required iff the type of the action is SetStorageClass.
string storage_class = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for storageClass. |
getType()
public abstract String getType()
Optional. Type of the action. Currently, only Delete
,
SetStorageClass
, and AbortIncompleteMultipartUpload
are
supported.
string type = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String |
The type. |
getTypeBytes()
public abstract ByteString getTypeBytes()
Optional. Type of the action. Currently, only Delete
,
SetStorageClass
, and AbortIncompleteMultipartUpload
are
supported.
string type = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for type. |