@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsElbLoadBalancerPolicies extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about the policies for a load balancer.
Constructor and Description |
---|
AwsElbLoadBalancerPolicies() |
Modifier and Type | Method and Description |
---|---|
AwsElbLoadBalancerPolicies |
clone() |
boolean |
equals(Object obj) |
List<AwsElbAppCookieStickinessPolicy> |
getAppCookieStickinessPolicies()
The stickiness policies that are created using
CreateAppCookieStickinessPolicy . |
List<AwsElbLbCookieStickinessPolicy> |
getLbCookieStickinessPolicies()
The stickiness policies that are created using
CreateLBCookieStickinessPolicy . |
List<String> |
getOtherPolicies()
The policies other than the stickiness policies.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAppCookieStickinessPolicies(Collection<AwsElbAppCookieStickinessPolicy> appCookieStickinessPolicies)
The stickiness policies that are created using
CreateAppCookieStickinessPolicy . |
void |
setLbCookieStickinessPolicies(Collection<AwsElbLbCookieStickinessPolicy> lbCookieStickinessPolicies)
The stickiness policies that are created using
CreateLBCookieStickinessPolicy . |
void |
setOtherPolicies(Collection<String> otherPolicies)
The policies other than the stickiness policies.
|
String |
toString()
Returns a string representation of this object.
|
AwsElbLoadBalancerPolicies |
withAppCookieStickinessPolicies(AwsElbAppCookieStickinessPolicy... appCookieStickinessPolicies)
The stickiness policies that are created using
CreateAppCookieStickinessPolicy . |
AwsElbLoadBalancerPolicies |
withAppCookieStickinessPolicies(Collection<AwsElbAppCookieStickinessPolicy> appCookieStickinessPolicies)
The stickiness policies that are created using
CreateAppCookieStickinessPolicy . |
AwsElbLoadBalancerPolicies |
withLbCookieStickinessPolicies(AwsElbLbCookieStickinessPolicy... lbCookieStickinessPolicies)
The stickiness policies that are created using
CreateLBCookieStickinessPolicy . |
AwsElbLoadBalancerPolicies |
withLbCookieStickinessPolicies(Collection<AwsElbLbCookieStickinessPolicy> lbCookieStickinessPolicies)
The stickiness policies that are created using
CreateLBCookieStickinessPolicy . |
AwsElbLoadBalancerPolicies |
withOtherPolicies(Collection<String> otherPolicies)
The policies other than the stickiness policies.
|
AwsElbLoadBalancerPolicies |
withOtherPolicies(String... otherPolicies)
The policies other than the stickiness policies.
|
public List<AwsElbAppCookieStickinessPolicy> getAppCookieStickinessPolicies()
The stickiness policies that are created using CreateAppCookieStickinessPolicy
.
CreateAppCookieStickinessPolicy
.public void setAppCookieStickinessPolicies(Collection<AwsElbAppCookieStickinessPolicy> appCookieStickinessPolicies)
The stickiness policies that are created using CreateAppCookieStickinessPolicy
.
appCookieStickinessPolicies
- The stickiness policies that are created using CreateAppCookieStickinessPolicy
.public AwsElbLoadBalancerPolicies withAppCookieStickinessPolicies(AwsElbAppCookieStickinessPolicy... appCookieStickinessPolicies)
The stickiness policies that are 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 that are created using CreateAppCookieStickinessPolicy
.public AwsElbLoadBalancerPolicies withAppCookieStickinessPolicies(Collection<AwsElbAppCookieStickinessPolicy> appCookieStickinessPolicies)
The stickiness policies that are created using CreateAppCookieStickinessPolicy
.
appCookieStickinessPolicies
- The stickiness policies that are created using CreateAppCookieStickinessPolicy
.public List<AwsElbLbCookieStickinessPolicy> getLbCookieStickinessPolicies()
The stickiness policies that are created using CreateLBCookieStickinessPolicy
.
CreateLBCookieStickinessPolicy
.public void setLbCookieStickinessPolicies(Collection<AwsElbLbCookieStickinessPolicy> lbCookieStickinessPolicies)
The stickiness policies that are created using CreateLBCookieStickinessPolicy
.
lbCookieStickinessPolicies
- The stickiness policies that are created using CreateLBCookieStickinessPolicy
.public AwsElbLoadBalancerPolicies withLbCookieStickinessPolicies(AwsElbLbCookieStickinessPolicy... lbCookieStickinessPolicies)
The stickiness policies that are 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 that are created using CreateLBCookieStickinessPolicy
.public AwsElbLoadBalancerPolicies withLbCookieStickinessPolicies(Collection<AwsElbLbCookieStickinessPolicy> lbCookieStickinessPolicies)
The stickiness policies that are created using CreateLBCookieStickinessPolicy
.
lbCookieStickinessPolicies
- The stickiness policies that are 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 AwsElbLoadBalancerPolicies 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 AwsElbLoadBalancerPolicies 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()
public AwsElbLoadBalancerPolicies clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.