@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateAppCookieStickinessPolicyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Contains the parameters for CreateAppCookieStickinessPolicy.
NOOP
Constructor and Description |
---|
CreateAppCookieStickinessPolicyRequest()
Default constructor for CreateAppCookieStickinessPolicyRequest object.
|
CreateAppCookieStickinessPolicyRequest(String loadBalancerName,
String policyName,
String cookieName)
Constructs a new CreateAppCookieStickinessPolicyRequest object.
|
Modifier and Type | Method and Description |
---|---|
CreateAppCookieStickinessPolicyRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getCookieName()
The name of the application cookie used for stickiness.
|
String |
getLoadBalancerName()
The name of the load balancer.
|
String |
getPolicyName()
The name of the policy being created.
|
int |
hashCode() |
void |
setCookieName(String cookieName)
The name of the application cookie used for stickiness.
|
void |
setLoadBalancerName(String loadBalancerName)
The name of the load balancer.
|
void |
setPolicyName(String policyName)
The name of the policy being created.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CreateAppCookieStickinessPolicyRequest |
withCookieName(String cookieName)
The name of the application cookie used for stickiness.
|
CreateAppCookieStickinessPolicyRequest |
withLoadBalancerName(String loadBalancerName)
The name of the load balancer.
|
CreateAppCookieStickinessPolicyRequest |
withPolicyName(String policyName)
The name of the policy being created.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public CreateAppCookieStickinessPolicyRequest()
public CreateAppCookieStickinessPolicyRequest(String loadBalancerName, String policyName, 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(String loadBalancerName)
The name of the load balancer.
loadBalancerName
- The name of the load balancer.public String getLoadBalancerName()
The name of the load balancer.
public CreateAppCookieStickinessPolicyRequest withLoadBalancerName(String loadBalancerName)
The name of the load balancer.
loadBalancerName
- The name of the load balancer.public void setPolicyName(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 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(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(String cookieName)
The name of the application cookie used for stickiness.
cookieName
- The name of the application cookie used for stickiness.public String getCookieName()
The name of the application cookie used for stickiness.
public CreateAppCookieStickinessPolicyRequest withCookieName(String cookieName)
The name of the application cookie used for stickiness.
cookieName
- The name of the application cookie used for stickiness.public String toString()
toString
in class Object
Object.toString()
public CreateAppCookieStickinessPolicyRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.