@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateConnectionBasicAuthRequestParameters extends Object implements Serializable, Cloneable, StructuredPojo
Contains the Basic authorization parameters for the connection.
| Constructor and Description |
|---|
UpdateConnectionBasicAuthRequestParameters() |
| Modifier and Type | Method and Description |
|---|---|
UpdateConnectionBasicAuthRequestParameters |
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.
|
UpdateConnectionBasicAuthRequestParameters |
withPassword(String password)
The password associated with the user name to use for Basic authorization.
|
UpdateConnectionBasicAuthRequestParameters |
withUsername(String username)
The user name to use for Basic authorization.
|
public UpdateConnectionBasicAuthRequestParameters()
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 UpdateConnectionBasicAuthRequestParameters 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 UpdateConnectionBasicAuthRequestParameters 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 ObjectObject.toString()public UpdateConnectionBasicAuthRequestParameters clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.