Class CreateAppCookieStickinessPolicyRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for CreateAppCookieStickinessPolicyRequest object.CreateAppCookieStickinessPolicyRequest
(String loadBalancerName, String policyName, String cookieName) Constructs a new CreateAppCookieStickinessPolicyRequest object. -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
The name of the application cookie used for stickiness.The name of the load balancer.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.toString()
Returns a string representation of this object; useful for testing and debugging.withCookieName
(String cookieName) The name of the application cookie used for stickiness.withLoadBalancerName
(String loadBalancerName) The name of the load balancer.withPolicyName
(String policyName) The name of the policy being created.Methods inherited from class com.amazonaws.AmazonWebServiceRequest
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
-
Constructor Details
-
CreateAppCookieStickinessPolicyRequest
public CreateAppCookieStickinessPolicyRequest()Default constructor for CreateAppCookieStickinessPolicyRequest object. Callers should use the setter or fluent setter (with...) methods to initialize the object after creating it. -
CreateAppCookieStickinessPolicyRequest
public CreateAppCookieStickinessPolicyRequest(String loadBalancerName, String policyName, String cookieName) Constructs a new CreateAppCookieStickinessPolicyRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.- Parameters:
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.
-
-
Method Details
-
setLoadBalancerName
The name of the load balancer.
- Parameters:
loadBalancerName
- The name of the load balancer.
-
getLoadBalancerName
The name of the load balancer.
- Returns:
- The name of the load balancer.
-
withLoadBalancerName
The name of the load balancer.
- Parameters:
loadBalancerName
- The name of the load balancer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setPolicyName
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.
- Parameters:
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.
-
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.
- Returns:
- 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.
-
withPolicyName
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCookieName
The name of the application cookie used for stickiness.
- Parameters:
cookieName
- The name of the application cookie used for stickiness.
-
getCookieName
The name of the application cookie used for stickiness.
- Returns:
- The name of the application cookie used for stickiness.
-
withCookieName
The name of the application cookie used for stickiness.
- Parameters:
cookieName
- The name of the application cookie used for stickiness.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
-