public class RedirectRule
extends java.lang.Object
Constructor and Description |
---|
RedirectRule() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getHostName()
Return the host name to use in the redirect request.
|
java.lang.String |
getHttpRedirectCode()
Return the HTTP code to use in the redirect response.
|
java.lang.String |
getprotocol()
Return the protocol to use in the redirect request.
|
java.lang.String |
getReplaceKeyPrefixWith()
Return the object prefix key to use in the redirect request.
|
java.lang.String |
getReplaceKeyWith()
Return the specific key to use in the redirect request.
|
void |
setHostName(java.lang.String hostName)
Set the host name to use in the redirect request.
|
void |
setHttpRedirectCode(java.lang.String httpRedirectCode)
Set the HTTP code to use in the redirect response.
|
void |
setProtocol(java.lang.String protocol)
Set the protocol to use in the redirect request.
|
void |
setReplaceKeyPrefixWith(java.lang.String replaceKeyPrefixWith)
Set the object prefix key to use in the redirect request.
|
void |
setReplaceKeyWith(java.lang.String replaceKeyWith)
Set the specific key to use in the redirect request.
|
RedirectRule |
withHostName(java.lang.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(java.lang.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(java.lang.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(java.lang.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(java.lang.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(java.lang.String protocol)
public java.lang.String getprotocol()
public RedirectRule withProtocol(java.lang.String protocol)
public void setHostName(java.lang.String hostName)
public java.lang.String getHostName()
public RedirectRule withHostName(java.lang.String hostName)
public void setReplaceKeyPrefixWith(java.lang.String replaceKeyPrefixWith)
public java.lang.String getReplaceKeyPrefixWith()
public RedirectRule withReplaceKeyPrefixWith(java.lang.String replaceKeyPrefixWith)
public void setReplaceKeyWith(java.lang.String replaceKeyWith)
public java.lang.String getReplaceKeyWith()
public RedirectRule withReplaceKeyWith(java.lang.String replaceKeyWith)
public void setHttpRedirectCode(java.lang.String httpRedirectCode)
public java.lang.String getHttpRedirectCode()
public RedirectRule withHttpRedirectCode(java.lang.String httpRedirectCode)
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.