Interface AccountState.Builder

  • Method Details

    • accountId

      AccountState.Builder accountId(String 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

      AccountState.Builder resourceState(ResourceState 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

      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 the ResourceState.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).

      Parameters:
      resourceState - a consumer that will call methods on ResourceState.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 the State.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).

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