com.amazonaws.services.elasticloadbalancing.model
Class LBCookieStickinessPolicy

java.lang.Object
  extended by com.amazonaws.services.elasticloadbalancing.model.LBCookieStickinessPolicy

public class LBCookieStickinessPolicy
extends Object

L B Cookie Stickiness Policy


Constructor Summary
LBCookieStickinessPolicy()
           
 
Method Summary
 Long getCookieExpirationPeriod()
          Returns the value of the CookieExpirationPeriod property for this object.
 String getPolicyName()
          Returns the value of the PolicyName property for this object.
 void setCookieExpirationPeriod(Long cookieExpirationPeriod)
          Sets the value of the CookieExpirationPeriod property for this object.
 void setPolicyName(String policyName)
          Sets the value of the PolicyName property for this object.
 String toString()
           
 LBCookieStickinessPolicy withCookieExpirationPeriod(Long cookieExpirationPeriod)
          Sets the value of the CookieExpirationPeriod property for this object.
 LBCookieStickinessPolicy withPolicyName(String policyName)
          Sets the value of the PolicyName property for this object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LBCookieStickinessPolicy

public LBCookieStickinessPolicy()
Method Detail

getPolicyName

public String getPolicyName()
Returns the value of the PolicyName property for this object.

Returns:
The value of the PolicyName property for this object.

setPolicyName

public void setPolicyName(String policyName)
Sets the value of the PolicyName property for this object.

Parameters:
policyName - The new value for the PolicyName property for this object.

withPolicyName

public LBCookieStickinessPolicy withPolicyName(String policyName)
Sets the value of the PolicyName property for this object.

Returns a reference to this object so that method calls can be chained together.

Parameters:
policyName - The new value for the PolicyName property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getCookieExpirationPeriod

public Long getCookieExpirationPeriod()
Returns the value of the CookieExpirationPeriod property for this object.

Returns:
The value of the CookieExpirationPeriod property for this object.

setCookieExpirationPeriod

public void setCookieExpirationPeriod(Long cookieExpirationPeriod)
Sets the value of the CookieExpirationPeriod property for this object.

Parameters:
cookieExpirationPeriod - The new value for the CookieExpirationPeriod property for this object.

withCookieExpirationPeriod

public LBCookieStickinessPolicy withCookieExpirationPeriod(Long cookieExpirationPeriod)
Sets the value of the CookieExpirationPeriod property for this object.

Returns a reference to this object so that method calls can be chained together.

Parameters:
cookieExpirationPeriod - The new value for the CookieExpirationPeriod property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.