Interface LBCookieStickinessPolicy.Builder

All Superinterfaces:
Buildable, CopyableBuilder<LBCookieStickinessPolicy.Builder,LBCookieStickinessPolicy>, SdkBuilder<LBCookieStickinessPolicy.Builder,LBCookieStickinessPolicy>, SdkPojo
Enclosing class:
LBCookieStickinessPolicy

public static interface LBCookieStickinessPolicy.Builder extends SdkPojo, CopyableBuilder<LBCookieStickinessPolicy.Builder,LBCookieStickinessPolicy>
  • Method Details

    • policyName

      LBCookieStickinessPolicy.Builder policyName(String policyName)

      The name of the policy. This name must be unique within the set of policies for this load balancer.

      Parameters:
      policyName - The name of the policy. This name must be unique within the set of policies for this load balancer.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • cookieExpirationPeriod

      LBCookieStickinessPolicy.Builder cookieExpirationPeriod(Long 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.

      Parameters:
      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:
      Returns a reference to this object so that method calls can be chained together.