Package net.stickycode.kuuty.model.v18
Class IoK8sApiRbacV1alpha1Subject
- java.lang.Object
-
- net.stickycode.kuuty.model.v18.IoK8sApiRbacV1alpha1Subject
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-11-26T11:01:11.402583+13:00[Pacific/Auckland]") public class IoK8sApiRbacV1alpha1Subject 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_VERSIONstatic StringJSON_PROPERTY_KINDstatic StringJSON_PROPERTY_NAMEstatic StringJSON_PROPERTY_NAMESPACE
-
Constructor Summary
Constructors Constructor Description IoK8sApiRbacV1alpha1Subject()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IoK8sApiRbacV1alpha1SubjectapiVersion(String apiVersion)booleanequals(Object o)StringgetApiVersion()APIVersion holds the API group and version of the referenced subject.StringgetKind()Kind of object being referenced.StringgetName()Name of the object being referenced.StringgetNamespace()Namespace of the referenced object.inthashCode()IoK8sApiRbacV1alpha1Subjectkind(String kind)IoK8sApiRbacV1alpha1Subjectname(String name)IoK8sApiRbacV1alpha1Subjectnamespace(String namespace)voidsetApiVersion(String apiVersion)voidsetKind(String kind)voidsetName(String name)voidsetNamespace(String namespace)StringtoString()
-
-
-
Field Detail
-
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_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
-
apiVersion
public IoK8sApiRbacV1alpha1Subject apiVersion(String apiVersion)
-
getApiVersion
@Nullable public String getApiVersion()
APIVersion holds the API group and version of the referenced subject. Defaults to \"v1\" for ServiceAccount subjects. Defaults to \"rbac.authorization.k8s.io/v1alpha1\" for User and Group subjects.- Returns:
- apiVersion
-
setApiVersion
public void setApiVersion(String apiVersion)
-
kind
public IoK8sApiRbacV1alpha1Subject 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 IoK8sApiRbacV1alpha1Subject name(String name)
-
getName
public String getName()
Name of the object being referenced.- Returns:
- name
-
setName
public void setName(String name)
-
namespace
public IoK8sApiRbacV1alpha1Subject 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)
-
-