Package org.cdk8s.plus20
Class User
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- org.cdk8s.plus20.User
-
- All Implemented Interfaces:
ISubject,software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.59.0 (build eb02c92)", date="2022-05-18T23:19:48.673Z") @Stability(Stable) public class User extends software.amazon.jsii.JsiiObject implements ISubject
Represents a user.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUser.BuilderA fluent builder forUser.-
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Nested classes/interfaces inherited from interface org.cdk8s.plus20.ISubject
ISubject.Jsii$Default, ISubject.Jsii$Proxy
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetApiGroup()APIGroup holds the API group of the referenced subject.StringgetKind()Kind of object being referenced.StringgetName()Name of the object being referenced.-
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.cdk8s.plus20.ISubject
getNamespace
-
-
-
-
Constructor Detail
-
User
protected User(software.amazon.jsii.JsiiObjectRef objRef)
-
User
protected User(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
-
User
@Stability(Stable) public User(@NotNull UserProps props)- Parameters:
props- This parameter is required.
-
-
Method Detail
-
getKind
@Stability(Stable) @NotNull 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.
-
getName
@Stability(Stable) @NotNull public String getName()
Name of the object being referenced.
-
getApiGroup
@Stability(Stable) @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.
- Specified by:
getApiGroupin interfaceISubject
-
-