public static interface CfnConnectorProfile.OAuthCredentialsProperty
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.appflow.*; OAuthCredentialsProperty oAuthCredentialsProperty = OAuthCredentialsProperty.builder() .accessToken("accessToken") .clientId("clientId") .clientSecret("clientSecret") .connectorOAuthRequest(ConnectorOAuthRequestProperty.builder() .authCode("authCode") .redirectUri("redirectUri") .build()) .refreshToken("refreshToken") .build();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnConnectorProfile.OAuthCredentialsProperty.Builder
A builder for
CfnConnectorProfile.OAuthCredentialsProperty |
static class |
CfnConnectorProfile.OAuthCredentialsProperty.Jsii$Proxy
An implementation for
CfnConnectorProfile.OAuthCredentialsProperty |
Modifier and Type | Method and Description |
---|---|
static CfnConnectorProfile.OAuthCredentialsProperty.Builder |
builder() |
default java.lang.String |
getAccessToken()
The access token used to access protected SAPOData resources.
|
default java.lang.String |
getClientId()
The identifier for the desired client.
|
default java.lang.String |
getClientSecret()
The client secret used by the OAuth client to authenticate to the authorization server.
|
default java.lang.Object |
getConnectorOAuthRequest()
`CfnConnectorProfile.OAuthCredentialsProperty.ConnectorOAuthRequest`.
|
default java.lang.String |
getRefreshToken()
The refresh token used to refresh expired access token.
|
default java.lang.String getAccessToken()
default java.lang.String getClientId()
default java.lang.String getClientSecret()
default java.lang.Object getConnectorOAuthRequest()
default java.lang.String getRefreshToken()
static CfnConnectorProfile.OAuthCredentialsProperty.Builder builder()