Class UserIdentityRoot
- java.lang.Object
-
- software.amazon.awssdk.services.macie2.model.UserIdentityRoot
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<UserIdentityRoot.Builder,UserIdentityRoot>
@Generated("software.amazon.awssdk:codegen") public final class UserIdentityRoot extends Object implements SdkPojo, Serializable, ToCopyableBuilder<UserIdentityRoot.Builder,UserIdentityRoot>
Provides information about an Amazon Web Services account and entity that performed an action on an affected resource. The action was performed using the credentials for your Amazon Web Services account.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUserIdentityRoot.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringaccountId()The unique identifier for the Amazon Web Services account.Stringarn()The Amazon Resource Name (ARN) of the principal that performed the action.static UserIdentityRoot.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringprincipalId()The unique identifier for the entity that performed the action.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends UserIdentityRoot.Builder>serializableBuilderClass()UserIdentityRoot.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
accountId
public final String accountId()
The unique identifier for the Amazon Web Services account.
- Returns:
- The unique identifier for the Amazon Web Services account.
-
arn
public final String arn()
The Amazon Resource Name (ARN) of the principal that performed the action. The last section of the ARN contains the name of the user or role that performed the action.
- Returns:
- The Amazon Resource Name (ARN) of the principal that performed the action. The last section of the ARN contains the name of the user or role that performed the action.
-
principalId
public final String principalId()
The unique identifier for the entity that performed the action.
- Returns:
- The unique identifier for the entity that performed the action.
-
toBuilder
public UserIdentityRoot.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UserIdentityRoot.Builder,UserIdentityRoot>
-
builder
public static UserIdentityRoot.Builder builder()
-
serializableBuilderClass
public static Class<? extends UserIdentityRoot.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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-