@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Authentication extends Object implements Serializable, Cloneable
Indicates whether the user requires a password to authenticate.
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 |
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()
Copyright © 2022. All rights reserved.