public class Action extends Object
| Constructor and Description |
|---|
Action() |
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Gets the name of the bucket Lifecycle, just for Lifecycle json
|
String |
getStorageClass()
Gets the storageClass of the bucket Lifecycle, just for Lifecycle json
|
void |
setName(String name)
Sets the name of the bucket Lifecycle, just for Lifecycle json
|
void |
setStorageClass(String storageClass)
Sets the storageClass of the bucket Lifecycle Action,just for Lifecycle json
|
String |
toString() |
Action |
withName(String name)
Sets the name of the Action.
|
Action |
withStorageClass(String storageClass)
sets the storageClass of the Bucket Lifecycle Action
|
public String getName()
public void setName(String name)
name - of the bucket Lifecycle.public Action withName(String name)
name - The name of the Actionpublic String getStorageClass()
public void setStorageClass(String storageClass)
storageClass - The storageClass if the Bucket Lifecycel Action.public Action withStorageClass(String storageClass)
storageClass - The storageClass if the Bucket Lifecycel Action.Copyright © 2023. All rights reserved.