@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsElbAppCookieStickinessPolicy extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about a stickiness policy that was created using CreateAppCookieStickinessPolicy.
| Constructor and Description |
|---|
AwsElbAppCookieStickinessPolicy() |
| Modifier and Type | Method and Description |
|---|---|
AwsElbAppCookieStickinessPolicy |
clone() |
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 |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
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.
|
AwsElbAppCookieStickinessPolicy |
withCookieName(String cookieName)
The name of the application cookie used for stickiness.
|
AwsElbAppCookieStickinessPolicy |
withPolicyName(String policyName)
The mnemonic name for the policy being created.
|
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 AwsElbAppCookieStickinessPolicy withCookieName(String cookieName)
The name of the application cookie used for stickiness.
cookieName - The name of the application cookie used for stickiness.public void setPolicyName(String policyName)
The mnemonic name for the policy being created. The name must be unique within the set of policies for the load balancer.
policyName - The mnemonic name for the policy being created. The name must be unique within the set of policies for the
load balancer.public String getPolicyName()
The mnemonic name for the policy being created. The name must be unique within the set of policies for the load balancer.
public AwsElbAppCookieStickinessPolicy withPolicyName(String policyName)
The mnemonic name for the policy being created. The name must be unique within the set of policies for the load balancer.
policyName - The mnemonic name for the policy being created. The name must be unique within the set of policies for the
load balancer.public String toString()
toString in class ObjectObject.toString()public AwsElbAppCookieStickinessPolicy clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.