public class RoutingRuleCondition
extends java.lang.Object
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.
|
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)
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.