Package net.stickycode.kuuty.model.v18
Class IoK8sApiRbacV1Subject
- java.lang.Object
-
- net.stickycode.kuuty.model.v18.IoK8sApiRbacV1Subject
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-11-26T11:01:11.402583+13:00[Pacific/Auckland]") public class IoK8sApiRbacV1Subject extends Object
Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, or a value for non-objects such as user and group names.
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_API_GROUPstatic StringJSON_PROPERTY_KINDstatic StringJSON_PROPERTY_NAMEstatic StringJSON_PROPERTY_NAMESPACE
-
Constructor Summary
Constructors Constructor Description IoK8sApiRbacV1Subject()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IoK8sApiRbacV1SubjectapiGroup(String apiGroup)booleanequals(Object o)StringgetApiGroup()APIGroup holds the API group of the referenced subject.StringgetKind()Kind of object being referenced.StringgetName()Name of the object being referenced.StringgetNamespace()Namespace of the referenced object.inthashCode()IoK8sApiRbacV1Subjectkind(String kind)IoK8sApiRbacV1Subjectname(String name)IoK8sApiRbacV1Subjectnamespace(String namespace)voidsetApiGroup(String apiGroup)voidsetKind(String kind)voidsetName(String name)voidsetNamespace(String namespace)StringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_API_GROUP
public static final String JSON_PROPERTY_API_GROUP
- See Also:
- Constant Field Values
-
JSON_PROPERTY_KIND
public static final String JSON_PROPERTY_KIND
- See Also:
- Constant Field Values
-
JSON_PROPERTY_NAME
public static final String JSON_PROPERTY_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_NAMESPACE
public static final String JSON_PROPERTY_NAMESPACE
- See Also:
- Constant Field Values
-
-
Method Detail
-
apiGroup
public IoK8sApiRbacV1Subject apiGroup(String apiGroup)
-
getApiGroup
@Nullable public String getApiGroup()
APIGroup holds the API group of the referenced subject. Defaults to \"\" for ServiceAccount subjects. Defaults to \"rbac.authorization.k8s.io\" for User and Group subjects.- Returns:
- apiGroup
-
setApiGroup
public void setApiGroup(String apiGroup)
-
kind
public IoK8sApiRbacV1Subject kind(String kind)
-
getKind
public String getKind()
Kind of object being referenced. Values defined by this API group are \"User\", \"Group\", and \"ServiceAccount\". If the Authorizer does not recognized the kind value, the Authorizer should report an error.- Returns:
- kind
-
setKind
public void setKind(String kind)
-
name
public IoK8sApiRbacV1Subject name(String name)
-
getName
public String getName()
Name of the object being referenced.- Returns:
- name
-
setName
public void setName(String name)
-
namespace
public IoK8sApiRbacV1Subject namespace(String namespace)
-
getNamespace
@Nullable public String getNamespace()
Namespace of the referenced object. If the object kind is non-namespace, such as \"User\" or \"Group\", and this value is not empty the Authorizer should report an error.- Returns:
- namespace
-
setNamespace
public void setNamespace(String namespace)
-
-