public class CreateAppCookieStickinessPolicyRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
cookieName
The name of the application cookie used for stickiness.
|
private java.lang.String |
loadBalancerName
The name of the load balancer.
|
private java.lang.String |
policyName
The name of the policy being created.
|
NOOP
Constructor and Description |
---|
CreateAppCookieStickinessPolicyRequest()
Default constructor for CreateAppCookieStickinessPolicyRequest object.
|
CreateAppCookieStickinessPolicyRequest(java.lang.String loadBalancerName,
java.lang.String policyName,
java.lang.String cookieName)
Constructs a new CreateAppCookieStickinessPolicyRequest object.
|
Modifier and Type | Method and Description |
---|---|
CreateAppCookieStickinessPolicyRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getCookieName()
The name of the application cookie used for stickiness.
|
java.lang.String |
getLoadBalancerName()
The name of the load balancer.
|
java.lang.String |
getPolicyName()
The name of the policy being created.
|
int |
hashCode() |
void |
setCookieName(java.lang.String cookieName)
The name of the application cookie used for stickiness.
|
void |
setLoadBalancerName(java.lang.String loadBalancerName)
The name of the load balancer.
|
void |
setPolicyName(java.lang.String policyName)
The name of the policy being created.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateAppCookieStickinessPolicyRequest |
withCookieName(java.lang.String cookieName)
The name of the application cookie used for stickiness.
|
CreateAppCookieStickinessPolicyRequest |
withLoadBalancerName(java.lang.String loadBalancerName)
The name of the load balancer.
|
CreateAppCookieStickinessPolicyRequest |
withPolicyName(java.lang.String policyName)
The name of the policy being created.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private java.lang.String loadBalancerName
The name of the load balancer.
private java.lang.String policyName
The name of the policy being created. Policy names must consist of alphanumeric characters and dashes (-). This name must be unique within the set of policies for this load balancer.
private java.lang.String cookieName
The name of the application cookie used for stickiness.
public CreateAppCookieStickinessPolicyRequest()
public CreateAppCookieStickinessPolicyRequest(java.lang.String loadBalancerName, java.lang.String policyName, java.lang.String cookieName)
loadBalancerName
- The name of the load balancer.policyName
- The name of the policy being created. Policy names must consist of
alphanumeric characters and dashes (-). This name must be unique
within the set of policies for this load balancer.cookieName
- The name of the application cookie used for stickiness.public void setLoadBalancerName(java.lang.String loadBalancerName)
The name of the load balancer.
loadBalancerName
- The name of the load balancer.public java.lang.String getLoadBalancerName()
The name of the load balancer.
public CreateAppCookieStickinessPolicyRequest withLoadBalancerName(java.lang.String loadBalancerName)
The name of the load balancer.
loadBalancerName
- The name of the load balancer.public void setPolicyName(java.lang.String policyName)
The name of the policy being created. Policy names must consist of alphanumeric characters and dashes (-). This name must be unique within the set of policies for this load balancer.
policyName
- The name of the policy being created. Policy names must consist of
alphanumeric characters and dashes (-). This name must be unique
within the set of policies for this load balancer.public java.lang.String getPolicyName()
The name of the policy being created. Policy names must consist of alphanumeric characters and dashes (-). This name must be unique within the set of policies for this load balancer.
public CreateAppCookieStickinessPolicyRequest withPolicyName(java.lang.String policyName)
The name of the policy being created. Policy names must consist of alphanumeric characters and dashes (-). This name must be unique within the set of policies for this load balancer.
policyName
- The name of the policy being created. Policy names must consist of
alphanumeric characters and dashes (-). This name must be unique
within the set of policies for this load balancer.public void setCookieName(java.lang.String cookieName)
The name of the application cookie used for stickiness.
cookieName
- The name of the application cookie used for stickiness.public java.lang.String getCookieName()
The name of the application cookie used for stickiness.
public CreateAppCookieStickinessPolicyRequest withCookieName(java.lang.String cookieName)
The name of the application cookie used for stickiness.
cookieName
- The name of the application cookie used for stickiness.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public CreateAppCookieStickinessPolicyRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()