Package org.cdk8s.plus25.k8s
Interface SubjectV1Beta2
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
SubjectV1Beta2.Jsii$Proxy
@Generated(value="jsii-pacmak/1.88.0 (build eaabd08)", date="2023-09-11T06:17:58.839Z") @Stability(Stable) public interface SubjectV1Beta2 extends software.amazon.jsii.JsiiSerializable
Subject matches the originator of a request, as identified by the request authentication system.There are three ways of matching an originator; by user, group, or service account.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classSubjectV1Beta2.BuilderA builder forSubjectV1Beta2static classSubjectV1Beta2.Jsii$ProxyAn implementation forSubjectV1Beta2
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static SubjectV1Beta2.Builderbuilder()default GroupSubjectV1Beta2getGroup()groupmatches based on user group name.StringgetKind()kindindicates which one of the other fields is non-empty.default ServiceAccountSubjectV1Beta2getServiceAccount()serviceAccountmatches ServiceAccounts.default UserSubjectV1Beta2getUser()usermatches based on username.
-
-
-
Method Detail
-
getKind
@Stability(Stable) @NotNull String getKind()
kindindicates which one of the other fields is non-empty.Required
-
getGroup
@Stability(Stable) @Nullable default GroupSubjectV1Beta2 getGroup()
groupmatches based on user group name.
-
getServiceAccount
@Stability(Stable) @Nullable default ServiceAccountSubjectV1Beta2 getServiceAccount()
serviceAccountmatches ServiceAccounts.
-
getUser
@Stability(Stable) @Nullable default UserSubjectV1Beta2 getUser()
usermatches based on username.
-
builder
@Stability(Stable) static SubjectV1Beta2.Builder builder()
- Returns:
- a
SubjectV1Beta2.BuilderofSubjectV1Beta2
-
-