Class CreateAppCookieStickinessPolicyRequest

    • Constructor Detail

      • CreateAppCookieStickinessPolicyRequest

        public CreateAppCookieStickinessPolicyRequest()
        Default constructor for CreateAppCookieStickinessPolicyRequest object. Callers should use the setter or fluent setter (with...) methods to initialize the object after creating it.
      • CreateAppCookieStickinessPolicyRequest

        public CreateAppCookieStickinessPolicyRequest​(String loadBalancerName,
                                                      String policyName,
                                                      String cookieName)
        Constructs a new CreateAppCookieStickinessPolicyRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.
        Parameters:
        loadBalancerName - The name of the load balancer.
        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.
        cookieName - The name of the application cookie used for stickiness.
    • Method Detail

      • setLoadBalancerName

        public void setLoadBalancerName​(String loadBalancerName)

        The name of the load balancer.

        Parameters:
        loadBalancerName - The name of the load balancer.
      • getLoadBalancerName

        public String getLoadBalancerName()

        The name of the load balancer.

        Returns:
        The name of the load balancer.
      • withLoadBalancerName

        public CreateAppCookieStickinessPolicyRequest withLoadBalancerName​(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.
      • setPolicyName

        public void setPolicyName​(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.
      • getPolicyName

        public String getPolicyName()

        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.
      • withPolicyName

        public CreateAppCookieStickinessPolicyRequest withPolicyName​(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.
      • setCookieName

        public void setCookieName​(String cookieName)

        The name of the application cookie used for stickiness.

        Parameters:
        cookieName - The name of the application cookie used for stickiness.
      • getCookieName

        public String getCookieName()

        The name of the application cookie used for stickiness.

        Returns:
        The name of the application cookie used for stickiness.
      • withCookieName

        public CreateAppCookieStickinessPolicyRequest withCookieName​(String cookieName)

        The name of the application cookie used for stickiness.

        Parameters:
        cookieName - The name of the application cookie used for stickiness.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object