Class V1TokenReviewSpec

java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1TokenReviewSpec

@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen") public class V1TokenReviewSpec extends Object
TokenReviewSpec is a description of the token authentication request.
  • Field Details

  • Constructor Details

    • V1TokenReviewSpec

      public V1TokenReviewSpec()
  • Method Details

    • getAudiences

      public List<@NotNull String> getAudiences()
      Audiences is a list of the identifiers that the resource server presented with the token identifies as. Audience-aware token authenticators will verify that the token was intended for at least one of the audiences in this list. If no audiences are provided, the audience will default to the audience of the Kubernetes apiserver.
      Returns:
      the audiences property value
    • setAudiences

      public void setAudiences(List<@NotNull String> audiences)
      Set the audiences property value
      Parameters:
      audiences - property value to set
    • audiences

      public V1TokenReviewSpec audiences(List<@NotNull String> audiences)
      Set audiences in a chainable fashion.
      Returns:
      The same instance of V1TokenReviewSpec for chaining.
    • addaudiencesItem

      public V1TokenReviewSpec addaudiencesItem(String audiencesItem)
      Add an item to the audiences property in a chainable fashion.
      Returns:
      The same instance of V1TokenReviewSpec for chaining.
    • getToken

      public String getToken()
      Token is the opaque bearer token.
      Returns:
      the token property value
    • setToken

      public void setToken(String token)
      Set the token property value
      Parameters:
      token - property value to set
    • token

      public V1TokenReviewSpec token(String token)
      Set token in a chainable fashion.
      Returns:
      The same instance of V1TokenReviewSpec for chaining.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object