Class 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 Detail

      • ConsoleYAMLSampleSpec

        public ConsoleYAMLSampleSpec()
        No args constructor for use in serialization
      • ConsoleYAMLSampleSpec

        public ConsoleYAMLSampleSpec​(String description,
                                     Boolean snippet,
                                     io.fabric8.kubernetes.api.model.TypeMeta targetResource,
                                     String title,
                                     String yaml)
    • 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.
      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)