public static interface AccountState.Builder extends SdkPojo, CopyableBuilder<AccountState.Builder,AccountState>
| Modifier and Type | Method and Description |
|---|---|
AccountState.Builder |
accountId(String accountId)
The Amazon Web Services account ID.
|
default AccountState.Builder |
resourceState(Consumer<ResourceState.Builder> resourceState)
An object detailing which resources Amazon Inspector is enabled to scan for the account.
|
AccountState.Builder |
resourceState(ResourceState resourceState)
An object detailing which resources Amazon Inspector is enabled to scan for the account.
|
default AccountState.Builder |
state(Consumer<State.Builder> state)
An object detailing the status of Amazon Inspector for the account.
|
AccountState.Builder |
state(State state)
An object detailing the status of Amazon Inspector for the account.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildAccountState.Builder accountId(String accountId)
The Amazon Web Services account ID.
accountId - The Amazon Web Services account ID.AccountState.Builder resourceState(ResourceState resourceState)
An object detailing which resources Amazon Inspector is enabled to scan for the account.
resourceState - An object detailing which resources Amazon Inspector is enabled to scan for the account.default AccountState.Builder resourceState(Consumer<ResourceState.Builder> resourceState)
An object detailing which resources Amazon Inspector is enabled to scan for the account.
This is a convenience method that creates an instance of theResourceState.Builder avoiding the need
to create one manually via ResourceState.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to resourceState(ResourceState).
resourceState - a consumer that will call methods on ResourceState.BuilderresourceState(ResourceState)AccountState.Builder state(State state)
An object detailing the status of Amazon Inspector for the account.
state - An object detailing the status of Amazon Inspector for the account.default AccountState.Builder state(Consumer<State.Builder> state)
An object detailing the status of Amazon Inspector for the account.
This is a convenience method that creates an instance of theState.Builder avoiding the need to
create one manually via State.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to state(State).
state - a consumer that will call methods on State.Builderstate(State)Copyright © 2022. All rights reserved.