Package io.fabric8.openshift.api.model
Class SELinuxContextStrategyOptions
- java.lang.Object
-
- io.fabric8.openshift.api.model.SELinuxContextStrategyOptions
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<SELinuxContextStrategyOptionsBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class SELinuxContextStrategyOptions extends Object implements io.fabric8.kubernetes.api.builder.Editable<SELinuxContextStrategyOptionsBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
SELinuxContextStrategyOptions defines the strategy type and any options used to create the strategy.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SELinuxContextStrategyOptions()No args constructor for use in serializationSELinuxContextStrategyOptions(io.fabric8.kubernetes.api.model.SELinuxOptions seLinuxOptions, String type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SELinuxContextStrategyOptionsBuilderedit()Map<String,Object>getAdditionalProperties()io.fabric8.kubernetes.api.model.SELinuxOptionsgetSeLinuxOptions()SELinuxContextStrategyOptions defines the strategy type and any options used to create the strategy.StringgetType()type is the strategy that will dictate what SELinux context is used in the SecurityContext.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetSeLinuxOptions(io.fabric8.kubernetes.api.model.SELinuxOptions seLinuxOptions)SELinuxContextStrategyOptions defines the strategy type and any options used to create the strategy.voidsetType(String type)type is the strategy that will dictate what SELinux context is used in the SecurityContext.SELinuxContextStrategyOptionsBuildertoBuilder()
-
-
-
Constructor Detail
-
SELinuxContextStrategyOptions
public SELinuxContextStrategyOptions()
No args constructor for use in serialization
-
SELinuxContextStrategyOptions
public SELinuxContextStrategyOptions(io.fabric8.kubernetes.api.model.SELinuxOptions seLinuxOptions, String type)
-
-
Method Detail
-
getSeLinuxOptions
public io.fabric8.kubernetes.api.model.SELinuxOptions getSeLinuxOptions()
SELinuxContextStrategyOptions defines the strategy type and any options used to create the strategy.
-
setSeLinuxOptions
public void setSeLinuxOptions(io.fabric8.kubernetes.api.model.SELinuxOptions seLinuxOptions)
SELinuxContextStrategyOptions defines the strategy type and any options used to create the strategy.
-
getType
public String getType()
type is the strategy that will dictate what SELinux context is used in the SecurityContext.
-
setType
public void setType(String type)
type is the strategy that will dictate what SELinux context is used in the SecurityContext.
-
edit
public SELinuxContextStrategyOptionsBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<SELinuxContextStrategyOptionsBuilder>
-
toBuilder
public SELinuxContextStrategyOptionsBuilder toBuilder()
-
-