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