@Stability(value=Stable)
public static interface CfnConnectorProfile.GoogleAnalyticsConnectorProfileCredentialsProperty
extends software.amazon.jsii.JsiiSerializable
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.*;
GoogleAnalyticsConnectorProfileCredentialsProperty googleAnalyticsConnectorProfileCredentialsProperty = GoogleAnalyticsConnectorProfileCredentialsProperty.builder()
.clientId("clientId")
.clientSecret("clientSecret")
// the properties below are optional
.accessToken("accessToken")
.connectorOAuthRequest(ConnectorOAuthRequestProperty.builder()
.authCode("authCode")
.redirectUri("redirectUri")
.build())
.refreshToken("refreshToken")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnConnectorProfile.GoogleAnalyticsConnectorProfileCredentialsProperty.Builder
|
static class |
CfnConnectorProfile.GoogleAnalyticsConnectorProfileCredentialsProperty.Jsii$Proxy
An implementation for
CfnConnectorProfile.GoogleAnalyticsConnectorProfileCredentialsProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnConnectorProfile.GoogleAnalyticsConnectorProfileCredentialsProperty.Builder |
builder() |
default String |
getAccessToken()
The credentials used to access protected Google Analytics resources.
|
String |
getClientId()
The identifier for the desired client.
|
String |
getClientSecret()
The client secret used by the OAuth client to authenticate to the authorization server.
|
default Object |
getConnectorOAuthRequest()
Used by select connectors for which the OAuth workflow is supported, such as Salesforce, Google Analytics, Marketo, Zendesk, and Slack.
|
default String |
getRefreshToken()
The credentials used to acquire new access tokens.
|
@Stability(value=Stable) @NotNull String getClientId()
@Stability(value=Stable) @NotNull String getClientSecret()
@Stability(value=Stable) @Nullable default String getAccessToken()
@Stability(value=Stable) @Nullable default Object getConnectorOAuthRequest()
@Stability(value=Stable) @Nullable default String getRefreshToken()
This is required only for OAuth2 access tokens, and is not required for OAuth1 access tokens.
@Stability(value=Stable) static CfnConnectorProfile.GoogleAnalyticsConnectorProfileCredentialsProperty.Builder builder()
Copyright © 2022. All rights reserved.