Class FileReferenceSource
- java.lang.Object
-
- io.fabric8.openshift.api.model.operator.v1.FileReferenceSource
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<FileReferenceSourceBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class FileReferenceSource extends Object implements io.fabric8.kubernetes.api.builder.Editable<FileReferenceSourceBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
FileReferenceSource is used by the console to locate the specified file containing a custom logo.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FileReferenceSource()No args constructor for use in serializationFileReferenceSource(ConfigMapFileReference configMap, String from)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FileReferenceSourceBuilderedit()Map<String,Object>getAdditionalProperties()ConfigMapFileReferencegetConfigMap()FileReferenceSource is used by the console to locate the specified file containing a custom logo.StringgetFrom()from is a required field to specify the source type of the file reference.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetConfigMap(ConfigMapFileReference configMap)FileReferenceSource is used by the console to locate the specified file containing a custom logo.voidsetFrom(String from)from is a required field to specify the source type of the file reference.FileReferenceSourceBuildertoBuilder()
-
-
-
Constructor Detail
-
FileReferenceSource
public FileReferenceSource()
No args constructor for use in serialization
-
FileReferenceSource
public FileReferenceSource(ConfigMapFileReference configMap, String from)
-
-
Method Detail
-
getConfigMap
public ConfigMapFileReference getConfigMap()
FileReferenceSource is used by the console to locate the specified file containing a custom logo.
-
setConfigMap
public void setConfigMap(ConfigMapFileReference configMap)
FileReferenceSource is used by the console to locate the specified file containing a custom logo.
-
getFrom
public String getFrom()
from is a required field to specify the source type of the file reference. Allowed values are ConfigMap. When set to ConfigMap, the file will be sourced from a ConfigMap in the openshift-config namespace. The configMap field must be set when from is set to ConfigMap.Possible enum values:
- `"ConfigMap"` represents a ConfigMap source.
-
setFrom
public void setFrom(String from)
from is a required field to specify the source type of the file reference. Allowed values are ConfigMap. When set to ConfigMap, the file will be sourced from a ConfigMap in the openshift-config namespace. The configMap field must be set when from is set to ConfigMap.Possible enum values:
- `"ConfigMap"` represents a ConfigMap source.
-
edit
public FileReferenceSourceBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<FileReferenceSourceBuilder>
-
toBuilder
public FileReferenceSourceBuilder toBuilder()
-
-