public static interface FailedAccount.Builder extends SdkPojo, CopyableBuilder<FailedAccount.Builder,FailedAccount>
| Modifier and Type | Method and Description |
|---|---|
FailedAccount.Builder |
accountId(String accountId)
The Amazon Web Services account ID.
|
FailedAccount.Builder |
errorCode(ErrorCode errorCode)
The error code explaining why the account failed to enable Amazon Inspector.
|
FailedAccount.Builder |
errorCode(String errorCode)
The error code explaining why the account failed to enable Amazon Inspector.
|
FailedAccount.Builder |
errorMessage(String errorMessage)
The error message received when the account failed to enable Amazon Inspector.
|
default FailedAccount.Builder |
resourceStatus(Consumer<ResourceStatus.Builder> resourceStatus)
An object detailing which resources Amazon Inspector is enabled to scan for the account.
|
FailedAccount.Builder |
resourceStatus(ResourceStatus resourceStatus)
An object detailing which resources Amazon Inspector is enabled to scan for the account.
|
FailedAccount.Builder |
status(Status status)
The status of Amazon Inspector for the account.
|
FailedAccount.Builder |
status(String status)
The status of Amazon Inspector for the account.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildFailedAccount.Builder accountId(String accountId)
The Amazon Web Services account ID.
accountId - The Amazon Web Services account ID.FailedAccount.Builder errorCode(String errorCode)
The error code explaining why the account failed to enable Amazon Inspector.
FailedAccount.Builder errorCode(ErrorCode errorCode)
The error code explaining why the account failed to enable Amazon Inspector.
FailedAccount.Builder errorMessage(String errorMessage)
The error message received when the account failed to enable Amazon Inspector.
errorMessage - The error message received when the account failed to enable Amazon Inspector.FailedAccount.Builder resourceStatus(ResourceStatus resourceStatus)
An object detailing which resources Amazon Inspector is enabled to scan for the account.
resourceStatus - An object detailing which resources Amazon Inspector is enabled to scan for the account.default FailedAccount.Builder resourceStatus(Consumer<ResourceStatus.Builder> resourceStatus)
An object detailing which resources Amazon Inspector is enabled to scan for the account.
This is a convenience method that creates an instance of theResourceStatus.Builder avoiding the need
to create one manually via ResourceStatus.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to resourceStatus(ResourceStatus).
resourceStatus - a consumer that will call methods on ResourceStatus.BuilderresourceStatus(ResourceStatus)FailedAccount.Builder status(String status)
The status of Amazon Inspector for the account.
FailedAccount.Builder status(Status status)
The status of Amazon Inspector for the account.
Copyright © 2022. All rights reserved.