Class AppCookieStickinessPolicy
java.lang.Object
com.amazonaws.services.elasticloadbalancing.model.AppCookieStickinessPolicy
- All Implemented Interfaces:
Serializable
,Cloneable
Information about a policy for application-controlled session stickiness.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for AppCookieStickinessPolicy object.AppCookieStickinessPolicy
(String policyName, String cookieName) Constructs a new AppCookieStickinessPolicy object. -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The name of the application cookie used for stickiness.The mnemonic name for the policy being created.int
hashCode()
void
setCookieName
(String cookieName) The name of the application cookie used for stickiness.void
setPolicyName
(String policyName) The mnemonic name for 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.withPolicyName
(String policyName) The mnemonic name for the policy being created.
-
Constructor Details
-
AppCookieStickinessPolicy
public AppCookieStickinessPolicy()Default constructor for AppCookieStickinessPolicy object. Callers should use the setter or fluent setter (with...) methods to initialize the object after creating it. -
AppCookieStickinessPolicy
Constructs a new AppCookieStickinessPolicy object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.- Parameters:
policyName
- The mnemonic name for the policy being created. The name must be unique within a set of policies for this load balancer.cookieName
- The name of the application cookie used for stickiness.
-
-
Method Details
-
setPolicyName
The mnemonic name for the policy being created. The name must be unique within a set of policies for this load balancer.
- Parameters:
policyName
- The mnemonic name for the policy being created. The name must be unique within a set of policies for this load balancer.
-
getPolicyName
The mnemonic name for the policy being created. The name must be unique within a set of policies for this load balancer.
- Returns:
- The mnemonic name for the policy being created. The name must be unique within a set of policies for this load balancer.
-
withPolicyName
The mnemonic name for the policy being created. The name must be unique within a set of policies for this load balancer.
- Parameters:
policyName
- The mnemonic name for the policy being created. The name must be unique within a 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
-