@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Policies extends Object implements Serializable, Cloneable
The policies for a load balancer.
Constructor and Description |
---|
Policies() |
Modifier and Type | Method and Description |
---|---|
Policies |
clone() |
boolean |
equals(Object obj) |
List<AppCookieStickinessPolicy> |
getAppCookieStickinessPolicies()
The stickiness policies created using CreateAppCookieStickinessPolicy.
|
List<LBCookieStickinessPolicy> |
getLBCookieStickinessPolicies()
The stickiness policies created using CreateLBCookieStickinessPolicy.
|
List<String> |
getOtherPolicies()
The policies other than the stickiness policies.
|
int |
hashCode() |
void |
setAppCookieStickinessPolicies(Collection<AppCookieStickinessPolicy> appCookieStickinessPolicies)
The stickiness policies created using CreateAppCookieStickinessPolicy.
|
void |
setLBCookieStickinessPolicies(Collection<LBCookieStickinessPolicy> lBCookieStickinessPolicies)
The stickiness policies created using CreateLBCookieStickinessPolicy.
|
void |
setOtherPolicies(Collection<String> otherPolicies)
The policies other than the stickiness policies.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
Policies |
withAppCookieStickinessPolicies(AppCookieStickinessPolicy... appCookieStickinessPolicies)
The stickiness policies created using CreateAppCookieStickinessPolicy.
|
Policies |
withAppCookieStickinessPolicies(Collection<AppCookieStickinessPolicy> appCookieStickinessPolicies)
The stickiness policies created using CreateAppCookieStickinessPolicy.
|
Policies |
withLBCookieStickinessPolicies(Collection<LBCookieStickinessPolicy> lBCookieStickinessPolicies)
The stickiness policies created using CreateLBCookieStickinessPolicy.
|
Policies |
withLBCookieStickinessPolicies(LBCookieStickinessPolicy... lBCookieStickinessPolicies)
The stickiness policies created using CreateLBCookieStickinessPolicy.
|
Policies |
withOtherPolicies(Collection<String> otherPolicies)
The policies other than the stickiness policies.
|
Policies |
withOtherPolicies(String... otherPolicies)
The policies other than the stickiness policies.
|
public List<AppCookieStickinessPolicy> getAppCookieStickinessPolicies()
The stickiness policies created using CreateAppCookieStickinessPolicy.
public void setAppCookieStickinessPolicies(Collection<AppCookieStickinessPolicy> appCookieStickinessPolicies)
The stickiness policies created using CreateAppCookieStickinessPolicy.
appCookieStickinessPolicies
- The stickiness policies created using CreateAppCookieStickinessPolicy.public Policies withAppCookieStickinessPolicies(AppCookieStickinessPolicy... appCookieStickinessPolicies)
The stickiness policies created using CreateAppCookieStickinessPolicy.
NOTE: This method appends the values to the existing list (if any). Use
setAppCookieStickinessPolicies(java.util.Collection)
or
withAppCookieStickinessPolicies(java.util.Collection)
if you want to override the existing values.
appCookieStickinessPolicies
- The stickiness policies created using CreateAppCookieStickinessPolicy.public Policies withAppCookieStickinessPolicies(Collection<AppCookieStickinessPolicy> appCookieStickinessPolicies)
The stickiness policies created using CreateAppCookieStickinessPolicy.
appCookieStickinessPolicies
- The stickiness policies created using CreateAppCookieStickinessPolicy.public List<LBCookieStickinessPolicy> getLBCookieStickinessPolicies()
The stickiness policies created using CreateLBCookieStickinessPolicy.
public void setLBCookieStickinessPolicies(Collection<LBCookieStickinessPolicy> lBCookieStickinessPolicies)
The stickiness policies created using CreateLBCookieStickinessPolicy.
lBCookieStickinessPolicies
- The stickiness policies created using CreateLBCookieStickinessPolicy.public Policies withLBCookieStickinessPolicies(LBCookieStickinessPolicy... lBCookieStickinessPolicies)
The stickiness policies created using CreateLBCookieStickinessPolicy.
NOTE: This method appends the values to the existing list (if any). Use
setLBCookieStickinessPolicies(java.util.Collection)
or
withLBCookieStickinessPolicies(java.util.Collection)
if you want to override the existing values.
lBCookieStickinessPolicies
- The stickiness policies created using CreateLBCookieStickinessPolicy.public Policies withLBCookieStickinessPolicies(Collection<LBCookieStickinessPolicy> lBCookieStickinessPolicies)
The stickiness policies created using CreateLBCookieStickinessPolicy.
lBCookieStickinessPolicies
- The stickiness policies created using CreateLBCookieStickinessPolicy.public List<String> getOtherPolicies()
The policies other than the stickiness policies.
public void setOtherPolicies(Collection<String> otherPolicies)
The policies other than the stickiness policies.
otherPolicies
- The policies other than the stickiness policies.public Policies withOtherPolicies(String... otherPolicies)
The policies other than the stickiness policies.
NOTE: This method appends the values to the existing list (if any). Use
setOtherPolicies(java.util.Collection)
or withOtherPolicies(java.util.Collection)
if you want
to override the existing values.
otherPolicies
- The policies other than the stickiness policies.public Policies withOtherPolicies(Collection<String> otherPolicies)
The policies other than the stickiness policies.
otherPolicies
- The policies other than the stickiness policies.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.