@Generated(value="software.amazon.awssdk:codegen") public final class SessionStickinessConfig extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SessionStickinessConfig.Builder,SessionStickinessConfig>
Session stickiness provides the ability to define multiple requests from a single viewer as a single session. This prevents the potentially inconsistent experience of sending some of a given user's requests to your staging distribution, while others are sent to your primary distribution. Define the session duration using TTL values.
| Modifier and Type | Class and Description |
|---|---|
static interface |
SessionStickinessConfig.Builder |
| Modifier and Type | Method and Description |
|---|---|
static SessionStickinessConfig.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
idleTTL()
The amount of time after which you want sessions to cease if no requests are received.
|
Integer |
maximumTTL()
The maximum amount of time to consider requests from the viewer as being part of the same session.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends SessionStickinessConfig.Builder> |
serializableBuilderClass() |
SessionStickinessConfig.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Integer idleTTL()
The amount of time after which you want sessions to cease if no requests are received. Allowed values are 300–3600 seconds (5–60 minutes).
The value must be less than or equal to MaximumTTL.
The value must be less than or equal to MaximumTTL.
public final Integer maximumTTL()
The maximum amount of time to consider requests from the viewer as being part of the same session. Allowed values are 300–3600 seconds (5–60 minutes).
The value must be less than or equal to IdleTTL.
The value must be less than or equal to IdleTTL.
public SessionStickinessConfig.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<SessionStickinessConfig.Builder,SessionStickinessConfig>public static SessionStickinessConfig.Builder builder()
public static Class<? extends SessionStickinessConfig.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.