Package io.fabric8.openshift.api.model
Class NamedClusterRole
- java.lang.Object
-
- io.fabric8.openshift.api.model.NamedClusterRole
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<NamedClusterRoleBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class NamedClusterRole extends Object implements io.fabric8.kubernetes.api.builder.Editable<NamedClusterRoleBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
NamedClusterRole relates a name with a cluster role- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NamedClusterRole()No args constructor for use in serializationNamedClusterRole(String name, ClusterRole role)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NamedClusterRoleBuilderedit()Map<String,Object>getAdditionalProperties()StringgetName()name is the name of the cluster roleClusterRolegetRole()NamedClusterRole relates a name with a cluster rolevoidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetName(String name)name is the name of the cluster rolevoidsetRole(ClusterRole role)NamedClusterRole relates a name with a cluster roleNamedClusterRoleBuildertoBuilder()
-
-
-
Constructor Detail
-
NamedClusterRole
public NamedClusterRole()
No args constructor for use in serialization
-
NamedClusterRole
public NamedClusterRole(String name, ClusterRole role)
-
-
Method Detail
-
getName
public String getName()
name is the name of the cluster role
-
setName
public void setName(String name)
name is the name of the cluster role
-
getRole
public ClusterRole getRole()
NamedClusterRole relates a name with a cluster role
-
setRole
public void setRole(ClusterRole role)
NamedClusterRole relates a name with a cluster role
-
edit
public NamedClusterRoleBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<NamedClusterRoleBuilder>
-
toBuilder
public NamedClusterRoleBuilder toBuilder()
-
-