Package io.fabric8.kubernetes.api.model
Class SELinuxOptions
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.SELinuxOptions
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<SELinuxOptionsBuilder>,KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class SELinuxOptions extends Object implements io.fabric8.kubernetes.api.builder.Editable<SELinuxOptionsBuilder>, KubernetesResource
SELinuxOptions are the labels to be applied to the container- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SELinuxOptions()No args constructor for use in serializationSELinuxOptions(String level, String role, String type, String user)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SELinuxOptionsBuilderedit()Map<String,Object>getAdditionalProperties()StringgetLevel()Level is SELinux level label that applies to the container.StringgetRole()Role is a SELinux role label that applies to the container.StringgetType()Type is a SELinux type label that applies to the container.StringgetUser()User is a SELinux user label that applies to the container.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetLevel(String level)Level is SELinux level label that applies to the container.voidsetRole(String role)Role is a SELinux role label that applies to the container.voidsetType(String type)Type is a SELinux type label that applies to the container.voidsetUser(String user)User is a SELinux user label that applies to the container.SELinuxOptionsBuildertoBuilder()
-
-
-
Method Detail
-
getLevel
public String getLevel()
Level is SELinux level label that applies to the container.
-
setLevel
public void setLevel(String level)
Level is SELinux level label that applies to the container.
-
getRole
public String getRole()
Role is a SELinux role label that applies to the container.
-
setRole
public void setRole(String role)
Role is a SELinux role label that applies to the container.
-
getType
public String getType()
Type is a SELinux type label that applies to the container.
-
setType
public void setType(String type)
Type is a SELinux type label that applies to the container.
-
getUser
public String getUser()
User is a SELinux user label that applies to the container.
-
setUser
public void setUser(String user)
User is a SELinux user label that applies to the container.
-
edit
public SELinuxOptionsBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<SELinuxOptionsBuilder>
-
toBuilder
public SELinuxOptionsBuilder toBuilder()
-
-