Package org.jclouds.cloudstack.domain
Class NetworkOffering
java.lang.Object
org.jclouds.cloudstack.domain.NetworkOffering
- All Implemented Interfaces:
Comparable<NetworkOffering>
Class NetworkOffering
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
NetworkOffering.Builder<T extends NetworkOffering.Builder<T>>
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
NetworkOffering
(String id, String name, String displayText, Date created, NetworkOfferingAvailabilityType availability, Integer maxConnections, boolean isDefault, boolean supportsVLAN, TrafficType trafficType, GuestIPType guestIPType, int networkRate, Iterable<String> tags) -
Method Summary
-
Constructor Details
-
NetworkOffering
@ConstructorProperties({"id","name","displaytext","created","availability","maxconnections","isdefault","specifyvlan","traffictype","guestiptype","networkrate","tags"}) protected NetworkOffering(String id, @Nullable String name, @Nullable String displayText, @Nullable Date created, @Nullable NetworkOfferingAvailabilityType availability, @Nullable Integer maxConnections, boolean isDefault, boolean supportsVLAN, @Nullable TrafficType trafficType, @Nullable GuestIPType guestIPType, int networkRate, @Nullable Iterable<String> tags)
-
-
Method Details
-
builder
-
toBuilder
-
getId
- Returns:
- the id of the network offering
-
getName
- Returns:
- the name of the network offering
-
getDisplayText
- Returns:
- an alternate display text of the network offering.
-
getCreated
- Returns:
- the date this network offering was created
-
getAvailability
- Returns:
- Availability name for the offering
-
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
- Returns:
- the traffic type for this network offering
-
getGuestIPType
- Returns:
- the guest ip type for this network offering
-
getNetworkRate
public int getNetworkRate()- Returns:
- data transfer rate in megabits per second allowed.
-
getTags
- Returns:
- the tags for the network offering
-
hashCode
public int hashCode() -
equals
-
string
protected com.google.common.base.MoreObjects.ToStringHelper string() -
toString
-
compareTo
- Specified by:
compareTo
in interfaceComparable<NetworkOffering>
-