Interface CreateLbCookieStickinessPolicyRequest.Builder

    • Method Detail

      • loadBalancerName

        CreateLbCookieStickinessPolicyRequest.Builder loadBalancerName​(String loadBalancerName)

        The name of the load balancer.

        Parameters:
        loadBalancerName - The name of the load balancer.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • policyName

        CreateLbCookieStickinessPolicyRequest.Builder policyName​(String policyName)

        The name of the policy being created. Policy names must consist of alphanumeric characters and dashes (-). This name must be unique within the set of policies for this load balancer.

        Parameters:
        policyName - The name of the policy being created. Policy names must consist of alphanumeric characters and dashes (-). 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

        CreateLbCookieStickinessPolicyRequest.Builder cookieExpirationPeriod​(Long cookieExpirationPeriod)

        The time period, in seconds, after which the cookie should be considered stale. If you do not specify this parameter, the default value is 0, which indicates that the sticky session should last for the duration of the browser session.

        Parameters:
        cookieExpirationPeriod - The time period, in seconds, after which the cookie should be considered stale. If you do not specify this parameter, the default value is 0, which indicates that the sticky session should last for the duration of the browser session.
        Returns:
        Returns a reference to this object so that method calls can be chained together.