Class DetachLoadBalancerFromSubnetsResult

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

public class DetachLoadBalancerFromSubnetsResult extends Object implements Serializable, Cloneable
See Also:
  • Constructor Details

    • DetachLoadBalancerFromSubnetsResult

      public DetachLoadBalancerFromSubnetsResult()
  • Method Details

    • getSubnets

      public List<String> getSubnets()

      The IDs of the remaining subnets for the load balancer.

      Returns:
      The IDs of the remaining subnets for the load balancer.
    • setSubnets

      public void setSubnets(Collection<String> subnets)

      The IDs of the remaining subnets for the load balancer.

      Parameters:
      subnets - The IDs of the remaining subnets for the load balancer.
    • withSubnets

      public DetachLoadBalancerFromSubnetsResult withSubnets(String... subnets)

      The IDs of the remaining subnets for the load balancer.

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

      Parameters:
      subnets - The IDs of the remaining subnets for the load balancer.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withSubnets

      public DetachLoadBalancerFromSubnetsResult withSubnets(Collection<String> subnets)

      The IDs of the remaining subnets for the load balancer.

      Parameters:
      subnets - The IDs of the remaining subnets for the load balancer.
      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

      Overrides:
      clone in class Object