Package com.amazonaws.services.s3.model
Class RoutingRule
java.lang.Object
com.amazonaws.services.s3.model.RoutingRule
- All Implemented Interfaces:
Serializable
Container for one routing rule that identifies a condition and a redirect
that applies when the condition is met.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturn the condition that must be met for the specified redirect to apply.Return the redirect information.void
setCondition
(RoutingRuleCondition condition) Set the condition that must be met for the specified redirect to apply.void
setRedirect
(RedirectRule redirect) Set the redirect information.withCondition
(RoutingRuleCondition condition) Set the condition that must be met for the specified redirect to apply and returns a reference to this object(RoutingRule) for method chaining.withRedirect
(RedirectRule redirect) Set the redirect information and returns a reference to this object(RoutingRule) for method chaining.
-
Constructor Details
-
RoutingRule
public RoutingRule()
-
-
Method Details
-
setCondition
Set the condition that must be met for the specified redirect to apply. -
getCondition
Return the condition that must be met for the specified redirect to apply. -
withCondition
Set the condition that must be met for the specified redirect to apply and returns a reference to this object(RoutingRule) for method chaining. -
setRedirect
Set the redirect information. -
getRedirect
Return the redirect information. -
withRedirect
Set the redirect information and returns a reference to this object(RoutingRule) for method chaining.
-