@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DataSourceCredentials extends Object implements Serializable, Cloneable, StructuredPojo
Data source credentials.
Constructor and Description |
---|
DataSourceCredentials() |
Modifier and Type | Method and Description |
---|---|
DataSourceCredentials |
clone() |
boolean |
equals(Object obj) |
CredentialPair |
getCredentialPair()
Credential pair.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCredentialPair(CredentialPair credentialPair)
Credential pair.
|
String |
toString()
Returns a string representation of this object.
|
DataSourceCredentials |
withCredentialPair(CredentialPair credentialPair)
Credential pair.
|
public void setCredentialPair(CredentialPair credentialPair)
Credential pair.
credentialPair
- Credential pair.public CredentialPair getCredentialPair()
Credential pair.
public DataSourceCredentials withCredentialPair(CredentialPair credentialPair)
Credential pair.
credentialPair
- Credential pair.public String toString()
toString
in class Object
Object.toString()
public DataSourceCredentials clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.