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