Package org.cdk8s.plus24.k8s
Interface SubjectV1Beta1
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
SubjectV1Beta1.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-07-08T00:25:14.698Z") @Stability(Stable) public interface SubjectV1Beta1 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 class
SubjectV1Beta1.Builder
A builder forSubjectV1Beta1
static class
SubjectV1Beta1.Jsii$Proxy
An implementation forSubjectV1Beta1
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static SubjectV1Beta1.Builder
builder()
default GroupSubjectV1Beta1
getGroup()
group
matches based on user group name.String
getKind()
kind
indicates which one of the other fields is non-empty.default ServiceAccountSubjectV1Beta1
getServiceAccount()
serviceAccount
matches ServiceAccounts.default UserSubjectV1Beta1
getUser()
user
matches based on username.
-
-
-
Method Detail
-
getKind
@Stability(Stable) @NotNull String getKind()
kind
indicates which one of the other fields is non-empty.Required
-
getGroup
@Stability(Stable) @Nullable default GroupSubjectV1Beta1 getGroup()
group
matches based on user group name.
-
getServiceAccount
@Stability(Stable) @Nullable default ServiceAccountSubjectV1Beta1 getServiceAccount()
serviceAccount
matches ServiceAccounts.
-
getUser
@Stability(Stable) @Nullable default UserSubjectV1Beta1 getUser()
user
matches based on username.
-
builder
@Stability(Stable) static SubjectV1Beta1.Builder builder()
- Returns:
- a
SubjectV1Beta1.Builder
ofSubjectV1Beta1
-
-