public class RoutingRuleCondition extends Object implements Serializable
Constructor and Description |
---|
RoutingRuleCondition() |
Modifier and Type | Method and Description |
---|---|
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.
|
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)
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.