@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ApiKeyCredentials extends Object implements Serializable, Cloneable, StructuredPojo
The API key credentials required for API key authentication.
Constructor and Description |
---|
ApiKeyCredentials() |
Modifier and Type | Method and Description |
---|---|
ApiKeyCredentials |
clone() |
boolean |
equals(Object obj) |
String |
getApiKey()
The API key required for API key authentication.
|
String |
getApiSecretKey()
The API secret key required for API key authentication.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setApiKey(String apiKey)
The API key required for API key authentication.
|
void |
setApiSecretKey(String apiSecretKey)
The API secret key required for API key authentication.
|
String |
toString()
Returns a string representation of this object.
|
ApiKeyCredentials |
withApiKey(String apiKey)
The API key required for API key authentication.
|
ApiKeyCredentials |
withApiSecretKey(String apiSecretKey)
The API secret key required for API key authentication.
|
public void setApiKey(String apiKey)
The API key required for API key authentication.
apiKey
- The API key required for API key authentication.public String getApiKey()
The API key required for API key authentication.
public ApiKeyCredentials withApiKey(String apiKey)
The API key required for API key authentication.
apiKey
- The API key required for API key authentication.public void setApiSecretKey(String apiSecretKey)
The API secret key required for API key authentication.
apiSecretKey
- The API secret key required for API key authentication.public String getApiSecretKey()
The API secret key required for API key authentication.
public ApiKeyCredentials withApiSecretKey(String apiSecretKey)
The API secret key required for API key authentication.
apiSecretKey
- The API secret key required for API key authentication.public String toString()
toString
in class Object
Object.toString()
public ApiKeyCredentials clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.