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()
-
-