|
Did this page help you?Yes No Tell us about it... |
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.s3.model.RoutingRule
public class RoutingRule
Container for one routing rule that identifies a condition and a redirect that applies when the condition is met.
Constructor Summary | |
---|---|
RoutingRule()
|
Method Summary | |
---|---|
RoutingRuleCondition |
getCondition()
Return the condition that must be met for the specified redirect to apply. |
RedirectRule |
getRedirect()
Return the redirect information. |
void |
setCondition(RoutingRuleCondition condition)
Set the condition that must be met for the specified redirect to apply. |
void |
setRedirect(RedirectRule redirect)
Set the redirect information. |
RoutingRule |
withCondition(RoutingRuleCondition condition)
Set the condition that must be met for the specified redirect to apply and returns a reference to this object(RoutingRule) for method chaining. |
RoutingRule |
withRedirect(RedirectRule redirect)
Set the redirect information and returns a reference to this object(RoutingRule) for method chaining. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RoutingRule()
Method Detail |
---|
public void setCondition(RoutingRuleCondition condition)
public RoutingRuleCondition getCondition()
public RoutingRule withCondition(RoutingRuleCondition condition)
public void setRedirect(RedirectRule redirect)
public RedirectRule getRedirect()
public RoutingRule withRedirect(RedirectRule redirect)
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |