@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LoginAttribute extends Object implements Serializable, Cloneable, StructuredPojo
Information about the login attempts.
Constructor and Description |
---|
LoginAttribute() |
Modifier and Type | Method and Description |
---|---|
LoginAttribute |
clone() |
boolean |
equals(Object obj) |
String |
getApplication()
Indicates the application name used to attempt log in.
|
Integer |
getFailedLoginAttempts()
Represents the sum of failed (unsuccessful) login attempts made to establish a connection to the database
instance.
|
Integer |
getSuccessfulLoginAttempts()
Represents the sum of successful connections (a correct combination of login attributes) made to the database
instance by the actor.
|
String |
getUser()
Indicates the user name which attempted to log in.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setApplication(String application)
Indicates the application name used to attempt log in.
|
void |
setFailedLoginAttempts(Integer failedLoginAttempts)
Represents the sum of failed (unsuccessful) login attempts made to establish a connection to the database
instance.
|
void |
setSuccessfulLoginAttempts(Integer successfulLoginAttempts)
Represents the sum of successful connections (a correct combination of login attributes) made to the database
instance by the actor.
|
void |
setUser(String user)
Indicates the user name which attempted to log in.
|
String |
toString()
Returns a string representation of this object.
|
LoginAttribute |
withApplication(String application)
Indicates the application name used to attempt log in.
|
LoginAttribute |
withFailedLoginAttempts(Integer failedLoginAttempts)
Represents the sum of failed (unsuccessful) login attempts made to establish a connection to the database
instance.
|
LoginAttribute |
withSuccessfulLoginAttempts(Integer successfulLoginAttempts)
Represents the sum of successful connections (a correct combination of login attributes) made to the database
instance by the actor.
|
LoginAttribute |
withUser(String user)
Indicates the user name which attempted to log in.
|
public void setUser(String user)
Indicates the user name which attempted to log in.
user
- Indicates the user name which attempted to log in.public String getUser()
Indicates the user name which attempted to log in.
public LoginAttribute withUser(String user)
Indicates the user name which attempted to log in.
user
- Indicates the user name which attempted to log in.public void setApplication(String application)
Indicates the application name used to attempt log in.
application
- Indicates the application name used to attempt log in.public String getApplication()
Indicates the application name used to attempt log in.
public LoginAttribute withApplication(String application)
Indicates the application name used to attempt log in.
application
- Indicates the application name used to attempt log in.public void setFailedLoginAttempts(Integer failedLoginAttempts)
Represents the sum of failed (unsuccessful) login attempts made to establish a connection to the database instance.
failedLoginAttempts
- Represents the sum of failed (unsuccessful) login attempts made to establish a connection to the database
instance.public Integer getFailedLoginAttempts()
Represents the sum of failed (unsuccessful) login attempts made to establish a connection to the database instance.
public LoginAttribute withFailedLoginAttempts(Integer failedLoginAttempts)
Represents the sum of failed (unsuccessful) login attempts made to establish a connection to the database instance.
failedLoginAttempts
- Represents the sum of failed (unsuccessful) login attempts made to establish a connection to the database
instance.public void setSuccessfulLoginAttempts(Integer successfulLoginAttempts)
Represents the sum of successful connections (a correct combination of login attributes) made to the database instance by the actor.
successfulLoginAttempts
- Represents the sum of successful connections (a correct combination of login attributes) made to the
database instance by the actor.public Integer getSuccessfulLoginAttempts()
Represents the sum of successful connections (a correct combination of login attributes) made to the database instance by the actor.
public LoginAttribute withSuccessfulLoginAttempts(Integer successfulLoginAttempts)
Represents the sum of successful connections (a correct combination of login attributes) made to the database instance by the actor.
successfulLoginAttempts
- Represents the sum of successful connections (a correct combination of login attributes) made to the
database instance by the actor.public String toString()
toString
in class Object
Object.toString()
public LoginAttribute clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.