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