public class OAuthAccessTokenFluentImpl<A extends OAuthAccessTokenFluent<A>> extends BaseFluent<A> implements OAuthAccessTokenFluent<A>
Modifier and Type | Class and Description |
---|---|
class |
OAuthAccessTokenFluentImpl.MetadataNestedImpl<N> |
OAuthAccessTokenFluent.MetadataNested<N>
_visitables
Constructor and Description |
---|
OAuthAccessTokenFluentImpl() |
OAuthAccessTokenFluentImpl(OAuthAccessToken instance) |
public OAuthAccessTokenFluentImpl()
public OAuthAccessTokenFluentImpl(OAuthAccessToken instance)
public String getApiVersion()
getApiVersion
in interface OAuthAccessTokenFluent<A extends OAuthAccessTokenFluent<A>>
public A withApiVersion(String apiVersion)
withApiVersion
in interface OAuthAccessTokenFluent<A extends OAuthAccessTokenFluent<A>>
public String getAuthorizeToken()
getAuthorizeToken
in interface OAuthAccessTokenFluent<A extends OAuthAccessTokenFluent<A>>
public A withAuthorizeToken(String authorizeToken)
withAuthorizeToken
in interface OAuthAccessTokenFluent<A extends OAuthAccessTokenFluent<A>>
public String getClientName()
getClientName
in interface OAuthAccessTokenFluent<A extends OAuthAccessTokenFluent<A>>
public A withClientName(String clientName)
withClientName
in interface OAuthAccessTokenFluent<A extends OAuthAccessTokenFluent<A>>
public Long getExpiresIn()
getExpiresIn
in interface OAuthAccessTokenFluent<A extends OAuthAccessTokenFluent<A>>
public A withExpiresIn(Long expiresIn)
withExpiresIn
in interface OAuthAccessTokenFluent<A extends OAuthAccessTokenFluent<A>>
public String getKind()
getKind
in interface OAuthAccessTokenFluent<A extends OAuthAccessTokenFluent<A>>
public A withKind(String kind)
withKind
in interface OAuthAccessTokenFluent<A extends OAuthAccessTokenFluent<A>>
public ObjectMeta getMetadata()
getMetadata
in interface OAuthAccessTokenFluent<A extends OAuthAccessTokenFluent<A>>
public A withMetadata(ObjectMeta metadata)
withMetadata
in interface OAuthAccessTokenFluent<A extends OAuthAccessTokenFluent<A>>
public OAuthAccessTokenFluent.MetadataNested<A> withNewMetadata()
withNewMetadata
in interface OAuthAccessTokenFluent<A extends OAuthAccessTokenFluent<A>>
public OAuthAccessTokenFluent.MetadataNested<A> withNewMetadataLike(ObjectMeta item)
withNewMetadataLike
in interface OAuthAccessTokenFluent<A extends OAuthAccessTokenFluent<A>>
public OAuthAccessTokenFluent.MetadataNested<A> editMetadata()
editMetadata
in interface OAuthAccessTokenFluent<A extends OAuthAccessTokenFluent<A>>
public String getRedirectURI()
getRedirectURI
in interface OAuthAccessTokenFluent<A extends OAuthAccessTokenFluent<A>>
public A withRedirectURI(String redirectURI)
withRedirectURI
in interface OAuthAccessTokenFluent<A extends OAuthAccessTokenFluent<A>>
public String getRefreshToken()
getRefreshToken
in interface OAuthAccessTokenFluent<A extends OAuthAccessTokenFluent<A>>
public A withRefreshToken(String refreshToken)
withRefreshToken
in interface OAuthAccessTokenFluent<A extends OAuthAccessTokenFluent<A>>
public A addToScopes(String... items)
addToScopes
in interface OAuthAccessTokenFluent<A extends OAuthAccessTokenFluent<A>>
public A removeFromScopes(String... items)
removeFromScopes
in interface OAuthAccessTokenFluent<A extends OAuthAccessTokenFluent<A>>
public List<String> getScopes()
getScopes
in interface OAuthAccessTokenFluent<A extends OAuthAccessTokenFluent<A>>
public A withScopes(List<String> scopes)
withScopes
in interface OAuthAccessTokenFluent<A extends OAuthAccessTokenFluent<A>>
public A withScopes(String... scopes)
withScopes
in interface OAuthAccessTokenFluent<A extends OAuthAccessTokenFluent<A>>
public String getUserName()
getUserName
in interface OAuthAccessTokenFluent<A extends OAuthAccessTokenFluent<A>>
public A withUserName(String userName)
withUserName
in interface OAuthAccessTokenFluent<A extends OAuthAccessTokenFluent<A>>
public String getUserUID()
getUserUID
in interface OAuthAccessTokenFluent<A extends OAuthAccessTokenFluent<A>>
public A withUserUID(String userUID)
withUserUID
in interface OAuthAccessTokenFluent<A extends OAuthAccessTokenFluent<A>>
Copyright © 2011–2016 Red Hat. All rights reserved.