@Generated(value="software.amazon.awssdk:codegen") public final class Policies extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Policies.Builder,Policies>
The policies for a load balancer.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Policies.Builder |
| Modifier and Type | Method and Description |
|---|---|
List<AppCookieStickinessPolicy> |
appCookieStickinessPolicies()
The stickiness policies created using CreateAppCookieStickinessPolicy.
|
static Policies.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasAppCookieStickinessPolicies()
Returns true if the AppCookieStickinessPolicies property was specified by the sender (it may be empty), or false
if the sender did not specify the value (it will be empty).
|
int |
hashCode() |
boolean |
hasLbCookieStickinessPolicies()
Returns true if the LBCookieStickinessPolicies property was specified by the sender (it may be empty), or false
if the sender did not specify the value (it will be empty).
|
boolean |
hasOtherPolicies()
Returns true if the OtherPolicies property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
List<LBCookieStickinessPolicy> |
lbCookieStickinessPolicies()
The stickiness policies created using CreateLBCookieStickinessPolicy.
|
List<String> |
otherPolicies()
The policies other than the stickiness policies.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Policies.Builder> |
serializableBuilderClass() |
Policies.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final boolean hasAppCookieStickinessPolicies()
public final List<AppCookieStickinessPolicy> appCookieStickinessPolicies()
The stickiness policies created using CreateAppCookieStickinessPolicy.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasAppCookieStickinessPolicies() to see if a value was sent in this field.
public final boolean hasLbCookieStickinessPolicies()
public final List<LBCookieStickinessPolicy> lbCookieStickinessPolicies()
The stickiness policies created using CreateLBCookieStickinessPolicy.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasLbCookieStickinessPolicies() to see if a value was sent in this field.
public final boolean hasOtherPolicies()
public final List<String> otherPolicies()
The policies other than the stickiness policies.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasOtherPolicies() to see if a value was sent in this field.
public Policies.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Policies.Builder,Policies>public static Policies.Builder builder()
public static Class<? extends Policies.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.