@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.AuthenticationType
public String getType()
Indicates whether the user requires a password to authenticate.
AuthenticationType
public Authentication withType(String type)
Indicates whether the user requires a password to authenticate.
type
- Indicates whether the user requires a password to authenticate.AuthenticationType
public Authentication withType(AuthenticationType type)
Indicates whether the user requires a password to authenticate.
type
- Indicates whether the user requires a password to authenticate.AuthenticationType
public 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 Object
Object.toString()
public Authentication clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.