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