|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.baidubce.services.bos.model.Action
public class Action
For Bos Bucket Lifecycle. Operation actions performed on the resource. Required Parameters: actionName. Optional Parameters: actionStorageClass.
Constructor Summary | |
---|---|
Action()
|
Method Summary | |
---|---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Action()
Method Detail |
---|
public String getName()
public void setName(String name)
name
- of the bucket Lifecycle.public Action withName(String name)
name
- The name of the Action
public 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.
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |