|
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.RoutingRuleCondition
public class RoutingRuleCondition
A container for describing a condition that must be met for the specified redirect to apply. For example if request is for pages in the /docs folder, redirect to the /documents folder or if request results in HTTP error 4xx, redirect request to another host where you might process the error.
Constructor Summary | |
---|---|
RoutingRuleCondition()
|
Method Summary | |
---|---|
String |
getHttpErrorCodeReturnedEquals()
Return the HTTP error code when the redirect is applied. |
String |
getKeyPrefixEquals()
Return the object key name prefix when the redirect is applied. |
void |
setHttpErrorCodeReturnedEquals(String httpErrorCodeReturnedEquals)
Set the HTTP error code when the redirect is applied. |
void |
setKeyPrefixEquals(String keyPrefixEquals)
Set the object key name prefix when the redirect is applied. |
RoutingRuleCondition |
withHttpErrorCodeReturnedEquals(String httpErrorCodeReturnedEquals)
Set the HTTP error code when the redirect is applied and returns a reference to this object(RoutingRuleCondition) for method chaining. |
RoutingRuleCondition |
withKeyPrefixEquals(String keyPrefixEquals)
Set the object key name prefix when the redirect is applied and returns a reference to this object(RoutingRuleCondition) for method chaining. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RoutingRuleCondition()
Method Detail |
---|
public void setKeyPrefixEquals(String keyPrefixEquals)
public String getKeyPrefixEquals()
public RoutingRuleCondition withKeyPrefixEquals(String keyPrefixEquals)
public void setHttpErrorCodeReturnedEquals(String httpErrorCodeReturnedEquals)
public String getHttpErrorCodeReturnedEquals()
public RoutingRuleCondition withHttpErrorCodeReturnedEquals(String httpErrorCodeReturnedEquals)
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |