Class StorageV1TokenRequest
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.StorageV1TokenRequest
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
public class StorageV1TokenRequest
extends Object
TokenRequest contains parameters of a service account token.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSet audience in a chainable fashion.boolean
expirationSeconds
(Long expirationSeconds) Set expirationSeconds in a chainable fashion.audience is the intended audience of the token in \"TokenRequestSpec\".expirationSeconds is the duration of validity of the token in \"TokenRequestSpec\".int
hashCode()
void
setAudience
(String audience) Set the audience property valuevoid
setExpirationSeconds
(Long expirationSeconds) Set the expirationSeconds property valuetoString()
-
Field Details
-
JSON_PROPERTY_AUDIENCE
- See Also:
-
JSON_PROPERTY_EXPIRATION_SECONDS
- See Also:
-
-
Constructor Details
-
StorageV1TokenRequest
-
-
Method Details
-
getAudience
audience is the intended audience of the token in \"TokenRequestSpec\". It will default to the audiences of kube apiserver.- Returns:
- the audience property value
-
setAudience
Set the audience property value- Parameters:
audience
- property value to set
-
audience
Set audience in a chainable fashion.- Returns:
- The same instance of StorageV1TokenRequest for chaining.
-
getExpirationSeconds
expirationSeconds is the duration of validity of the token in \"TokenRequestSpec\". It has the same default value of \"ExpirationSeconds\" in \"TokenRequestSpec\".- Returns:
- the expirationSeconds property value
-
setExpirationSeconds
Set the expirationSeconds property value- Parameters:
expirationSeconds
- property value to set
-
expirationSeconds
Set expirationSeconds in a chainable fashion.- Returns:
- The same instance of StorageV1TokenRequest for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-