Class Disk

  • All Implemented Interfaces:
    io.fabric8.kubernetes.api.builder.Editable<DiskBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource, Serializable

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class Disk
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<DiskBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    Disk defines the type of disk (etcd, swap or user-defined) and the configuration of each disk type.
    See Also:
    Serialized Form
    • Method Detail

      • getEtcd

        public DiskEtcd getEtcd()
        Disk defines the type of disk (etcd, swap or user-defined) and the configuration of each disk type.
      • setEtcd

        public void setEtcd​(DiskEtcd etcd)
        Disk defines the type of disk (etcd, swap or user-defined) and the configuration of each disk type.
      • getSwap

        public DiskSwap getSwap()
        Disk defines the type of disk (etcd, swap or user-defined) and the configuration of each disk type.
      • setSwap

        public void setSwap​(DiskSwap swap)
        Disk defines the type of disk (etcd, swap or user-defined) and the configuration of each disk type.
      • getType

        public String getType()
        Disk defines the type of disk (etcd, swap or user-defined) and the configuration of each disk type.
      • setType

        public void setType​(String type)
        Disk defines the type of disk (etcd, swap or user-defined) and the configuration of each disk type.
      • getUserDefined

        public DiskUserDefined getUserDefined()
        Disk defines the type of disk (etcd, swap or user-defined) and the configuration of each disk type.
      • setUserDefined

        public void setUserDefined​(DiskUserDefined userDefined)
        Disk defines the type of disk (etcd, swap or user-defined) and the configuration of each disk type.
      • edit

        public DiskBuilder edit()
        Specified by:
        edit in interface io.fabric8.kubernetes.api.builder.Editable<DiskBuilder>
      • getAdditionalProperties

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

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

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