public static final class CfnConnectorProfile.OAuthCredentialsProperty.Builder
extends java.lang.Object
CfnConnectorProfile.OAuthCredentialsProperty
Constructor and Description |
---|
Builder() |
public CfnConnectorProfile.OAuthCredentialsProperty.Builder accessToken(java.lang.String accessToken)
CfnConnectorProfile.OAuthCredentialsProperty.getAccessToken()
accessToken
- The access token used to access protected SAPOData resources.this
public CfnConnectorProfile.OAuthCredentialsProperty.Builder clientId(java.lang.String clientId)
CfnConnectorProfile.OAuthCredentialsProperty.getClientId()
clientId
- The identifier for the desired client.this
public CfnConnectorProfile.OAuthCredentialsProperty.Builder clientSecret(java.lang.String clientSecret)
CfnConnectorProfile.OAuthCredentialsProperty.getClientSecret()
clientSecret
- The client secret used by the OAuth client to authenticate to the authorization server.this
public CfnConnectorProfile.OAuthCredentialsProperty.Builder connectorOAuthRequest(IResolvable connectorOAuthRequest)
CfnConnectorProfile.OAuthCredentialsProperty.getConnectorOAuthRequest()
connectorOAuthRequest
- `CfnConnectorProfile.OAuthCredentialsProperty.ConnectorOAuthRequest`.this
public CfnConnectorProfile.OAuthCredentialsProperty.Builder connectorOAuthRequest(CfnConnectorProfile.ConnectorOAuthRequestProperty connectorOAuthRequest)
CfnConnectorProfile.OAuthCredentialsProperty.getConnectorOAuthRequest()
connectorOAuthRequest
- `CfnConnectorProfile.OAuthCredentialsProperty.ConnectorOAuthRequest`.this
public CfnConnectorProfile.OAuthCredentialsProperty.Builder refreshToken(java.lang.String refreshToken)
CfnConnectorProfile.OAuthCredentialsProperty.getRefreshToken()
refreshToken
- The refresh token used to refresh expired access token.this
public CfnConnectorProfile.OAuthCredentialsProperty build()
CfnConnectorProfile.OAuthCredentialsProperty
java.lang.NullPointerException
- if any required attribute was not provided