public class OAuthClientFluentImpl<A extends OAuthClientFluent<A>> extends BaseFluent<A> implements OAuthClientFluent<A>
Modifier and Type | Class and Description |
---|---|
class |
OAuthClientFluentImpl.MetadataNestedImpl<N> |
class |
OAuthClientFluentImpl.ScopeRestrictionsNestedImpl<N> |
OAuthClientFluent.MetadataNested<N>, OAuthClientFluent.ScopeRestrictionsNested<N>
_visitables
Constructor and Description |
---|
OAuthClientFluentImpl() |
OAuthClientFluentImpl(OAuthClient instance) |
public OAuthClientFluentImpl()
public OAuthClientFluentImpl(OAuthClient instance)
public Integer getAccessTokenInactivityTimeoutSeconds()
getAccessTokenInactivityTimeoutSeconds
in interface OAuthClientFluent<A extends OAuthClientFluent<A>>
public A withAccessTokenInactivityTimeoutSeconds(Integer accessTokenInactivityTimeoutSeconds)
withAccessTokenInactivityTimeoutSeconds
in interface OAuthClientFluent<A extends OAuthClientFluent<A>>
public Boolean hasAccessTokenInactivityTimeoutSeconds()
hasAccessTokenInactivityTimeoutSeconds
in interface OAuthClientFluent<A extends OAuthClientFluent<A>>
public Integer getAccessTokenMaxAgeSeconds()
getAccessTokenMaxAgeSeconds
in interface OAuthClientFluent<A extends OAuthClientFluent<A>>
public A withAccessTokenMaxAgeSeconds(Integer accessTokenMaxAgeSeconds)
withAccessTokenMaxAgeSeconds
in interface OAuthClientFluent<A extends OAuthClientFluent<A>>
public Boolean hasAccessTokenMaxAgeSeconds()
hasAccessTokenMaxAgeSeconds
in interface OAuthClientFluent<A extends OAuthClientFluent<A>>
public A addToAdditionalSecrets(int index, String item)
addToAdditionalSecrets
in interface OAuthClientFluent<A extends OAuthClientFluent<A>>
public A setToAdditionalSecrets(int index, String item)
setToAdditionalSecrets
in interface OAuthClientFluent<A extends OAuthClientFluent<A>>
public A addToAdditionalSecrets(String... items)
addToAdditionalSecrets
in interface OAuthClientFluent<A extends OAuthClientFluent<A>>
public A addAllToAdditionalSecrets(Collection<String> items)
addAllToAdditionalSecrets
in interface OAuthClientFluent<A extends OAuthClientFluent<A>>
public A removeFromAdditionalSecrets(String... items)
removeFromAdditionalSecrets
in interface OAuthClientFluent<A extends OAuthClientFluent<A>>
public A removeAllFromAdditionalSecrets(Collection<String> items)
removeAllFromAdditionalSecrets
in interface OAuthClientFluent<A extends OAuthClientFluent<A>>
public List<String> getAdditionalSecrets()
getAdditionalSecrets
in interface OAuthClientFluent<A extends OAuthClientFluent<A>>
public String getAdditionalSecret(int index)
getAdditionalSecret
in interface OAuthClientFluent<A extends OAuthClientFluent<A>>
public String getFirstAdditionalSecret()
getFirstAdditionalSecret
in interface OAuthClientFluent<A extends OAuthClientFluent<A>>
public String getLastAdditionalSecret()
getLastAdditionalSecret
in interface OAuthClientFluent<A extends OAuthClientFluent<A>>
public String getMatchingAdditionalSecret(Predicate<String> predicate)
getMatchingAdditionalSecret
in interface OAuthClientFluent<A extends OAuthClientFluent<A>>
public Boolean hasMatchingAdditionalSecret(Predicate<String> predicate)
hasMatchingAdditionalSecret
in interface OAuthClientFluent<A extends OAuthClientFluent<A>>
public A withAdditionalSecrets(List<String> additionalSecrets)
withAdditionalSecrets
in interface OAuthClientFluent<A extends OAuthClientFluent<A>>
public A withAdditionalSecrets(String... additionalSecrets)
withAdditionalSecrets
in interface OAuthClientFluent<A extends OAuthClientFluent<A>>
public Boolean hasAdditionalSecrets()
hasAdditionalSecrets
in interface OAuthClientFluent<A extends OAuthClientFluent<A>>
public A addNewAdditionalSecret(String arg1)
addNewAdditionalSecret
in interface OAuthClientFluent<A extends OAuthClientFluent<A>>
public A addNewAdditionalSecret(StringBuilder arg1)
addNewAdditionalSecret
in interface OAuthClientFluent<A extends OAuthClientFluent<A>>
public A addNewAdditionalSecret(StringBuffer arg1)
addNewAdditionalSecret
in interface OAuthClientFluent<A extends OAuthClientFluent<A>>
public String getApiVersion()
getApiVersion
in interface OAuthClientFluent<A extends OAuthClientFluent<A>>
public A withApiVersion(String apiVersion)
withApiVersion
in interface OAuthClientFluent<A extends OAuthClientFluent<A>>
public Boolean hasApiVersion()
hasApiVersion
in interface OAuthClientFluent<A extends OAuthClientFluent<A>>
public A withNewApiVersion(String arg1)
withNewApiVersion
in interface OAuthClientFluent<A extends OAuthClientFluent<A>>
public A withNewApiVersion(StringBuilder arg1)
withNewApiVersion
in interface OAuthClientFluent<A extends OAuthClientFluent<A>>
public A withNewApiVersion(StringBuffer arg1)
withNewApiVersion
in interface OAuthClientFluent<A extends OAuthClientFluent<A>>
public String getGrantMethod()
getGrantMethod
in interface OAuthClientFluent<A extends OAuthClientFluent<A>>
public A withGrantMethod(String grantMethod)
withGrantMethod
in interface OAuthClientFluent<A extends OAuthClientFluent<A>>
public Boolean hasGrantMethod()
hasGrantMethod
in interface OAuthClientFluent<A extends OAuthClientFluent<A>>
public A withNewGrantMethod(String arg1)
withNewGrantMethod
in interface OAuthClientFluent<A extends OAuthClientFluent<A>>
public A withNewGrantMethod(StringBuilder arg1)
withNewGrantMethod
in interface OAuthClientFluent<A extends OAuthClientFluent<A>>
public A withNewGrantMethod(StringBuffer arg1)
withNewGrantMethod
in interface OAuthClientFluent<A extends OAuthClientFluent<A>>
public String getKind()
getKind
in interface OAuthClientFluent<A extends OAuthClientFluent<A>>
public A withKind(String kind)
withKind
in interface OAuthClientFluent<A extends OAuthClientFluent<A>>
public Boolean hasKind()
hasKind
in interface OAuthClientFluent<A extends OAuthClientFluent<A>>
public A withNewKind(String arg1)
withNewKind
in interface OAuthClientFluent<A extends OAuthClientFluent<A>>
public A withNewKind(StringBuilder arg1)
withNewKind
in interface OAuthClientFluent<A extends OAuthClientFluent<A>>
public A withNewKind(StringBuffer arg1)
withNewKind
in interface OAuthClientFluent<A extends OAuthClientFluent<A>>
@Deprecated public ObjectMeta getMetadata()
getMetadata
in interface OAuthClientFluent<A extends OAuthClientFluent<A>>
public ObjectMeta buildMetadata()
buildMetadata
in interface OAuthClientFluent<A extends OAuthClientFluent<A>>
public A withMetadata(ObjectMeta metadata)
withMetadata
in interface OAuthClientFluent<A extends OAuthClientFluent<A>>
public Boolean hasMetadata()
hasMetadata
in interface OAuthClientFluent<A extends OAuthClientFluent<A>>
public OAuthClientFluent.MetadataNested<A> withNewMetadata()
withNewMetadata
in interface OAuthClientFluent<A extends OAuthClientFluent<A>>
public OAuthClientFluent.MetadataNested<A> withNewMetadataLike(ObjectMeta item)
withNewMetadataLike
in interface OAuthClientFluent<A extends OAuthClientFluent<A>>
public OAuthClientFluent.MetadataNested<A> editMetadata()
editMetadata
in interface OAuthClientFluent<A extends OAuthClientFluent<A>>
public OAuthClientFluent.MetadataNested<A> editOrNewMetadata()
editOrNewMetadata
in interface OAuthClientFluent<A extends OAuthClientFluent<A>>
public OAuthClientFluent.MetadataNested<A> editOrNewMetadataLike(ObjectMeta item)
editOrNewMetadataLike
in interface OAuthClientFluent<A extends OAuthClientFluent<A>>
public A addToRedirectURIs(int index, String item)
addToRedirectURIs
in interface OAuthClientFluent<A extends OAuthClientFluent<A>>
public A setToRedirectURIs(int index, String item)
setToRedirectURIs
in interface OAuthClientFluent<A extends OAuthClientFluent<A>>
public A addToRedirectURIs(String... items)
addToRedirectURIs
in interface OAuthClientFluent<A extends OAuthClientFluent<A>>
public A addAllToRedirectURIs(Collection<String> items)
addAllToRedirectURIs
in interface OAuthClientFluent<A extends OAuthClientFluent<A>>
public A removeFromRedirectURIs(String... items)
removeFromRedirectURIs
in interface OAuthClientFluent<A extends OAuthClientFluent<A>>
public A removeAllFromRedirectURIs(Collection<String> items)
removeAllFromRedirectURIs
in interface OAuthClientFluent<A extends OAuthClientFluent<A>>
public List<String> getRedirectURIs()
getRedirectURIs
in interface OAuthClientFluent<A extends OAuthClientFluent<A>>
public String getRedirectURI(int index)
getRedirectURI
in interface OAuthClientFluent<A extends OAuthClientFluent<A>>
public String getFirstRedirectURI()
getFirstRedirectURI
in interface OAuthClientFluent<A extends OAuthClientFluent<A>>
public String getLastRedirectURI()
getLastRedirectURI
in interface OAuthClientFluent<A extends OAuthClientFluent<A>>
public String getMatchingRedirectURI(Predicate<String> predicate)
getMatchingRedirectURI
in interface OAuthClientFluent<A extends OAuthClientFluent<A>>
public Boolean hasMatchingRedirectURI(Predicate<String> predicate)
hasMatchingRedirectURI
in interface OAuthClientFluent<A extends OAuthClientFluent<A>>
public A withRedirectURIs(List<String> redirectURIs)
withRedirectURIs
in interface OAuthClientFluent<A extends OAuthClientFluent<A>>
public A withRedirectURIs(String... redirectURIs)
withRedirectURIs
in interface OAuthClientFluent<A extends OAuthClientFluent<A>>
public Boolean hasRedirectURIs()
hasRedirectURIs
in interface OAuthClientFluent<A extends OAuthClientFluent<A>>
public A addNewRedirectURI(String arg1)
addNewRedirectURI
in interface OAuthClientFluent<A extends OAuthClientFluent<A>>
public A addNewRedirectURI(StringBuilder arg1)
addNewRedirectURI
in interface OAuthClientFluent<A extends OAuthClientFluent<A>>
public A addNewRedirectURI(StringBuffer arg1)
addNewRedirectURI
in interface OAuthClientFluent<A extends OAuthClientFluent<A>>
public Boolean isRespondWithChallenges()
isRespondWithChallenges
in interface OAuthClientFluent<A extends OAuthClientFluent<A>>
public A withRespondWithChallenges(Boolean respondWithChallenges)
withRespondWithChallenges
in interface OAuthClientFluent<A extends OAuthClientFluent<A>>
public Boolean hasRespondWithChallenges()
hasRespondWithChallenges
in interface OAuthClientFluent<A extends OAuthClientFluent<A>>
public A withNewRespondWithChallenges(String arg1)
withNewRespondWithChallenges
in interface OAuthClientFluent<A extends OAuthClientFluent<A>>
public A withNewRespondWithChallenges(boolean arg1)
withNewRespondWithChallenges
in interface OAuthClientFluent<A extends OAuthClientFluent<A>>
public A addToScopeRestrictions(int index, ScopeRestriction item)
addToScopeRestrictions
in interface OAuthClientFluent<A extends OAuthClientFluent<A>>
public A setToScopeRestrictions(int index, ScopeRestriction item)
setToScopeRestrictions
in interface OAuthClientFluent<A extends OAuthClientFluent<A>>
public A addToScopeRestrictions(ScopeRestriction... items)
addToScopeRestrictions
in interface OAuthClientFluent<A extends OAuthClientFluent<A>>
public A addAllToScopeRestrictions(Collection<ScopeRestriction> items)
addAllToScopeRestrictions
in interface OAuthClientFluent<A extends OAuthClientFluent<A>>
public A removeFromScopeRestrictions(ScopeRestriction... items)
removeFromScopeRestrictions
in interface OAuthClientFluent<A extends OAuthClientFluent<A>>
public A removeAllFromScopeRestrictions(Collection<ScopeRestriction> items)
removeAllFromScopeRestrictions
in interface OAuthClientFluent<A extends OAuthClientFluent<A>>
public A removeMatchingFromScopeRestrictions(Predicate<ScopeRestrictionBuilder> predicate)
removeMatchingFromScopeRestrictions
in interface OAuthClientFluent<A extends OAuthClientFluent<A>>
@Deprecated public List<ScopeRestriction> getScopeRestrictions()
getScopeRestrictions
in interface OAuthClientFluent<A extends OAuthClientFluent<A>>
public List<ScopeRestriction> buildScopeRestrictions()
buildScopeRestrictions
in interface OAuthClientFluent<A extends OAuthClientFluent<A>>
public ScopeRestriction buildScopeRestriction(int index)
buildScopeRestriction
in interface OAuthClientFluent<A extends OAuthClientFluent<A>>
public ScopeRestriction buildFirstScopeRestriction()
buildFirstScopeRestriction
in interface OAuthClientFluent<A extends OAuthClientFluent<A>>
public ScopeRestriction buildLastScopeRestriction()
buildLastScopeRestriction
in interface OAuthClientFluent<A extends OAuthClientFluent<A>>
public ScopeRestriction buildMatchingScopeRestriction(Predicate<ScopeRestrictionBuilder> predicate)
buildMatchingScopeRestriction
in interface OAuthClientFluent<A extends OAuthClientFluent<A>>
public Boolean hasMatchingScopeRestriction(Predicate<ScopeRestrictionBuilder> predicate)
hasMatchingScopeRestriction
in interface OAuthClientFluent<A extends OAuthClientFluent<A>>
public A withScopeRestrictions(List<ScopeRestriction> scopeRestrictions)
withScopeRestrictions
in interface OAuthClientFluent<A extends OAuthClientFluent<A>>
public A withScopeRestrictions(ScopeRestriction... scopeRestrictions)
withScopeRestrictions
in interface OAuthClientFluent<A extends OAuthClientFluent<A>>
public Boolean hasScopeRestrictions()
hasScopeRestrictions
in interface OAuthClientFluent<A extends OAuthClientFluent<A>>
public OAuthClientFluent.ScopeRestrictionsNested<A> addNewScopeRestriction()
addNewScopeRestriction
in interface OAuthClientFluent<A extends OAuthClientFluent<A>>
public OAuthClientFluent.ScopeRestrictionsNested<A> addNewScopeRestrictionLike(ScopeRestriction item)
addNewScopeRestrictionLike
in interface OAuthClientFluent<A extends OAuthClientFluent<A>>
public OAuthClientFluent.ScopeRestrictionsNested<A> setNewScopeRestrictionLike(int index, ScopeRestriction item)
setNewScopeRestrictionLike
in interface OAuthClientFluent<A extends OAuthClientFluent<A>>
public OAuthClientFluent.ScopeRestrictionsNested<A> editScopeRestriction(int index)
editScopeRestriction
in interface OAuthClientFluent<A extends OAuthClientFluent<A>>
public OAuthClientFluent.ScopeRestrictionsNested<A> editFirstScopeRestriction()
editFirstScopeRestriction
in interface OAuthClientFluent<A extends OAuthClientFluent<A>>
public OAuthClientFluent.ScopeRestrictionsNested<A> editLastScopeRestriction()
editLastScopeRestriction
in interface OAuthClientFluent<A extends OAuthClientFluent<A>>
public OAuthClientFluent.ScopeRestrictionsNested<A> editMatchingScopeRestriction(Predicate<ScopeRestrictionBuilder> predicate)
editMatchingScopeRestriction
in interface OAuthClientFluent<A extends OAuthClientFluent<A>>
public String getSecret()
getSecret
in interface OAuthClientFluent<A extends OAuthClientFluent<A>>
public A withSecret(String secret)
withSecret
in interface OAuthClientFluent<A extends OAuthClientFluent<A>>
public Boolean hasSecret()
hasSecret
in interface OAuthClientFluent<A extends OAuthClientFluent<A>>
public A withNewSecret(String arg1)
withNewSecret
in interface OAuthClientFluent<A extends OAuthClientFluent<A>>
public A withNewSecret(StringBuilder arg1)
withNewSecret
in interface OAuthClientFluent<A extends OAuthClientFluent<A>>
public A withNewSecret(StringBuffer arg1)
withNewSecret
in interface OAuthClientFluent<A extends OAuthClientFluent<A>>
Copyright © 2015–2020 Red Hat. All rights reserved.