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