|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.elasticloadbalancing.model.AppCookieStickinessPolicy
public class AppCookieStickinessPolicy
The AppCookieStickinessPolicy data type.
Constructor Summary | |
---|---|
AppCookieStickinessPolicy()
Default constructor for a new AppCookieStickinessPolicy object. |
|
AppCookieStickinessPolicy(String policyName,
String cookieName)
Constructs a new AppCookieStickinessPolicy object. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getCookieName()
The name of the application cookie used for stickiness. |
String |
getPolicyName()
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. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
AppCookieStickinessPolicy |
withCookieName(String cookieName)
The name of the application cookie used for stickiness. |
AppCookieStickinessPolicy |
withPolicyName(String policyName)
The mnemonic name for the policy being created. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AppCookieStickinessPolicy()
public AppCookieStickinessPolicy(String policyName, String cookieName)
policyName
- The mnemonic name for the policy being created. The
name must be unique within a set of policies for this LoadBalancer.cookieName
- The name of the application cookie used for
stickiness.Method Detail |
---|
public String getPolicyName()
public void setPolicyName(String policyName)
policyName
- The mnemonic name for the policy being created. The name must be
unique within a set of policies for this LoadBalancer.public AppCookieStickinessPolicy withPolicyName(String policyName)
Returns a reference to this object so that method calls can be chained together.
policyName
- The mnemonic name for the policy being created. The name must be
unique within a set of policies for this LoadBalancer.
public String getCookieName()
public void setCookieName(String cookieName)
cookieName
- The name of the application cookie used for stickiness.public AppCookieStickinessPolicy withCookieName(String cookieName)
Returns a reference to this object so that method calls can be chained together.
cookieName
- The name of the application cookie used for stickiness.
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |