public class RedirectRule extends Object implements Serializable
Constructor and Description |
---|
RedirectRule() |
Modifier and Type | Method and Description |
---|---|
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.
|
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)
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.