@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ConnectionBasicAuthResponseParameters extends Object implements Serializable, Cloneable, StructuredPojo
Contains the authorization parameters for the connection if Basic is specified as the authorization type.
Constructor and Description |
---|
ConnectionBasicAuthResponseParameters() |
Modifier and Type | Method and Description |
---|---|
ConnectionBasicAuthResponseParameters |
clone() |
boolean |
equals(Object obj) |
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 |
setUsername(String username)
The user name to use for Basic authorization.
|
String |
toString()
Returns a string representation of this object.
|
ConnectionBasicAuthResponseParameters |
withUsername(String username)
The user name to use for Basic authorization.
|
public ConnectionBasicAuthResponseParameters()
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 ConnectionBasicAuthResponseParameters withUsername(String username)
The user name to use for Basic authorization.
username
- The user name to use for Basic authorization.public String toString()
toString
in class Object
Object.toString()
public ConnectionBasicAuthResponseParameters clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.