Class LBCookieStickinessPolicy
java.lang.Object
software.amazon.awssdk.services.elasticloadbalancing.model.LBCookieStickinessPolicy
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<LBCookieStickinessPolicy.Builder,LBCookieStickinessPolicy>
@Generated("software.amazon.awssdk:codegen")
public final class LBCookieStickinessPolicy
extends Object
implements SdkPojo, Serializable, ToCopyableBuilder<LBCookieStickinessPolicy.Builder,LBCookieStickinessPolicy>
Information about a policy for duration-based session stickiness.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final LongThe time period, in seconds, after which the cookie should be considered stale.final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringThe name of the policy.static Class<? extends LBCookieStickinessPolicy.Builder>final StringtoString()Returns a string representation of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
policyName
The name of the policy. This name must be unique within the set of policies for this load balancer.
- Returns:
- The name of the policy. This name must be unique within the set of policies for this load balancer.
-
cookieExpirationPeriod
The time period, in seconds, after which the cookie should be considered stale. If this parameter is not specified, the stickiness session lasts for the duration of the browser session.
- Returns:
- The time period, in seconds, after which the cookie should be considered stale. If this parameter is not specified, the stickiness session lasts for the duration of the browser session.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<LBCookieStickinessPolicy.Builder,LBCookieStickinessPolicy>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-