@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AmplitudeConnectorProfileCredentials extends Object implements Serializable, Cloneable, StructuredPojo
The connector-specific credentials required when using Amplitude.
Constructor and Description |
---|
AmplitudeConnectorProfileCredentials() |
Modifier and Type | Method and Description |
---|---|
AmplitudeConnectorProfileCredentials |
clone() |
boolean |
equals(Object obj) |
String |
getApiKey()
A unique alphanumeric identifier used to authenticate a user, developer, or calling program to your API.
|
String |
getSecretKey()
The Secret Access Key portion of the credentials.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setApiKey(String apiKey)
A unique alphanumeric identifier used to authenticate a user, developer, or calling program to your API.
|
void |
setSecretKey(String secretKey)
The Secret Access Key portion of the credentials.
|
String |
toString()
Returns a string representation of this object.
|
AmplitudeConnectorProfileCredentials |
withApiKey(String apiKey)
A unique alphanumeric identifier used to authenticate a user, developer, or calling program to your API.
|
AmplitudeConnectorProfileCredentials |
withSecretKey(String secretKey)
The Secret Access Key portion of the credentials.
|
public AmplitudeConnectorProfileCredentials()
public void setApiKey(String apiKey)
A unique alphanumeric identifier used to authenticate a user, developer, or calling program to your API.
apiKey
- A unique alphanumeric identifier used to authenticate a user, developer, or calling program to your API.public String getApiKey()
A unique alphanumeric identifier used to authenticate a user, developer, or calling program to your API.
public AmplitudeConnectorProfileCredentials withApiKey(String apiKey)
A unique alphanumeric identifier used to authenticate a user, developer, or calling program to your API.
apiKey
- A unique alphanumeric identifier used to authenticate a user, developer, or calling program to your API.public void setSecretKey(String secretKey)
The Secret Access Key portion of the credentials.
secretKey
- The Secret Access Key portion of the credentials.public String getSecretKey()
The Secret Access Key portion of the credentials.
public AmplitudeConnectorProfileCredentials withSecretKey(String secretKey)
The Secret Access Key portion of the credentials.
secretKey
- The Secret Access Key portion of the credentials.public String toString()
toString
in class Object
Object.toString()
public AmplitudeConnectorProfileCredentials clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.