Class OAuthTokenResponse
- java.lang.Object
-
- org.apache.iceberg.rest.responses.OAuthTokenResponse
-
- All Implemented Interfaces:
RESTMessage,RESTResponse
public class OAuthTokenResponse extends java.lang.Object implements RESTResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOAuthTokenResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OAuthTokenResponse.Builderbuilder()java.lang.IntegerexpiresInSeconds()java.lang.StringissuedTokenType()java.util.List<java.lang.String>scopes()java.lang.Stringtoken()java.lang.StringtokenType()voidvalidate()Ensures that a constructed instance of a REST message is valid according to the REST spec.
-
-
-
Method Detail
-
validate
public void validate()
Description copied from interface:RESTMessageEnsures that a constructed instance of a REST message is valid according to the REST spec.This is needed when parsing data that comes from external sources and the object might have been constructed without all the required fields present.
- Specified by:
validatein interfaceRESTMessage
-
token
public java.lang.String token()
-
issuedTokenType
public java.lang.String issuedTokenType()
-
tokenType
public java.lang.String tokenType()
-
expiresInSeconds
public java.lang.Integer expiresInSeconds()
-
scopes
public java.util.List<java.lang.String> scopes()
-
builder
public static OAuthTokenResponse.Builder builder()
-
-