Class AllowedArguments

java.lang.Object
org.jclouds.glesys.domain.AllowedArguments

public class AllowedArguments extends Object
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:
  • Constructor Details

  • Method Details

    • builder

      public static AllowedArguments.Builder builder()
    • toBuilder

      public AllowedArguments.Builder toBuilder()
    • getCostPerUnit

      public Cost getCostPerUnit()
      Returns:
      the cost per unit.
    • getAllowedUnits

      public Set<Integer> getAllowedUnits()
      Returns:
      the set of allowed units for the resource type.
    • 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