|
Did this page help you?Yes No Tell us about it... |
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectcom.amazonaws.services.s3.model.RedirectRule
public class RedirectRule
Container for redirect information. You can redirect requests to another host, to another page, or with another protocol. In the event of an error, you can can specify a different error code to return.
| Constructor Summary | |
|---|---|
RedirectRule()
|
|
| Method Summary | |
|---|---|
String |
getHostName()
Return the host name to use in the redirect request. |
String |
getHttpRedirectCode()
Return the HTTP code to use in the redirect response. |
String |
getprotocol()
Return the protocol to use in the redirect request. |
String |
getReplaceKeyPrefixWith()
Return the object prefix key to use in the redirect request. |
String |
getReplaceKeyWith()
Return the specific key to use in the redirect request. |
void |
setHostName(String hostName)
Set the host name to use in the redirect request. |
void |
setHttpRedirectCode(String httpRedirectCode)
Set the HTTP code to use in the redirect response. |
void |
setProtocol(String protocol)
Set the protocol to use in the redirect request. |
void |
setReplaceKeyPrefixWith(String replaceKeyPrefixWith)
Set the object prefix key to use in the redirect request. |
void |
setReplaceKeyWith(String replaceKeyWith)
Set the specific key to use in the redirect request. |
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 inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RedirectRule()
| Method Detail |
|---|
public void setProtocol(String protocol)
public String getprotocol()
public RedirectRule withProtocol(String protocol)
public void setHostName(String hostName)
public String getHostName()
public RedirectRule withHostName(String hostName)
public void setReplaceKeyPrefixWith(String replaceKeyPrefixWith)
public String getReplaceKeyPrefixWith()
public RedirectRule withReplaceKeyPrefixWith(String replaceKeyPrefixWith)
public void setReplaceKeyWith(String replaceKeyWith)
public String getReplaceKeyWith()
public RedirectRule withReplaceKeyWith(String replaceKeyWith)
public void setHttpRedirectCode(String httpRedirectCode)
public String getHttpRedirectCode()
public RedirectRule withHttpRedirectCode(String httpRedirectCode)
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||