Package org.jclouds.glesys.domain
Class AllowedArguments
java.lang.Object
org.jclouds.glesys.domain.AllowedArguments
Represents the allowed arguments for a certain server resource type (such as
disksize, memorysize, cpucores, and transfer).
This is a composite type consisting of both the set of allowed units for the
resource type as well as the cost per unit.
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AllowedArguments.Builder
builder()
boolean
int
hashCode()
protected com.google.common.base.MoreObjects.ToStringHelper
string()
toString()
-
Constructor Details
-
AllowedArguments
@ConstructorProperties({"costperunit","units"}) protected AllowedArguments(Cost costPerUnit, Set<Integer> units)
-
-
Method Details
-
builder
-
toBuilder
-
getCostPerUnit
- Returns:
- the cost per unit.
-
getAllowedUnits
- Returns:
- the set of allowed units for the resource type.
-
hashCode
public int hashCode() -
equals
-
string
protected com.google.common.base.MoreObjects.ToStringHelper string() -
toString
-