Package org.cdk8s.plus24.k8s
Interface TokenRequest
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
TokenRequest.Jsii$Proxy
@Generated(value="jsii-pacmak/1.80.0 (build bce6a1d)", date="2023-05-06T02:23:11.055Z") @Stability(Stable) public interface TokenRequest extends software.amazon.jsii.JsiiSerializable
TokenRequest contains parameters of a service account token.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
TokenRequest.Builder
A builder forTokenRequest
static class
TokenRequest.Jsii$Proxy
An implementation forTokenRequest
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static TokenRequest.Builder
builder()
String
getAudience()
Audience is the intended audience of the token in "TokenRequestSpec".default Number
getExpirationSeconds()
ExpirationSeconds is the duration of validity of the token in "TokenRequestSpec".
-
-
-
Method Detail
-
getAudience
@Stability(Stable) @NotNull String getAudience()
Audience is the intended audience of the token in "TokenRequestSpec".It will default to the audiences of kube apiserver.
-
getExpirationSeconds
@Stability(Stable) @Nullable default Number getExpirationSeconds()
ExpirationSeconds is the duration of validity of the token in "TokenRequestSpec".It has the same default value of "ExpirationSeconds" in "TokenRequestSpec".
-
builder
@Stability(Stable) static TokenRequest.Builder builder()
- Returns:
- a
TokenRequest.Builder
ofTokenRequest
-
-