@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AssetBundleImportJobDataSourceCredentialPair extends Object implements Serializable, Cloneable, StructuredPojo
A username and password credential pair to use to import a data source resource.
Constructor and Description |
---|
AssetBundleImportJobDataSourceCredentialPair() |
Modifier and Type | Method and Description |
---|---|
AssetBundleImportJobDataSourceCredentialPair |
clone() |
boolean |
equals(Object obj) |
String |
getPassword()
The password for the data source connection.
|
String |
getUsername()
The username for the data source connection.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setPassword(String password)
The password for the data source connection.
|
void |
setUsername(String username)
The username for the data source connection.
|
String |
toString()
Returns a string representation of this object.
|
AssetBundleImportJobDataSourceCredentialPair |
withPassword(String password)
The password for the data source connection.
|
AssetBundleImportJobDataSourceCredentialPair |
withUsername(String username)
The username for the data source connection.
|
public AssetBundleImportJobDataSourceCredentialPair()
public void setUsername(String username)
The username for the data source connection.
username
- The username for the data source connection.public String getUsername()
The username for the data source connection.
public AssetBundleImportJobDataSourceCredentialPair withUsername(String username)
The username for the data source connection.
username
- The username for the data source connection.public void setPassword(String password)
The password for the data source connection.
password
- The password for the data source connection.public String getPassword()
The password for the data source connection.
public AssetBundleImportJobDataSourceCredentialPair withPassword(String password)
The password for the data source connection.
password
- The password for the data source connection.public String toString()
toString
in class Object
Object.toString()
public AssetBundleImportJobDataSourceCredentialPair clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.