Package net.stickycode.kuuty.model.v18
Class IoK8sApiRbacV1alpha1ClusterRole
- java.lang.Object
-
- net.stickycode.kuuty.model.v18.IoK8sApiRbacV1alpha1ClusterRole
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-11-26T11:01:11.402583+13:00[Pacific/Auckland]") public class IoK8sApiRbacV1alpha1ClusterRole extends Object
ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRole, and will no longer be served in v1.20.
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_AGGREGATION_RULEstatic StringJSON_PROPERTY_API_VERSIONstatic StringJSON_PROPERTY_KINDstatic StringJSON_PROPERTY_METADATAstatic StringJSON_PROPERTY_RULES
-
Constructor Summary
Constructors Constructor Description IoK8sApiRbacV1alpha1ClusterRole()
-
Method Summary
-
-
-
Field Detail
-
JSON_PROPERTY_AGGREGATION_RULE
public static final String JSON_PROPERTY_AGGREGATION_RULE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_API_VERSION
public static final String JSON_PROPERTY_API_VERSION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_KIND
public static final String JSON_PROPERTY_KIND
- See Also:
- Constant Field Values
-
JSON_PROPERTY_METADATA
public static final String JSON_PROPERTY_METADATA
- See Also:
- Constant Field Values
-
JSON_PROPERTY_RULES
public static final String JSON_PROPERTY_RULES
- See Also:
- Constant Field Values
-
-
Method Detail
-
aggregationRule
public IoK8sApiRbacV1alpha1ClusterRole aggregationRule(IoK8sApiRbacV1alpha1AggregationRule aggregationRule)
-
getAggregationRule
@Nullable public IoK8sApiRbacV1alpha1AggregationRule getAggregationRule()
Get aggregationRule- Returns:
- aggregationRule
-
setAggregationRule
public void setAggregationRule(IoK8sApiRbacV1alpha1AggregationRule aggregationRule)
-
apiVersion
public IoK8sApiRbacV1alpha1ClusterRole apiVersion(String apiVersion)
-
getApiVersion
@Nullable 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- Returns:
- apiVersion
-
setApiVersion
public void setApiVersion(String apiVersion)
-
kind
public IoK8sApiRbacV1alpha1ClusterRole kind(String kind)
-
getKind
@Nullable 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- Returns:
- kind
-
setKind
public void setKind(String kind)
-
metadata
public IoK8sApiRbacV1alpha1ClusterRole metadata(IoK8sApimachineryPkgApisMetaV1ObjectMeta metadata)
-
getMetadata
@Nullable public IoK8sApimachineryPkgApisMetaV1ObjectMeta getMetadata()
Get metadata- Returns:
- metadata
-
setMetadata
public void setMetadata(IoK8sApimachineryPkgApisMetaV1ObjectMeta metadata)
-
rules
public IoK8sApiRbacV1alpha1ClusterRole rules(List<IoK8sApiRbacV1alpha1PolicyRule> rules)
-
addRulesItem
public IoK8sApiRbacV1alpha1ClusterRole addRulesItem(IoK8sApiRbacV1alpha1PolicyRule rulesItem)
-
getRules
@Nullable public List<IoK8sApiRbacV1alpha1PolicyRule> getRules()
Rules holds all the PolicyRules for this ClusterRole- Returns:
- rules
-
setRules
public void setRules(List<IoK8sApiRbacV1alpha1PolicyRule> rules)
-
-