Class PowerVSResource
- java.lang.Object
-
- io.fabric8.openshift.api.model.machine.v1.PowerVSResource
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<PowerVSResourceBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class PowerVSResource extends Object implements io.fabric8.kubernetes.api.builder.Editable<PowerVSResourceBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
PowerVSResource is a reference to a specific PowerVS resource by ID, Name or RegEx Only one of ID, Name or RegEx may be specified. Specifying more than one will result in a validation error.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PowerVSResource()No args constructor for use in serializationPowerVSResource(String id, String name, String regex, String type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PowerVSResourceBuilderedit()Map<String,Object>getAdditionalProperties()StringgetId()id of resourceStringgetName()name of resourceStringgetRegex()regex to find resource Regex contains the pattern to match to find a resourceStringgetType()type identifies the resource type for this entry.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetId(String id)id of resourcevoidsetName(String name)name of resourcevoidsetRegex(String regex)regex to find resource Regex contains the pattern to match to find a resourcevoidsetType(String type)type identifies the resource type for this entry.PowerVSResourceBuildertoBuilder()
-
-
-
Method Detail
-
getId
public String getId()
id of resource
-
setId
public void setId(String id)
id of resource
-
getName
public String getName()
name of resource
-
setName
public void setName(String name)
name of resource
-
getRegex
public String getRegex()
regex to find resource Regex contains the pattern to match to find a resource
-
setRegex
public void setRegex(String regex)
regex to find resource Regex contains the pattern to match to find a resource
-
getType
public String getType()
type identifies the resource type for this entry. Valid values are ID, Name and RegEx
-
setType
public void setType(String type)
type identifies the resource type for this entry. Valid values are ID, Name and RegEx
-
edit
public PowerVSResourceBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<PowerVSResourceBuilder>
-
toBuilder
public PowerVSResourceBuilder toBuilder()
-
-