@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GoogleAnalyticsConnectorProfileCredentials extends Object implements Serializable, Cloneable, StructuredPojo
The connector-specific profile credentials required by Google Analytics.
Constructor and Description |
---|
GoogleAnalyticsConnectorProfileCredentials() |
Modifier and Type | Method and Description |
---|---|
GoogleAnalyticsConnectorProfileCredentials |
clone() |
boolean |
equals(Object obj) |
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.
|
ConnectorOAuthRequest |
getOAuthRequest()
The OAuth requirement needed to request security tokens from the connector endpoint.
|
String |
getRefreshToken()
The credentials used to acquire new access tokens.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAccessToken(String accessToken)
The credentials used to access protected Google Analytics resources.
|
void |
setClientId(String clientId)
The identifier for the desired client.
|
void |
setClientSecret(String clientSecret)
The client secret used by the OAuth client to authenticate to the authorization server.
|
void |
setOAuthRequest(ConnectorOAuthRequest oAuthRequest)
The OAuth requirement needed to request security tokens from the connector endpoint.
|
void |
setRefreshToken(String refreshToken)
The credentials used to acquire new access tokens.
|
String |
toString()
Returns a string representation of this object.
|
GoogleAnalyticsConnectorProfileCredentials |
withAccessToken(String accessToken)
The credentials used to access protected Google Analytics resources.
|
GoogleAnalyticsConnectorProfileCredentials |
withClientId(String clientId)
The identifier for the desired client.
|
GoogleAnalyticsConnectorProfileCredentials |
withClientSecret(String clientSecret)
The client secret used by the OAuth client to authenticate to the authorization server.
|
GoogleAnalyticsConnectorProfileCredentials |
withOAuthRequest(ConnectorOAuthRequest oAuthRequest)
The OAuth requirement needed to request security tokens from the connector endpoint.
|
GoogleAnalyticsConnectorProfileCredentials |
withRefreshToken(String refreshToken)
The credentials used to acquire new access tokens.
|
public GoogleAnalyticsConnectorProfileCredentials()
public void setClientId(String clientId)
The identifier for the desired client.
clientId
- The identifier for the desired client.public String getClientId()
The identifier for the desired client.
public GoogleAnalyticsConnectorProfileCredentials withClientId(String clientId)
The identifier for the desired client.
clientId
- The identifier for the desired client.public void setClientSecret(String clientSecret)
The client secret used by the OAuth client to authenticate to the authorization server.
clientSecret
- The client secret used by the OAuth client to authenticate to the authorization server.public String getClientSecret()
The client secret used by the OAuth client to authenticate to the authorization server.
public GoogleAnalyticsConnectorProfileCredentials withClientSecret(String clientSecret)
The client secret used by the OAuth client to authenticate to the authorization server.
clientSecret
- The client secret used by the OAuth client to authenticate to the authorization server.public void setAccessToken(String accessToken)
The credentials used to access protected Google Analytics resources.
accessToken
- The credentials used to access protected Google Analytics resources.public String getAccessToken()
The credentials used to access protected Google Analytics resources.
public GoogleAnalyticsConnectorProfileCredentials withAccessToken(String accessToken)
The credentials used to access protected Google Analytics resources.
accessToken
- The credentials used to access protected Google Analytics resources.public void setRefreshToken(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.
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.public String getRefreshToken()
The credentials used to acquire new access tokens. This is required only for OAuth2 access tokens, and is not required for OAuth1 access tokens.
public GoogleAnalyticsConnectorProfileCredentials withRefreshToken(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.
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.public void setOAuthRequest(ConnectorOAuthRequest oAuthRequest)
The OAuth requirement needed to request security tokens from the connector endpoint.
oAuthRequest
- The OAuth requirement needed to request security tokens from the connector endpoint.public ConnectorOAuthRequest getOAuthRequest()
The OAuth requirement needed to request security tokens from the connector endpoint.
public GoogleAnalyticsConnectorProfileCredentials withOAuthRequest(ConnectorOAuthRequest oAuthRequest)
The OAuth requirement needed to request security tokens from the connector endpoint.
oAuthRequest
- The OAuth requirement needed to request security tokens from the connector endpoint.public String toString()
toString
in class Object
Object.toString()
public GoogleAnalyticsConnectorProfileCredentials clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.