Class CrossZoneLoadBalancing

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

public class CrossZoneLoadBalancing extends Object implements Serializable, Cloneable

Information about the CrossZoneLoadBalancing attribute.

See Also:
  • Constructor Details

    • CrossZoneLoadBalancing

      public CrossZoneLoadBalancing()
  • Method Details

    • setEnabled

      public void setEnabled(Boolean enabled)

      Specifies whether cross-zone load balancing is enabled for the load balancer.

      Parameters:
      enabled - Specifies whether cross-zone load balancing is enabled for the load balancer.
    • getEnabled

      public Boolean getEnabled()

      Specifies whether cross-zone load balancing is enabled for the load balancer.

      Returns:
      Specifies whether cross-zone load balancing is enabled for the load balancer.
    • withEnabled

      public CrossZoneLoadBalancing withEnabled(Boolean enabled)

      Specifies whether cross-zone load balancing is enabled for the load balancer.

      Parameters:
      enabled - Specifies whether cross-zone load balancing is enabled for the load balancer.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • isEnabled

      public Boolean isEnabled()

      Specifies whether cross-zone load balancing is enabled for the load balancer.

      Returns:
      Specifies whether cross-zone load balancing is enabled for the load balancer.
    • 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 CrossZoneLoadBalancing clone()
      Overrides:
      clone in class Object