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 Details

  • Constructor Details

    • StorageV1TokenRequest

      public StorageV1TokenRequest(String audience)
  • Method Details

    • getAudience

      public String 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

      public void setAudience(String audience)
      Set the audience property value
    • audience

      public StorageV1TokenRequest audience(String audience)
      Set audience in a chainable fashion.
      Returns:
      The same instance of StorageV1TokenRequest for chaining.
    • getExpirationSeconds

      public Long 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

      public void setExpirationSeconds(Long expirationSeconds)
      Set the expirationSeconds property value
    • expirationSeconds

      public StorageV1TokenRequest expirationSeconds(Long expirationSeconds)
      Set expirationSeconds in a chainable fashion.
      Returns:
      The same instance of StorageV1TokenRequest 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