Class OAuthTokenResponse.Builder
- java.lang.Object
-
- org.apache.iceberg.rest.responses.OAuthTokenResponse.Builder
-
- Enclosing class:
- OAuthTokenResponse
public static class OAuthTokenResponse.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OAuthTokenResponse.Builder
addScope(java.lang.String scope)
OAuthTokenResponse.Builder
addScopes(java.util.List<java.lang.String> scope)
OAuthTokenResponse
build()
OAuthTokenResponse.Builder
setExpirationInSeconds(int durationInSeconds)
OAuthTokenResponse.Builder
withIssuedTokenType(java.lang.String issuedType)
OAuthTokenResponse.Builder
withToken(java.lang.String token)
OAuthTokenResponse.Builder
withTokenType(java.lang.String type)
-
-
-
Method Detail
-
withToken
public OAuthTokenResponse.Builder withToken(java.lang.String token)
-
withIssuedTokenType
public OAuthTokenResponse.Builder withIssuedTokenType(java.lang.String issuedType)
-
withTokenType
public OAuthTokenResponse.Builder withTokenType(java.lang.String type)
-
setExpirationInSeconds
public OAuthTokenResponse.Builder setExpirationInSeconds(int durationInSeconds)
-
addScope
public OAuthTokenResponse.Builder addScope(java.lang.String scope)
-
addScopes
public OAuthTokenResponse.Builder addScopes(java.util.List<java.lang.String> scope)
-
build
public OAuthTokenResponse build()
-
-