Class Account
- java.lang.Object
-
- software.amazon.awssdk.services.inspector2.model.Account
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Account.Builder,Account>
@Generated("software.amazon.awssdk:codegen") public final class Account extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Account.Builder,Account>
An Amazon Web Services account within your environment that Amazon Inspector has been enabled for.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAccount.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringaccountId()The ID of the Amazon Web Services account.static Account.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()ResourceStatusresourceStatus()Details of the status of Amazon Inspector scans by resource type.List<SdkField<?>>sdkFields()static Class<? extends Account.Builder>serializableBuilderClass()Statusstatus()The status of Amazon Inspector for the account.StringstatusAsString()The status of Amazon Inspector for the account.Account.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 ID of the Amazon Web Services account.
- Returns:
- The ID of the Amazon Web Services account.
-
resourceStatus
public final ResourceStatus resourceStatus()
Details of the status of Amazon Inspector scans by resource type.
- Returns:
- Details of the status of Amazon Inspector scans by resource type.
-
status
public final Status status()
The status of Amazon Inspector for the account.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of Amazon Inspector for the account.
- See Also:
Status
-
statusAsString
public final String statusAsString()
The status of Amazon Inspector for the account.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of Amazon Inspector for the account.
- See Also:
Status
-
toBuilder
public Account.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Account.Builder,Account>
-
builder
public static Account.Builder builder()
-
serializableBuilderClass
public static Class<? extends Account.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.
-
-