Interface Account.Builder

All Superinterfaces:
Buildable, CopyableBuilder<Account.Builder,Account>, SdkBuilder<Account.Builder,Account>, SdkPojo
Enclosing class:
Account

public static interface Account.Builder extends SdkPojo, CopyableBuilder<Account.Builder,Account>
  • Method Details

    • accountId

      Account.Builder accountId(String accountId)

      The ID of the Amazon Web Services account.

      Parameters:
      accountId - The ID of the Amazon Web Services account.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceStatus

      Account.Builder resourceStatus(ResourceStatus resourceStatus)

      Details of the status of Amazon Inspector scans by resource type.

      Parameters:
      resourceStatus - Details of the status of Amazon Inspector scans by resource type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceStatus

      default Account.Builder resourceStatus(Consumer<ResourceStatus.Builder> resourceStatus)

      Details of the status of Amazon Inspector scans by resource type.

      This is a convenience method that creates an instance of the ResourceStatus.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).

      Parameters:
      resourceStatus - a consumer that will call methods on ResourceStatus.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      Account.Builder status(String status)

      The status of Amazon Inspector for the account.

      Parameters:
      status - The status of Amazon Inspector for the account.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      Account.Builder status(Status status)

      The status of Amazon Inspector for the account.

      Parameters:
      status - The status of Amazon Inspector for the account.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: