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