Class AccountState
- java.lang.Object
-
- software.amazon.awssdk.services.inspector2.model.AccountState
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AccountState.Builder,AccountState>
@Generated("software.amazon.awssdk:codegen") public final class AccountState extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AccountState.Builder,AccountState>
An object with details the status of an Amazon Web Services account within your Amazon Inspector environment.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAccountState.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringaccountId()The Amazon Web Services account ID.static AccountState.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()ResourceStateresourceState()An object detailing which resources Amazon Inspector is enabled to scan for the account.List<SdkField<?>>sdkFields()static Class<? extends AccountState.Builder>serializableBuilderClass()Statestate()An object detailing the status of Amazon Inspector for the account.AccountState.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 Amazon Web Services account ID.
- Returns:
- The Amazon Web Services account ID.
-
resourceState
public final ResourceState resourceState()
An object detailing which resources Amazon Inspector is enabled to scan for the account.
- Returns:
- An object detailing which resources Amazon Inspector is enabled to scan for the account.
-
state
public final State state()
An object detailing the status of Amazon Inspector for the account.
- Returns:
- An object detailing the status of Amazon Inspector for the account.
-
toBuilder
public AccountState.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AccountState.Builder,AccountState>
-
builder
public static AccountState.Builder builder()
-
serializableBuilderClass
public static Class<? extends AccountState.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.
-
-