Class FromPoolAnnotation
- java.lang.Object
-
- io.fabric8.openshift.api.model.miscellaneous.metal3.v1beta1.FromPoolAnnotation
-
- All Implemented Interfaces:
Editable<FromPoolAnnotationBuilder>,KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class FromPoolAnnotation extends Object implements Editable<FromPoolAnnotationBuilder>, KubernetesResource
FromPoolAnnotation contains the information to fetch pool reference details from an annotation.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FromPoolAnnotation()No args constructor for use in serializationFromPoolAnnotation(String annotation, String object)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FromPoolAnnotationBuilderedit()Map<String,Object>getAdditionalProperties()StringgetAnnotation()Annotation is the key of the annotation that contains the pool name.StringgetObject()Object is the type of the object from which we retrieve the annotationvoidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetAnnotation(String annotation)Annotation is the key of the annotation that contains the pool name.voidsetObject(String object)Object is the type of the object from which we retrieve the annotationFromPoolAnnotationBuildertoBuilder()
-
-
-
Method Detail
-
getAnnotation
public String getAnnotation()
Annotation is the key of the annotation that contains the pool name. The annotation value should be a string containing the pool name.
-
setAnnotation
public void setAnnotation(String annotation)
Annotation is the key of the annotation that contains the pool name. The annotation value should be a string containing the pool name.
-
getObject
public String getObject()
Object is the type of the object from which we retrieve the annotation
-
setObject
public void setObject(String object)
Object is the type of the object from which we retrieve the annotation
-
edit
public FromPoolAnnotationBuilder edit()
- Specified by:
editin interfaceEditable<FromPoolAnnotationBuilder>
-
toBuilder
public FromPoolAnnotationBuilder toBuilder()
-
-