Uses of Class
com.amazonaws.services.s3.model.RedirectRule
Packages that use RedirectRule
Package
Description
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 RedirectRuleModifier and TypeMethodDescriptionRoutingRule.getRedirect()
Return the redirect information.BucketWebsiteConfiguration.getRedirectAllRequestsTo()
Return the redirect information where all requests will be redirect to.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.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.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.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.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 RedirectRuleModifier and TypeMethodDescriptionvoid
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.withRedirect
(RedirectRule redirect) Set the redirect information and returns a reference to this object(RoutingRule) for method chaining.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.