Class MetaDataFromAnnotation
- java.lang.Object
-
- io.fabric8.openshift.api.model.miscellaneous.metal3.v1beta1.MetaDataFromAnnotation
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<MetaDataFromAnnotationBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class MetaDataFromAnnotation extends Object implements io.fabric8.kubernetes.api.builder.Editable<MetaDataFromAnnotationBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
MetaDataFromAnnotation contains the information to fetch an annotation content, if the label does not exist, it is rendered as empty string.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MetaDataFromAnnotation()No args constructor for use in serializationMetaDataFromAnnotation(String annotation, String key, String object)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MetaDataFromAnnotationBuilderedit()Map<String,Object>getAdditionalProperties()StringgetAnnotation()Annotation is the key of the Annotation to fetchStringgetKey()Key will be used as the key to set in the metadata map for cloud-initStringgetObject()Object is the type of the object from which we retrieve the namevoidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetAnnotation(String annotation)Annotation is the key of the Annotation to fetchvoidsetKey(String key)Key will be used as the key to set in the metadata map for cloud-initvoidsetObject(String object)Object is the type of the object from which we retrieve the nameMetaDataFromAnnotationBuildertoBuilder()
-
-
-
Method Detail
-
getAnnotation
public String getAnnotation()
Annotation is the key of the Annotation to fetch
-
setAnnotation
public void setAnnotation(String annotation)
Annotation is the key of the Annotation to fetch
-
getKey
public String getKey()
Key will be used as the key to set in the metadata map for cloud-init
-
setKey
public void setKey(String key)
Key will be used as the key to set in the metadata map for cloud-init
-
getObject
public String getObject()
Object is the type of the object from which we retrieve the name
-
setObject
public void setObject(String object)
Object is the type of the object from which we retrieve the name
-
edit
public MetaDataFromAnnotationBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<MetaDataFromAnnotationBuilder>
-
toBuilder
public MetaDataFromAnnotationBuilder toBuilder()
-
-