Interface StickinessConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<StickinessConfiguration.Builder,,StickinessConfiguration> SdkBuilder<StickinessConfiguration.Builder,,StickinessConfiguration> SdkPojo
- Enclosing class:
StickinessConfiguration
@Mutable
@NotThreadSafe
public static interface StickinessConfiguration.Builder
extends SdkPojo, CopyableBuilder<StickinessConfiguration.Builder,StickinessConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionidentifier(String identifier) The expression that identifies where to extract the session identifier from the request (for example,$context.header.x-session-id).The session stickiness timeout, in seconds.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
identifier
The expression that identifies where to extract the session identifier from the request (for example,
$context.header.x-session-id).- Parameters:
identifier- The expression that identifies where to extract the session identifier from the request (for example,$context.header.x-session-id).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timeout
The session stickiness timeout, in seconds. After this duration of inactivity, the session affinity expires. Valid values range from 1 to 86400.
- Parameters:
timeout- The session stickiness timeout, in seconds. After this duration of inactivity, the session affinity expires. Valid values range from 1 to 86400.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-