Interface AwsElbLbCookieStickinessPolicy.Builder

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

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

    • cookieExpirationPeriod

      AwsElbLbCookieStickinessPolicy.Builder cookieExpirationPeriod(Long cookieExpirationPeriod)

      The amount of time, in seconds, after which the cookie is considered stale. If an expiration period is not specified, the stickiness session lasts for the duration of the browser session.

      Parameters:
      cookieExpirationPeriod - The amount of time, in seconds, after which the cookie is considered stale. If an expiration period 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.
    • policyName

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

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