/** * <p> * 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. * </p> * * @param 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. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateLBCookieStickinessPolicyRequest withPolicyName(String policyName) { setPolicyName(policyName); return this; }
/** * Constructs a new CreateLBCookieStickinessPolicyRequest object. Callers should use the setter or fluent setter * (with...) methods to initialize any additional object members. * * @param loadBalancerName * The name of the load balancer. * @param 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. */ public CreateLBCookieStickinessPolicyRequest(String loadBalancerName, String policyName) { setLoadBalancerName(loadBalancerName); setPolicyName(policyName); }
/** * Constructs a new CreateLBCookieStickinessPolicyRequest object. Callers * should use the setter or fluent setter (with...) methods to initialize * any additional object members. * * @param loadBalancerName <p> * The name of the load balancer. * </p> * @param policyName <p> * 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. * </p> */ public CreateLBCookieStickinessPolicyRequest(String loadBalancerName, String policyName) { setLoadBalancerName(loadBalancerName); setPolicyName(policyName); }
/** * <p> * 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. * </p> * * @param 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. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateLBCookieStickinessPolicyRequest withPolicyName(String policyName) { setPolicyName(policyName); return this; }
/** * Constructs a new CreateLBCookieStickinessPolicyRequest object. Callers should use the setter or fluent setter * (with...) methods to initialize any additional object members. * * @param loadBalancerName * The name of the load balancer. * @param 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. */ public CreateLBCookieStickinessPolicyRequest(String loadBalancerName, String policyName) { setLoadBalancerName(loadBalancerName); setPolicyName(policyName); }