public static class ConnectionFromOAuth2.Builder extends Object
Constructor and Description |
---|
Builder() |
public ConnectionFromOAuth2.Builder key(String key)
public ConnectionFromOAuth2.Builder modelVersion(String modelVersion)
public ConnectionFromOAuth2.Builder parentRef(ParentReference parentRef)
public ConnectionFromOAuth2.Builder name(String name)
public ConnectionFromOAuth2.Builder description(String description)
public ConnectionFromOAuth2.Builder objectVersion(Integer objectVersion)
public ConnectionFromOAuth2.Builder objectStatus(Integer objectStatus)
public ConnectionFromOAuth2.Builder identifier(String identifier)
public ConnectionFromOAuth2.Builder primarySchema(Schema primarySchema)
public ConnectionFromOAuth2.Builder connectionProperties(List<ConnectionProperty> connectionProperties)
public ConnectionFromOAuth2.Builder isDefault(Boolean isDefault)
public ConnectionFromOAuth2.Builder metadata(ObjectMetadata metadata)
public ConnectionFromOAuth2.Builder keyMap(Map<String,String> keyMap)
public ConnectionFromOAuth2.Builder accessTokenUrl(String accessTokenUrl)
Specifies the endpoint used to exchange authentication credentials for access tokens
accessTokenUrl
- the value to setpublic ConnectionFromOAuth2.Builder clientId(String clientId)
Specifies the client ID key for specific application
clientId
- the value to setpublic ConnectionFromOAuth2.Builder clientSecret(SensitiveAttribute clientSecret)
public ConnectionFromOAuth2.Builder scope(String scope)
Specifies the OAuth scopes that limit the permissions granted by an access token.
scope
- the value to setpublic ConnectionFromOAuth2.Builder grantType(ConnectionFromOAuth2.GrantType grantType)
Specifies the OAuth2 grant mechanism. Example CLIENT_CREDENTIALS, Implicit Flow etc.
grantType
- the value to setpublic ConnectionFromOAuth2 build()
public ConnectionFromOAuth2.Builder copy(ConnectionFromOAuth2 model)
Copyright © 2016–2024. All rights reserved.