@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsS3BucketWebsiteConfigurationRoutingRuleCondition extends Object implements Serializable, Cloneable, StructuredPojo
The condition that must be met in order to apply the routing rule.
Constructor and Description |
---|
AwsS3BucketWebsiteConfigurationRoutingRuleCondition() |
Modifier and Type | Method and Description |
---|---|
AwsS3BucketWebsiteConfigurationRoutingRuleCondition |
clone() |
boolean |
equals(Object obj) |
String |
getHttpErrorCodeReturnedEquals()
Indicates to redirect the request if the HTTP error code matches this value.
|
String |
getKeyPrefixEquals()
Indicates to redirect the request if the key prefix matches this value.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setHttpErrorCodeReturnedEquals(String httpErrorCodeReturnedEquals)
Indicates to redirect the request if the HTTP error code matches this value.
|
void |
setKeyPrefixEquals(String keyPrefixEquals)
Indicates to redirect the request if the key prefix matches this value.
|
String |
toString()
Returns a string representation of this object.
|
AwsS3BucketWebsiteConfigurationRoutingRuleCondition |
withHttpErrorCodeReturnedEquals(String httpErrorCodeReturnedEquals)
Indicates to redirect the request if the HTTP error code matches this value.
|
AwsS3BucketWebsiteConfigurationRoutingRuleCondition |
withKeyPrefixEquals(String keyPrefixEquals)
Indicates to redirect the request if the key prefix matches this value.
|
public AwsS3BucketWebsiteConfigurationRoutingRuleCondition()
public void setHttpErrorCodeReturnedEquals(String httpErrorCodeReturnedEquals)
Indicates to redirect the request if the HTTP error code matches this value.
httpErrorCodeReturnedEquals
- Indicates to redirect the request if the HTTP error code matches this value.public String getHttpErrorCodeReturnedEquals()
Indicates to redirect the request if the HTTP error code matches this value.
public AwsS3BucketWebsiteConfigurationRoutingRuleCondition withHttpErrorCodeReturnedEquals(String httpErrorCodeReturnedEquals)
Indicates to redirect the request if the HTTP error code matches this value.
httpErrorCodeReturnedEquals
- Indicates to redirect the request if the HTTP error code matches this value.public void setKeyPrefixEquals(String keyPrefixEquals)
Indicates to redirect the request if the key prefix matches this value.
keyPrefixEquals
- Indicates to redirect the request if the key prefix matches this value.public String getKeyPrefixEquals()
Indicates to redirect the request if the key prefix matches this value.
public AwsS3BucketWebsiteConfigurationRoutingRuleCondition withKeyPrefixEquals(String keyPrefixEquals)
Indicates to redirect the request if the key prefix matches this value.
keyPrefixEquals
- Indicates to redirect the request if the key prefix matches this value.public String toString()
toString
in class Object
Object.toString()
public AwsS3BucketWebsiteConfigurationRoutingRuleCondition clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.