Package io.fabric8.openshift.api.model
Class SELinuxContextStrategyOptions
- java.lang.Object
-
- io.fabric8.openshift.api.model.SELinuxContextStrategyOptions
-
- All Implemented Interfaces:
Editable<SELinuxContextStrategyOptionsBuilder>,KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class SELinuxContextStrategyOptions extends Object implements Editable<SELinuxContextStrategyOptionsBuilder>, 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(SELinuxOptions seLinuxOptions, String type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SELinuxContextStrategyOptionsBuilderedit()Map<String,Object>getAdditionalProperties()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(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(SELinuxOptions seLinuxOptions, String type)
-
-
Method Detail
-
getSeLinuxOptions
public SELinuxOptions getSeLinuxOptions()
SELinuxContextStrategyOptions defines the strategy type and any options used to create the strategy.
-
setSeLinuxOptions
public void setSeLinuxOptions(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 interfaceEditable<SELinuxContextStrategyOptionsBuilder>
-
toBuilder
public SELinuxContextStrategyOptionsBuilder toBuilder()
-
-