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