Class CreateLoadBalancerPolicyRequest

java.lang.Object
com.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.elasticloadbalancing.model.CreateLoadBalancerPolicyRequest
All Implemented Interfaces:
ReadLimitInfo, Serializable, Cloneable

public class CreateLoadBalancerPolicyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
See Also:
  • Constructor Details

    • CreateLoadBalancerPolicyRequest

      public CreateLoadBalancerPolicyRequest()
  • Method Details

    • 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 CreateLoadBalancerPolicyRequest 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 load balancer policy to be created. This name must be unique within the set of policies for this load balancer.

      Parameters:
      policyName - The name of the load balancer policy to be created. This name must be unique within the set of policies for this load balancer.
    • getPolicyName

      public String getPolicyName()

      The name of the load balancer policy to be created. This name must be unique within the set of policies for this load balancer.

      Returns:
      The name of the load balancer policy to be created. This name must be unique within the set of policies for this load balancer.
    • withPolicyName

      public CreateLoadBalancerPolicyRequest withPolicyName(String policyName)

      The name of the load balancer policy to be created. This name must be unique within the set of policies for this load balancer.

      Parameters:
      policyName - The name of the load balancer policy to be created. 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.
    • setPolicyTypeName

      public void setPolicyTypeName(String policyTypeName)

      The name of the base policy type. To get the list of policy types, use DescribeLoadBalancerPolicyTypes.

      Parameters:
      policyTypeName - The name of the base policy type. To get the list of policy types, use DescribeLoadBalancerPolicyTypes.
    • getPolicyTypeName

      public String getPolicyTypeName()

      The name of the base policy type. To get the list of policy types, use DescribeLoadBalancerPolicyTypes.

      Returns:
      The name of the base policy type. To get the list of policy types, use DescribeLoadBalancerPolicyTypes.
    • withPolicyTypeName

      public CreateLoadBalancerPolicyRequest withPolicyTypeName(String policyTypeName)

      The name of the base policy type. To get the list of policy types, use DescribeLoadBalancerPolicyTypes.

      Parameters:
      policyTypeName - The name of the base policy type. To get the list of policy types, use DescribeLoadBalancerPolicyTypes.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • getPolicyAttributes

      public List<PolicyAttribute> getPolicyAttributes()

      The attributes for the policy.

      Returns:
      The attributes for the policy.
    • setPolicyAttributes

      public void setPolicyAttributes(Collection<PolicyAttribute> policyAttributes)

      The attributes for the policy.

      Parameters:
      policyAttributes - The attributes for the policy.
    • withPolicyAttributes

      public CreateLoadBalancerPolicyRequest withPolicyAttributes(PolicyAttribute... policyAttributes)

      The attributes for the policy.

      NOTE: This method appends the values to the existing list (if any). Use setPolicyAttributes(java.util.Collection) or withPolicyAttributes(java.util.Collection) if you want to override the existing values.

      Parameters:
      policyAttributes - The attributes for the policy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withPolicyAttributes

      public CreateLoadBalancerPolicyRequest withPolicyAttributes(Collection<PolicyAttribute> policyAttributes)

      The attributes for the policy.

      Parameters:
      policyAttributes - The attributes for the policy.
      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:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      Description copied from class: AmazonWebServiceRequest
      Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.
      Overrides:
      clone in class AmazonWebServiceRequest
      See Also: