Interface AccountState.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AccountState.Builder,,AccountState> SdkBuilder<AccountState.Builder,,AccountState> SdkPojo
- Enclosing class:
AccountState
public static interface AccountState.Builder
extends SdkPojo, CopyableBuilder<AccountState.Builder,AccountState>
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Web Services account ID.default AccountState.BuilderresourceState(Consumer<ResourceState.Builder> resourceState) An object detailing which resources Amazon Inspector is enabled to scan for the account.resourceState(ResourceState resourceState) An object detailing which resources Amazon Inspector is enabled to scan for the account.default AccountState.Builderstate(Consumer<State.Builder> state) An object detailing the status of Amazon Inspector for the account.An object detailing the status of Amazon Inspector for the account.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
accountId
The Amazon Web Services account ID.
- Parameters:
accountId- The Amazon Web Services account ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceState
An object detailing which resources Amazon Inspector is enabled to scan for the account.
- Parameters:
resourceState- An object detailing which resources Amazon Inspector is enabled to scan for the account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.Builderavoiding the need to create one manually viaResourceState.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toresourceState(ResourceState).- Parameters:
resourceState- a consumer that will call methods onResourceState.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
state
An object detailing the status of Amazon Inspector for the account.
- Parameters:
state- An object detailing the status of Amazon Inspector for the account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
An object detailing the status of Amazon Inspector for the account.
This is a convenience method that creates an instance of theState.Builderavoiding the need to create one manually viaState.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostate(State).- Parameters:
state- a consumer that will call methods onState.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-