@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Authentication extends Object implements Serializable, Cloneable, StructuredPojo
Denotes the user's authentication properties, such as whether it requires a password to authenticate. Used in output responses.
| Constructor and Description |
|---|
Authentication() |
| Modifier and Type | Method and Description |
|---|---|
Authentication |
clone() |
boolean |
equals(Object obj) |
Integer |
getPasswordCount()
The number of passwords belonging to the user.
|
String |
getType()
Indicates whether the user requires a password to authenticate.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setPasswordCount(Integer passwordCount)
The number of passwords belonging to the user.
|
void |
setType(String type)
Indicates whether the user requires a password to authenticate.
|
String |
toString()
Returns a string representation of this object.
|
Authentication |
withPasswordCount(Integer passwordCount)
The number of passwords belonging to the user.
|
Authentication |
withType(AuthenticationType type)
Indicates whether the user requires a password to authenticate.
|
Authentication |
withType(String type)
Indicates whether the user requires a password to authenticate.
|
public void setType(String type)
Indicates whether the user requires a password to authenticate.
type - Indicates whether the user requires a password to authenticate.AuthenticationTypepublic String getType()
Indicates whether the user requires a password to authenticate.
AuthenticationTypepublic Authentication withType(String type)
Indicates whether the user requires a password to authenticate.
type - Indicates whether the user requires a password to authenticate.AuthenticationTypepublic Authentication withType(AuthenticationType type)
Indicates whether the user requires a password to authenticate.
type - Indicates whether the user requires a password to authenticate.AuthenticationTypepublic void setPasswordCount(Integer passwordCount)
The number of passwords belonging to the user. The maximum is two.
passwordCount - The number of passwords belonging to the user. The maximum is two.public Integer getPasswordCount()
The number of passwords belonging to the user. The maximum is two.
public Authentication withPasswordCount(Integer passwordCount)
The number of passwords belonging to the user. The maximum is two.
passwordCount - The number of passwords belonging to the user. The maximum is two.public String toString()
toString in class ObjectObject.toString()public Authentication clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.