Class ClusterRoleList
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.rbac.ClusterRoleList
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<ClusterRoleListBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,io.fabric8.kubernetes.api.model.KubernetesResourceList<ClusterRole>,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class ClusterRoleList extends Object implements io.fabric8.kubernetes.api.builder.Editable<ClusterRoleListBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource, io.fabric8.kubernetes.api.model.KubernetesResourceList<ClusterRole>
ClusterRoleList is a collection of ClusterRoles- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ClusterRoleList()No args constructor for use in serializationClusterRoleList(String apiVersion, List<ClusterRole> items, String kind, io.fabric8.kubernetes.api.model.ListMeta metadata)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClusterRoleListBuilderedit()Map<String,Object>getAdditionalProperties()StringgetApiVersion()APIVersion defines the versioned schema of this representation of an object.List<ClusterRole>getItems()Items is a list of ClusterRolesStringgetKind()Kind is a string value representing the REST resource this object represents.io.fabric8.kubernetes.api.model.ListMetagetMetadata()ClusterRoleList is a collection of ClusterRolesvoidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetApiVersion(String apiVersion)APIVersion defines the versioned schema of this representation of an object.voidsetItems(List<ClusterRole> items)Items is a list of ClusterRolesvoidsetKind(String kind)Kind is a string value representing the REST resource this object represents.voidsetMetadata(io.fabric8.kubernetes.api.model.ListMeta metadata)ClusterRoleList is a collection of ClusterRolesClusterRoleListBuildertoBuilder()
-
-
-
Constructor Detail
-
ClusterRoleList
public ClusterRoleList()
No args constructor for use in serialization
-
ClusterRoleList
public ClusterRoleList(String apiVersion, List<ClusterRole> items, String kind, io.fabric8.kubernetes.api.model.ListMeta metadata)
-
-
Method Detail
-
getApiVersion
public String getApiVersion()
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
-
setApiVersion
public void setApiVersion(String apiVersion)
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
-
getItems
public List<ClusterRole> getItems()
Items is a list of ClusterRoles- Specified by:
getItemsin interfaceio.fabric8.kubernetes.api.model.KubernetesResourceList<ClusterRole>
-
setItems
public void setItems(List<ClusterRole> items)
Items is a list of ClusterRoles
-
getKind
public String getKind()
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
-
setKind
public void setKind(String kind)
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
-
getMetadata
public io.fabric8.kubernetes.api.model.ListMeta getMetadata()
ClusterRoleList is a collection of ClusterRoles- Specified by:
getMetadatain interfaceio.fabric8.kubernetes.api.model.KubernetesResourceList<ClusterRole>
-
setMetadata
public void setMetadata(io.fabric8.kubernetes.api.model.ListMeta metadata)
ClusterRoleList is a collection of ClusterRoles
-
edit
public ClusterRoleListBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<ClusterRoleListBuilder>
-
toBuilder
public ClusterRoleListBuilder toBuilder()
-
-