Class ComputeRequirementStaticTemplate
java.lang.Object
co.yellowdog.platform.model.ComputeRequirementStaticTemplate
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
A builder that can be used to build a new ComputeRequirementStaticTemplate that is automatically validated on build. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
boolean
getId()
Returns the IDgetName()
Returns the nameList
<@NotNull @Valid ComputeSourceUsage> int
hashCode()
void
setDescription
(String description) void
void
setImagesId
(String imagesId) void
setInstanceTags
(Map<@InstanceTagKey String, @InstanceTagValue String> instanceTags) void
void
setNamespace
(String namespace) void
setSources
(List<@NotNull @Valid ComputeSourceUsage> sources) void
setStrategyType
(String strategyType) void
setUserData
(String userData) toString()
-
Method Details
-
builder
-
toBuilder
-
getId
Description copied from interface:Identified
Returns the ID- Specified by:
getId
in interfaceComputeRequirementTemplate
- Specified by:
getId
in interfaceIdentified
- Returns:
- the ID
-
getName
-
getNamespace
- Specified by:
getNamespace
in interfaceComputeRequirementTemplate
-
getDescription
- Specified by:
getDescription
in interfaceComputeRequirementTemplate
-
getStrategyType
- Specified by:
getStrategyType
in interfaceComputeRequirementTemplate
-
getImagesId
- Specified by:
getImagesId
in interfaceComputeRequirementTemplate
-
getUserData
- Specified by:
getUserData
in interfaceComputeRequirementTemplate
-
getInstanceTags
- Specified by:
getInstanceTags
in interfaceComputeRequirementTemplate
-
getSources
-
setId
- Specified by:
setId
in interfaceComputeRequirementTemplate
-
setName
-
setNamespace
- Specified by:
setNamespace
in interfaceComputeRequirementTemplate
-
setDescription
-
setStrategyType
-
setImagesId
-
setUserData
-
setInstanceTags
-
setSources
-
equals
-
canEqual
-
hashCode
-
toString
-