Uses of Class
com.amazonaws.services.s3.model.RedirectRule
-
Packages that use RedirectRule Package Description com.amazonaws.services.s3.model Classes modeling the various types represented by Amazon S3. -
-
Uses of RedirectRule in com.amazonaws.services.s3.model
Methods in com.amazonaws.services.s3.model that return RedirectRule Modifier and Type Method Description RedirectRule
RoutingRule. getRedirect()
Return the redirect information.RedirectRule
BucketWebsiteConfiguration. getRedirectAllRequestsTo()
Return the redirect information where all requests will be redirect to.RedirectRule
RedirectRule. withHostName(String hostName)
Set the host name to use in the redirect request and returns a reference to this object(RoutingRuleRedirect) for method chaining.RedirectRule
RedirectRule. withHttpRedirectCode(String httpRedirectCode)
Set the HTTP code to use in the redirect response and returns a reference to this object(RoutingRuleRedirect) for method chaining.RedirectRule
RedirectRule. withProtocol(String protocol)
Set the protocol to use in the redirect request and and returns a reference to this object(RoutingRuleRedirect) for method chaining.RedirectRule
RedirectRule. withReplaceKeyPrefixWith(String replaceKeyPrefixWith)
Set the object prefix key to use in the redirect request and returns a reference to this object(RoutingRuleRedirect) for method chaining.RedirectRule
RedirectRule. withReplaceKeyWith(String replaceKeyWith)
Set the specific key to use in the redirect request and returns a reference to this object(RoutingRuleRedirect) for method chaining.Methods in com.amazonaws.services.s3.model with parameters of type RedirectRule Modifier and Type Method Description void
RoutingRule. setRedirect(RedirectRule redirect)
Set the redirect information.void
BucketWebsiteConfiguration. setRedirectAllRequestsTo(RedirectRule redirectAllRequestsTo)
Sets the redirect information where all requests will be redirect to.RoutingRule
RoutingRule. withRedirect(RedirectRule redirect)
Set the redirect information and returns a reference to this object(RoutingRule) for method chaining.BucketWebsiteConfiguration
BucketWebsiteConfiguration. withRedirectAllRequestsTo(RedirectRule redirectAllRequestsTo)
Sets the redirect information where all requests will be redirect to and returns a reference to this object(BucketWebsiteConfiguration) for method chaining.
-