Class NetworkOffering

java.lang.Object
org.jclouds.cloudstack.domain.NetworkOffering
All Implemented Interfaces:
Comparable<NetworkOffering>

public class NetworkOffering extends Object implements Comparable<NetworkOffering>
Class NetworkOffering
  • Constructor Details

  • Method Details

    • builder

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

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

      public String getId()
      Returns:
      the id of the network offering
    • getName

      @Nullable public String getName()
      Returns:
      the name of the network offering
    • getDisplayText

      @Nullable public String getDisplayText()
      Returns:
      an alternate display text of the network offering.
    • getCreated

      @Nullable public Date getCreated()
      Returns:
      the date this network offering was created
    • getAvailability

      @Nullable public NetworkOfferingAvailabilityType getAvailability()
      Returns:
      Availability name for the offering
    • getMaxConnections

      @Nullable public Integer getMaxConnections()
      Returns:
      the max number of concurrent connection the network offering supports
    • isDefault

      public boolean isDefault()
      Returns:
      true if network offering is default, false otherwise
    • supportsVLAN

      public boolean supportsVLAN()
      Returns:
      true if network offering supports vlans, false otherwise
    • getTrafficType

      @Nullable public TrafficType getTrafficType()
      Returns:
      the traffic type for this network offering
    • getGuestIPType

      @Nullable public GuestIPType getGuestIPType()
      Returns:
      the guest ip type for this network offering
    • getNetworkRate

      public int getNetworkRate()
      Returns:
      data transfer rate in megabits per second allowed.
    • getTags

      public Set<String> getTags()
      Returns:
      the tags for the network offering
    • 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
    • compareTo

      public int compareTo(NetworkOffering o)
      Specified by:
      compareTo in interface Comparable<NetworkOffering>