Class AwsAccount
- java.lang.Object
-
- software.amazon.awssdk.services.macie2.model.AwsAccount
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AwsAccount.Builder,AwsAccount>
@Generated("software.amazon.awssdk:codegen") public final class AwsAccount extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AwsAccount.Builder,AwsAccount>
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 an Amazon Web Services account other than your own account.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAwsAccount.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.static AwsAccount.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 AwsAccount.Builder>serializableBuilderClass()AwsAccount.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.
-
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 AwsAccount.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AwsAccount.Builder,AwsAccount>
-
builder
public static AwsAccount.Builder builder()
-
serializableBuilderClass
public static Class<? extends AwsAccount.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
-
-