Class ComputeSourceTraits
java.lang.Object
co.yellowdog.platform.model.ComputeSourceTraits
- All Implemented Interfaces:
Serializable
Describes behavioural traits specific to a compute source.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic ComputeSourceTraits.Builder
builder()
protected boolean
boolean
Indicates if all the instances from the compute source can be restarted.boolean
Indicates if the compute source can increase the number of provisioned instances after the first set of instances has been provisioned.boolean
Indicates if all the instances from the compute source can be stopped and started.boolean
int
hashCode()
boolean
Indicates if the compute source is responsible itself for maintaining its target instance count.toString()
-
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
-
toString
-
equals
-
canEqual
-
hashCode
-