Class RemoveTagsRequest

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

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

    • RemoveTagsRequest

      public RemoveTagsRequest()
  • Method Details

    • getLoadBalancerNames

      public List<String> getLoadBalancerNames()

      The name of the load balancer. You can specify a maximum of one load balancer name.

      Returns:
      The name of the load balancer. You can specify a maximum of one load balancer name.
    • setLoadBalancerNames

      public void setLoadBalancerNames(Collection<String> loadBalancerNames)

      The name of the load balancer. You can specify a maximum of one load balancer name.

      Parameters:
      loadBalancerNames - The name of the load balancer. You can specify a maximum of one load balancer name.
    • withLoadBalancerNames

      public RemoveTagsRequest withLoadBalancerNames(String... loadBalancerNames)

      The name of the load balancer. You can specify a maximum of one load balancer name.

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

      Parameters:
      loadBalancerNames - The name of the load balancer. You can specify a maximum of one load balancer name.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withLoadBalancerNames

      public RemoveTagsRequest withLoadBalancerNames(Collection<String> loadBalancerNames)

      The name of the load balancer. You can specify a maximum of one load balancer name.

      Parameters:
      loadBalancerNames - The name of the load balancer. You can specify a maximum of one load balancer name.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • getTags

      public List<TagKeyOnly> getTags()

      The list of tag keys to remove.

      Returns:
      The list of tag keys to remove.
    • setTags

      public void setTags(Collection<TagKeyOnly> tags)

      The list of tag keys to remove.

      Parameters:
      tags - The list of tag keys to remove.
    • withTags

      public RemoveTagsRequest withTags(TagKeyOnly... tags)

      The list of tag keys to remove.

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

      Parameters:
      tags - The list of tag keys to remove.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withTags

      public RemoveTagsRequest withTags(Collection<TagKeyOnly> tags)

      The list of tag keys to remove.

      Parameters:
      tags - The list of tag keys to remove.
      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

      public RemoveTagsRequest 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: