Interface GoogleAnalyticsConnectorProfileCredentials.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<GoogleAnalyticsConnectorProfileCredentials.Builder,GoogleAnalyticsConnectorProfileCredentials>,SdkBuilder<GoogleAnalyticsConnectorProfileCredentials.Builder,GoogleAnalyticsConnectorProfileCredentials>,SdkPojo
- Enclosing class:
- GoogleAnalyticsConnectorProfileCredentials
public static interface GoogleAnalyticsConnectorProfileCredentials.Builder extends SdkPojo, CopyableBuilder<GoogleAnalyticsConnectorProfileCredentials.Builder,GoogleAnalyticsConnectorProfileCredentials>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description GoogleAnalyticsConnectorProfileCredentials.BuilderaccessToken(String accessToken)The credentials used to access protected Google Analytics resources.GoogleAnalyticsConnectorProfileCredentials.BuilderclientId(String clientId)The identifier for the desired client.GoogleAnalyticsConnectorProfileCredentials.BuilderclientSecret(String clientSecret)The client secret used by the OAuth client to authenticate to the authorization server.default GoogleAnalyticsConnectorProfileCredentials.BuilderoAuthRequest(Consumer<ConnectorOAuthRequest.Builder> oAuthRequest)The OAuth requirement needed to request security tokens from the connector endpoint.GoogleAnalyticsConnectorProfileCredentials.BuilderoAuthRequest(ConnectorOAuthRequest oAuthRequest)The OAuth requirement needed to request security tokens from the connector endpoint.GoogleAnalyticsConnectorProfileCredentials.BuilderrefreshToken(String refreshToken)The credentials used to acquire new access tokens.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
clientId
GoogleAnalyticsConnectorProfileCredentials.Builder clientId(String clientId)
The identifier for the desired client.
- Parameters:
clientId- The identifier for the desired client.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientSecret
GoogleAnalyticsConnectorProfileCredentials.Builder clientSecret(String clientSecret)
The client secret used by the OAuth client to authenticate to the authorization server.
- Parameters:
clientSecret- The client secret used by the OAuth client to authenticate to the authorization server.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accessToken
GoogleAnalyticsConnectorProfileCredentials.Builder accessToken(String accessToken)
The credentials used to access protected Google Analytics resources.
- Parameters:
accessToken- The credentials used to access protected Google Analytics resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
refreshToken
GoogleAnalyticsConnectorProfileCredentials.Builder refreshToken(String refreshToken)
The credentials used to acquire new access tokens. This is required only for OAuth2 access tokens, and is not required for OAuth1 access tokens.
- Parameters:
refreshToken- The credentials used to acquire new access tokens. This is required only for OAuth2 access tokens, and is not required for OAuth1 access tokens.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
oAuthRequest
GoogleAnalyticsConnectorProfileCredentials.Builder oAuthRequest(ConnectorOAuthRequest oAuthRequest)
The OAuth requirement needed to request security tokens from the connector endpoint.
- Parameters:
oAuthRequest- The OAuth requirement needed to request security tokens from the connector endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
oAuthRequest
default GoogleAnalyticsConnectorProfileCredentials.Builder oAuthRequest(Consumer<ConnectorOAuthRequest.Builder> oAuthRequest)
The OAuth requirement needed to request security tokens from the connector endpoint.
This is a convenience method that creates an instance of theConnectorOAuthRequest.Builderavoiding the need to create one manually viaConnectorOAuthRequest.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooAuthRequest(ConnectorOAuthRequest).- Parameters:
oAuthRequest- a consumer that will call methods onConnectorOAuthRequest.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
oAuthRequest(ConnectorOAuthRequest)
-
-