Class AlibabaResourceReference
- java.lang.Object
-
- io.fabric8.openshift.api.model.machine.v1.AlibabaResourceReference
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<AlibabaResourceReferenceBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class AlibabaResourceReference extends Object implements io.fabric8.kubernetes.api.builder.Editable<AlibabaResourceReferenceBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
ResourceTagReference is a reference to a specific AlibabaCloud resource by ID, or tags. Only one of ID or Tags may be specified. Specifying more than one will result in a validation error.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AlibabaResourceReference()No args constructor for use in serializationAlibabaResourceReference(String id, String name, List<Tag> tags, String type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AlibabaResourceReferenceBuilderedit()Map<String,Object>getAdditionalProperties()StringgetId()id of resourceStringgetName()name of the resourceList<Tag>getTags()tags is a set of metadata based upon ECS object tags used to identify a resource.StringgetType()type identifies the resource reference type for this entry.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetId(String id)id of resourcevoidsetName(String name)name of the resourcevoidsetTags(List<Tag> tags)tags is a set of metadata based upon ECS object tags used to identify a resource.voidsetType(String type)type identifies the resource reference type for this entry.AlibabaResourceReferenceBuildertoBuilder()
-
-
-
Method Detail
-
getId
public String getId()
id of resource
-
setId
public void setId(String id)
id of resource
-
getName
public String getName()
name of the resource
-
setName
public void setName(String name)
name of the resource
-
getTags
public List<Tag> getTags()
tags is a set of metadata based upon ECS object tags used to identify a resource. For details about usage when multiple resources are found, please see the owning parent field documentation.
-
setTags
public void setTags(List<Tag> tags)
tags is a set of metadata based upon ECS object tags used to identify a resource. For details about usage when multiple resources are found, please see the owning parent field documentation.
-
getType
public String getType()
type identifies the resource reference type for this entry.
-
setType
public void setType(String type)
type identifies the resource reference type for this entry.
-
edit
public AlibabaResourceReferenceBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<AlibabaResourceReferenceBuilder>
-
toBuilder
public AlibabaResourceReferenceBuilder toBuilder()
-
-