|
|||||||
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 | |
---|---|
java.lang.String |
getHttpErrorCodeReturnedEquals()
Return the HTTP error code when the redirect is applied. |
java.lang.String |
getKeyPrefixEquals()
Return the object key name prefix when the redirect is applied. |
void |
setHttpErrorCodeReturnedEquals(java.lang.String httpErrorCodeReturnedEquals)
Set the HTTP error code when the redirect is applied. |
void |
setKeyPrefixEquals(java.lang.String keyPrefixEquals)
Set the object key name prefix when the redirect is applied. |
RoutingRuleCondition |
withHttpErrorCodeReturnedEquals(java.lang.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(java.lang.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(java.lang.String keyPrefixEquals)
public java.lang.String getKeyPrefixEquals()
public RoutingRuleCondition withKeyPrefixEquals(java.lang.String keyPrefixEquals)
public void setHttpErrorCodeReturnedEquals(java.lang.String httpErrorCodeReturnedEquals)
public java.lang.String getHttpErrorCodeReturnedEquals()
public RoutingRuleCondition withHttpErrorCodeReturnedEquals(java.lang.String httpErrorCodeReturnedEquals)
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |