io.k8s.api.authentication.v1.TokenRequestStatus Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bl-k8s129 Show documentation
Show all versions of bl-k8s129 Show documentation
Programmatic resource management for Kubernetes
The newest version!
package io.k8s.api.authentication.v1;
import java.lang.String;
/**
* TokenRequestStatus is the result of a token request.
*/
public class TokenRequestStatus {
public String expirationTimestamp;
public String token;
/**
* Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.
*/
public TokenRequestStatus expirationTimestamp(String expirationTimestamp) {
this.expirationTimestamp = expirationTimestamp;
return this;
}
/**
* Token is the opaque bearer token.
*/
public TokenRequestStatus token(String token) {
this.token = token;
return this;
}
public static TokenRequestStatus tokenRequestStatus() {
return new TokenRequestStatus();
}
}