com.amazonaws.services.elasticloadbalancing.model
Class CreateLBCookieStickinessPolicyRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.elasticloadbalancing.model.CreateLBCookieStickinessPolicyRequest

public class CreateLBCookieStickinessPolicyRequest
extends AmazonWebServiceRequest

Create L B Cookie Stickiness Policy Request


Constructor Summary
CreateLBCookieStickinessPolicyRequest()
           
 
Method Summary
 Long getCookieExpirationPeriod()
          Returns the value of the CookieExpirationPeriod property for this object.
 String getLoadBalancerName()
          Returns the value of the LoadBalancerName 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 setLoadBalancerName(String loadBalancerName)
          Sets the value of the LoadBalancerName property for this object.
 void setPolicyName(String policyName)
          Sets the value of the PolicyName property for this object.
 String toString()
           
 CreateLBCookieStickinessPolicyRequest withCookieExpirationPeriod(Long cookieExpirationPeriod)
          Sets the value of the CookieExpirationPeriod property for this object.
 CreateLBCookieStickinessPolicyRequest withLoadBalancerName(String loadBalancerName)
          Sets the value of the LoadBalancerName property for this object.
 CreateLBCookieStickinessPolicyRequest withPolicyName(String policyName)
          Sets the value of the PolicyName property for this object.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CreateLBCookieStickinessPolicyRequest

public CreateLBCookieStickinessPolicyRequest()
Method Detail

getLoadBalancerName

public String getLoadBalancerName()
Returns the value of the LoadBalancerName property for this object.

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

setLoadBalancerName

public void setLoadBalancerName(String loadBalancerName)
Sets the value of the LoadBalancerName property for this object.

Parameters:
loadBalancerName - The new value for the LoadBalancerName property for this object.

withLoadBalancerName

public CreateLBCookieStickinessPolicyRequest withLoadBalancerName(String loadBalancerName)
Sets the value of the LoadBalancerName property for this object.

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

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

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 CreateLBCookieStickinessPolicyRequest 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 CreateLBCookieStickinessPolicyRequest 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.