io.k8s.api.core.v1.FCVolumeSource Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bl-k8s130 Show documentation
Show all versions of bl-k8s130 Show documentation
Programmatic resource management for Kubernetes
package io.k8s.api.core.v1;
import java.lang.Boolean;
import java.lang.Long;
import java.lang.String;
import java.util.List;
/**
* Represents a Fibre Channel volume. Fibre Channel volumes can only be mounted as read/write once. Fibre Channel volumes support ownership management and SELinux relabeling.
*/
public class FCVolumeSource {
public String fsType;
public Long lun;
public Boolean readOnly;
public List targetWWNs;
public List wwids;
/**
* fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
*/
public FCVolumeSource fsType(String fsType) {
this.fsType = fsType;
return this;
}
/**
* lun is Optional: FC target lun number
*/
public FCVolumeSource lun(Long lun) {
this.lun = lun;
return this;
}
/**
* readOnly is Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
*/
public FCVolumeSource readOnly(Boolean readOnly) {
this.readOnly = readOnly;
return this;
}
/**
* targetWWNs is Optional: FC target worldwide names (WWNs)
*/
public FCVolumeSource targetWWNs(List targetWWNs) {
this.targetWWNs = targetWWNs;
return this;
}
/**
* wwids Optional: FC volume world wide identifiers (wwids) Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously.
*/
public FCVolumeSource wwids(List wwids) {
this.wwids = wwids;
return this;
}
public static FCVolumeSource fCVolumeSource() {
return new FCVolumeSource();
}
}