Class V1TokenRequestSpec
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1TokenRequestSpec
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
public class V1TokenRequestSpec
extends Object
TokenRequestSpec contains client provided parameters of a token request.
- 
Field Summary
Fields - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionaddAudiencesItem(String audiencesItem) Add an item to the audiences property in a chainable fashion.Set audiences in a chainable fashion.boundObjectRef(V1BoundObjectReference boundObjectRef) Set boundObjectRef in a chainable fashion.booleanexpirationSeconds(Long expirationSeconds) Set expirationSeconds in a chainable fashion.Audiences are the intendend audiences of the token.ExpirationSeconds is the requested duration of validity of the request.inthashCode()voidsetAudiences(List<@NotNull String> audiences) Set the audiences property valuevoidsetBoundObjectRef(V1BoundObjectReference boundObjectRef) Set the boundObjectRef property valuevoidsetExpirationSeconds(Long expirationSeconds) Set the expirationSeconds property valuetoString() 
- 
Field Details
- 
JSON_PROPERTY_AUDIENCES
- See Also:
 
 - 
JSON_PROPERTY_BOUND_OBJECT_REF
- See Also:
 
 - 
JSON_PROPERTY_EXPIRATION_SECONDS
- See Also:
 
 
 - 
 - 
Constructor Details
- 
V1TokenRequestSpec
 
 - 
 - 
Method Details
- 
getAudiences
Audiences are the intendend audiences of the token. A recipient of a token must identify themself with an identifier in the list of audiences of the token, and otherwise should reject the token. A token issued for multiple audiences may be used to authenticate against any of the audiences listed but implies a high degree of trust between the target audiences.- Returns:
 - the audiences property value
 
 - 
setAudiences
Set the audiences property value- Parameters:
 audiences- property value to set
 - 
audiences
Set audiences in a chainable fashion.- Returns:
 - The same instance of V1TokenRequestSpec for chaining.
 
 - 
addAudiencesItem
Add an item to the audiences property in a chainable fashion.- Returns:
 - The same instance of V1TokenRequestSpec for chaining.
 
 - 
getBoundObjectRef
- Returns:
 - the boundObjectRef property value
 
 - 
setBoundObjectRef
Set the boundObjectRef property value- Parameters:
 boundObjectRef- property value to set
 - 
boundObjectRef
Set boundObjectRef in a chainable fashion.- Returns:
 - The same instance of V1TokenRequestSpec for chaining.
 
 - 
getExpirationSeconds
ExpirationSeconds is the requested duration of validity of the request. The token issuer may return a token with a different validity duration so a client needs to check the 'expiration' field in a response.- 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 V1TokenRequestSpec for chaining.
 
 - 
equals
 - 
hashCode
public int hashCode() - 
toString
 
 -