|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.baidubce.services.bos.model.Rule
public class Rule
The Rule for Bucket Lifecycle.
| Constructor Summary | |
|---|---|
Rule()
|
|
| Method Summary | |
|---|---|
Action |
getAction()
Gets the action of Bucket Lifecycle. |
Condition |
getCondition()
Gets the condtion of Bucket Lifecycle. |
String |
getId()
Gets the rule id of Bucket Lifecycle. |
List<String> |
getResource()
Which resources the rules take effect. |
String |
getStatus()
Gets the status of Bucket Lifecycle. |
void |
setAction(Action action)
Sets the action of Bucket Lifecycle. |
void |
setCondition(Condition condition)
Sets the condtion of Bucket Lifecycle. |
void |
setId(String id)
Sets the rule id of Bucket Lifecycle. |
void |
setResource(List<String> resource)
Sets the resource of Bucket Lifecycle. |
void |
setStatus(String status)
Sets the status of Bucket Lifecycle. |
String |
toString()
|
Rule |
withAction(Action action)
Sets the action of Bucket Lifecycle. |
Rule |
withCondtion(Condition condition)
Sets the condtion of Bucket Lifecycle. |
Rule |
withId(String id)
Sets the rule id of Bucket Lifecycle. |
Rule |
withResource(List<String> resource)
Sets the resource of Bucket Lifecycle. |
Rule |
withStatus(String status)
Sets the status of Bucket Lifecycle. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Rule()
| Method Detail |
|---|
public String getId()
public void setId(String id)
id - The rule id of Bucket Lifecycle.public Rule withId(String id)
id - The rule id of Bucket Lifecycle.
public String getStatus()
public void setStatus(String status)
status - The status of Bucket Lifecycle.public Rule withStatus(String status)
status - The status of Bucket Lifecycle.
public List<String> getResource()
public void setResource(List<String> resource)
resource - The resource of Bucket Lifecycle.public Rule withResource(List<String> resource)
resource - The resources of Bucket Lifecycle.
public Condition getCondition()
public void setCondition(Condition condition)
condition - The condtion of Bucket Lifecycle.public Rule withCondtion(Condition condition)
condition - The condtion of Bucket Lifecycle.
public Action getAction()
public void setAction(Action action)
action - The action of Bucket Lifecycle.public Rule withAction(Action action)
action - The action of Bucket Lifecycle.
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||