public class RoutingRuleCondition
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
(package private) java.lang.String |
httpErrorCodeReturnedEquals
The HTTP error code when the redirect is applied.
|
(package private) java.lang.String |
keyPrefixEquals
The object key name prefix when the redirect is applied.
|
Constructor and Description |
---|
RoutingRuleCondition() |
Modifier and Type | Method and Description |
---|---|
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.
|
java.lang.String keyPrefixEquals
java.lang.String httpErrorCodeReturnedEquals
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)