Class ComputeSourceTraits

java.lang.Object
co.yellowdog.platform.model.ComputeSourceTraits
All Implemented Interfaces:
Serializable

public class ComputeSourceTraits extends Object implements Serializable
Describes behavioural traits specific to a compute source.
See Also:
  • Method Details

    • canStopStart

      public boolean canStopStart()
      Indicates if all the instances from the compute source can be stopped and started.
    • canRestart

      public boolean canRestart()
      Indicates if all the instances from the compute source can be restarted.
    • canScaleOut

      public boolean canScaleOut()
      Indicates if the compute source can increase the number of provisioned instances after the first set of instances has been provisioned.
    • isSelfMaintained

      public boolean isSelfMaintained()
      Indicates if the compute source is responsible itself for maintaining its target instance count.
    • builder

      public static ComputeSourceTraits.Builder builder()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object