Class ConsoleYAMLSampleSpec
- java.lang.Object
-
- io.fabric8.openshift.api.model.console.v1.ConsoleYAMLSampleSpec
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<ConsoleYAMLSampleSpecBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class ConsoleYAMLSampleSpec extends Object implements io.fabric8.kubernetes.api.builder.Editable<ConsoleYAMLSampleSpecBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
ConsoleYAMLSampleSpec is the desired YAML sample configuration. Samples will appear with their descriptions in a samples sidebar when creating a resources in the web console.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ConsoleYAMLSampleSpec()No args constructor for use in serializationConsoleYAMLSampleSpec(String description, Boolean snippet, io.fabric8.kubernetes.api.model.TypeMeta targetResource, String title, String yaml)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConsoleYAMLSampleSpecBuilderedit()Map<String,Object>getAdditionalProperties()StringgetDescription()description of the YAML sample.BooleangetSnippet()snippet indicates that the YAML sample is not the full YAML resource definition, but a fragment that can be inserted into the existing YAML document at the user's cursor.io.fabric8.kubernetes.api.model.TypeMetagetTargetResource()ConsoleYAMLSampleSpec is the desired YAML sample configuration.StringgetTitle()title of the YAML sample.StringgetYaml()yaml is the YAML sample to display.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetDescription(String description)description of the YAML sample.voidsetSnippet(Boolean snippet)snippet indicates that the YAML sample is not the full YAML resource definition, but a fragment that can be inserted into the existing YAML document at the user's cursor.voidsetTargetResource(io.fabric8.kubernetes.api.model.TypeMeta targetResource)ConsoleYAMLSampleSpec is the desired YAML sample configuration.voidsetTitle(String title)title of the YAML sample.voidsetYaml(String yaml)yaml is the YAML sample to display.ConsoleYAMLSampleSpecBuildertoBuilder()
-
-
-
Method Detail
-
getDescription
public String getDescription()
description of the YAML sample.
-
setDescription
public void setDescription(String description)
description of the YAML sample.
-
getSnippet
public Boolean getSnippet()
snippet indicates that the YAML sample is not the full YAML resource definition, but a fragment that can be inserted into the existing YAML document at the user's cursor.
-
setSnippet
public void setSnippet(Boolean snippet)
snippet indicates that the YAML sample is not the full YAML resource definition, but a fragment that can be inserted into the existing YAML document at the user's cursor.
-
getTargetResource
public io.fabric8.kubernetes.api.model.TypeMeta getTargetResource()
ConsoleYAMLSampleSpec is the desired YAML sample configuration. Samples will appear with their descriptions in a samples sidebar when creating a resources in the web console.
-
setTargetResource
public void setTargetResource(io.fabric8.kubernetes.api.model.TypeMeta targetResource)
ConsoleYAMLSampleSpec is the desired YAML sample configuration. Samples will appear with their descriptions in a samples sidebar when creating a resources in the web console.
-
getTitle
public String getTitle()
title of the YAML sample.
-
setTitle
public void setTitle(String title)
title of the YAML sample.
-
getYaml
public String getYaml()
yaml is the YAML sample to display.
-
setYaml
public void setYaml(String yaml)
yaml is the YAML sample to display.
-
edit
public ConsoleYAMLSampleSpecBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<ConsoleYAMLSampleSpecBuilder>
-
toBuilder
public ConsoleYAMLSampleSpecBuilder toBuilder()
-
-