Package org.cdk8s.plus25.k8s
Interface TokenRequest
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
TokenRequest.Jsii$Proxy
@Generated(value="jsii-pacmak/1.88.0 (build eaabd08)", date="2023-09-11T06:17:58.840Z") @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 classTokenRequest.BuilderA builder forTokenRequeststatic classTokenRequest.Jsii$ProxyAn implementation forTokenRequest
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static TokenRequest.Builderbuilder()StringgetAudience()Audience is the intended audience of the token in "TokenRequestSpec".default NumbergetExpirationSeconds()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.BuilderofTokenRequest
-
-