Class LoginAttribute
- java.lang.Object
-
- software.amazon.awssdk.services.guardduty.model.LoginAttribute
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<LoginAttribute.Builder,LoginAttribute>
@Generated("software.amazon.awssdk:codegen") public final class LoginAttribute extends Object implements SdkPojo, Serializable, ToCopyableBuilder<LoginAttribute.Builder,LoginAttribute>
Information about the login attempts.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceLoginAttribute.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringapplication()Indicates the application name used to attempt log in.static LoginAttribute.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)IntegerfailedLoginAttempts()Represents the sum of failed (unsuccessful) login attempts made to establish a connection to the database instance.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends LoginAttribute.Builder>serializableBuilderClass()IntegersuccessfulLoginAttempts()Represents the sum of successful connections (a correct combination of login attributes) made to the database instance by the actor.LoginAttribute.BuildertoBuilder()StringtoString()Returns a string representation of this object.Stringuser()Indicates the user name which attempted to log in.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
user
public final String user()
Indicates the user name which attempted to log in.
- Returns:
- Indicates the user name which attempted to log in.
-
application
public final String application()
Indicates the application name used to attempt log in.
- Returns:
- Indicates the application name used to attempt log in.
-
failedLoginAttempts
public final Integer failedLoginAttempts()
Represents the sum of failed (unsuccessful) login attempts made to establish a connection to the database instance.
- Returns:
- Represents the sum of failed (unsuccessful) login attempts made to establish a connection to the database instance.
-
successfulLoginAttempts
public final Integer successfulLoginAttempts()
Represents the sum of successful connections (a correct combination of login attributes) made to the database instance by the actor.
- Returns:
- Represents the sum of successful connections (a correct combination of login attributes) made to the database instance by the actor.
-
toBuilder
public LoginAttribute.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<LoginAttribute.Builder,LoginAttribute>
-
builder
public static LoginAttribute.Builder builder()
-
serializableBuilderClass
public static Class<? extends LoginAttribute.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-