Class LoadBalancerRule

java.lang.Object
org.jclouds.cloudstack.domain.LoadBalancerRule

public class LoadBalancerRule extends Object
Class LoadBalancerRule
  • Constructor Details

  • Method Details

    • builder

      public static LoadBalancerRule.Builder<?> builder()
    • toBuilder

      public LoadBalancerRule.Builder<?> toBuilder()
    • getId

      public String getId()
      Returns:
      the load balancer rule ID
    • getAccount

      @Nullable public String getAccount()
      Returns:
      the account of the load balancer rule
    • getAlgorithm

      @Nullable public LoadBalancerRule.Algorithm getAlgorithm()
      Returns:
      the load balancer algorithm (source, roundrobin, leastconn)
    • getDescription

      @Nullable public String getDescription()
      Returns:
      the description of the load balancer
    • getDomain

      @Nullable public String getDomain()
      Returns:
      the domain of the load balancer rule
    • getDomainId

      @Nullable public String getDomainId()
      Returns:
      the domain ID of the load balancer rule
    • getName

      @Nullable public String getName()
      Returns:
      the name of the load balancer
    • getPrivatePort

      public int getPrivatePort()
      Returns:
      the private port
    • getPublicIP

      @Nullable public String getPublicIP()
      Returns:
      the public ip address
    • getPublicIPId

      @Nullable public String getPublicIPId()
      Returns:
      the public ip address id
    • getPublicPort

      public int getPublicPort()
      Returns:
      the public port
    • getState

      @Nullable public LoadBalancerRule.State getState()
      Returns:
      the state of the rule
    • getCIDRs

      public Set<String> getCIDRs()
      Returns:
      the cidr list to forward traffic from
    • getZoneId

      @Nullable public String getZoneId()
      Returns:
      the id of the zone the rule beStrings to
    • hashCode

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

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

      protected com.google.common.base.MoreObjects.ToStringHelper string()
    • toString

      public String toString()
      Overrides:
      toString in class Object