Class CreateLbCookieStickinessPolicyRequest

    • Method Detail

      • loadBalancerName

        public final String loadBalancerName()

        The name of the load balancer.

        Returns:
        The name of the load balancer.
      • policyName

        public final 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.

        Returns:
        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.
      • cookieExpirationPeriod

        public final 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.

        Returns:
        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.
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object