Class StorageSpec
- java.lang.Object
-
- io.fabric8.openshift.api.model.operator.v1.StorageSpec
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<StorageSpecBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class StorageSpec extends Object implements io.fabric8.kubernetes.api.builder.Editable<StorageSpecBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
StorageSpec is the specification of the desired behavior of the cluster storage operator.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description StorageSpec()No args constructor for use in serializationStorageSpec(String logLevel, String managementState, Object observedConfig, String operatorLogLevel, Object unsupportedConfigOverrides, String vsphereStorageDriver)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StorageSpecBuilderedit()Map<String,Object>getAdditionalProperties()StringgetLogLevel()logLevel is an intent based logging for an overall component.StringgetManagementState()managementState indicates whether and how the operator should manage the componentObjectgetObservedConfig()StorageSpec is the specification of the desired behavior of the cluster storage operator.StringgetOperatorLogLevel()operatorLogLevel is an intent based logging for the operator itself.ObjectgetUnsupportedConfigOverrides()StorageSpec is the specification of the desired behavior of the cluster storage operator.StringgetVsphereStorageDriver()vsphereStorageDriver indicates the storage driver to use on VSphere clusters.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetLogLevel(String logLevel)logLevel is an intent based logging for an overall component.voidsetManagementState(String managementState)managementState indicates whether and how the operator should manage the componentvoidsetObservedConfig(Object observedConfig)StorageSpec is the specification of the desired behavior of the cluster storage operator.voidsetOperatorLogLevel(String operatorLogLevel)operatorLogLevel is an intent based logging for the operator itself.voidsetUnsupportedConfigOverrides(Object unsupportedConfigOverrides)StorageSpec is the specification of the desired behavior of the cluster storage operator.voidsetVsphereStorageDriver(String vsphereStorageDriver)vsphereStorageDriver indicates the storage driver to use on VSphere clusters.StorageSpecBuildertoBuilder()
-
-
-
Method Detail
-
getLogLevel
public String getLogLevel()
logLevel is an intent based logging for an overall component. It does not give fine grained control, but it is a simple way to manage coarse grained logging choices that operators have to interpret for their operands.Valid values are: "Normal", "Debug", "Trace", "TraceAll". Defaults to "Normal".
-
setLogLevel
public void setLogLevel(String logLevel)
logLevel is an intent based logging for an overall component. It does not give fine grained control, but it is a simple way to manage coarse grained logging choices that operators have to interpret for their operands.Valid values are: "Normal", "Debug", "Trace", "TraceAll". Defaults to "Normal".
-
getManagementState
public String getManagementState()
managementState indicates whether and how the operator should manage the component
-
setManagementState
public void setManagementState(String managementState)
managementState indicates whether and how the operator should manage the component
-
getObservedConfig
public Object getObservedConfig()
StorageSpec is the specification of the desired behavior of the cluster storage operator.
-
setObservedConfig
public void setObservedConfig(Object observedConfig)
StorageSpec is the specification of the desired behavior of the cluster storage operator.
-
getOperatorLogLevel
public String getOperatorLogLevel()
operatorLogLevel is an intent based logging for the operator itself. It does not give fine grained control, but it is a simple way to manage coarse grained logging choices that operators have to interpret for themselves.Valid values are: "Normal", "Debug", "Trace", "TraceAll". Defaults to "Normal".
-
setOperatorLogLevel
public void setOperatorLogLevel(String operatorLogLevel)
operatorLogLevel is an intent based logging for the operator itself. It does not give fine grained control, but it is a simple way to manage coarse grained logging choices that operators have to interpret for themselves.Valid values are: "Normal", "Debug", "Trace", "TraceAll". Defaults to "Normal".
-
getUnsupportedConfigOverrides
public Object getUnsupportedConfigOverrides()
StorageSpec is the specification of the desired behavior of the cluster storage operator.
-
setUnsupportedConfigOverrides
public void setUnsupportedConfigOverrides(Object unsupportedConfigOverrides)
StorageSpec is the specification of the desired behavior of the cluster storage operator.
-
getVsphereStorageDriver
public String getVsphereStorageDriver()
vsphereStorageDriver indicates the storage driver to use on VSphere clusters. Once this field is set to CSIWithMigrationDriver, it can not be changed. If this is empty, the platform will choose a good default, which may change over time without notice. The current default is CSIWithMigrationDriver and may not be changed. DEPRECATED: This field will be removed in a future release.
-
setVsphereStorageDriver
public void setVsphereStorageDriver(String vsphereStorageDriver)
vsphereStorageDriver indicates the storage driver to use on VSphere clusters. Once this field is set to CSIWithMigrationDriver, it can not be changed. If this is empty, the platform will choose a good default, which may change over time without notice. The current default is CSIWithMigrationDriver and may not be changed. DEPRECATED: This field will be removed in a future release.
-
edit
public StorageSpecBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<StorageSpecBuilder>
-
toBuilder
public StorageSpecBuilder toBuilder()
-
-