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)
keyPrefixEquals
- Set the object key name prefix when the redirect is applied.public String getKeyPrefixEquals()
public RoutingRuleCondition withKeyPrefixEquals(String keyPrefixEquals)
keyPrefixEquals
- Set the object key name prefix when the redirect is applied.public void setHttpErrorCodeReturnedEquals(String httpErrorCodeReturnedEquals)
httpErrorCodeReturnedEquals
- Set the HTTP error code when the redirect is applied.public String getHttpErrorCodeReturnedEquals()
public RoutingRuleCondition withHttpErrorCodeReturnedEquals(String httpErrorCodeReturnedEquals)
httpErrorCodeReturnedEquals
- Set the HTTP error code when the redirect is applied.Copyright © 2010–2021. All rights reserved.