Interface EnableRequest.Builder

  • Method Details

    • accountIds

      EnableRequest.Builder accountIds(Collection<String> accountIds)

      A list of account IDs you want to enable Amazon Inspector scans for.

      Parameters:
      accountIds - A list of account IDs you want to enable Amazon Inspector scans for.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • accountIds

      EnableRequest.Builder accountIds(String... accountIds)

      A list of account IDs you want to enable Amazon Inspector scans for.

      Parameters:
      accountIds - A list of account IDs you want to enable Amazon Inspector scans for.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • clientToken

      EnableRequest.Builder clientToken(String clientToken)

      The idempotency token for the request.

      Parameters:
      clientToken - The idempotency token for the request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceTypesWithStrings

      EnableRequest.Builder resourceTypesWithStrings(Collection<String> resourceTypes)

      The resource scan types you want to enable.

      Parameters:
      resourceTypes - The resource scan types you want to enable.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceTypesWithStrings

      EnableRequest.Builder resourceTypesWithStrings(String... resourceTypes)

      The resource scan types you want to enable.

      Parameters:
      resourceTypes - The resource scan types you want to enable.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceTypes

      EnableRequest.Builder resourceTypes(Collection<ResourceScanType> resourceTypes)

      The resource scan types you want to enable.

      Parameters:
      resourceTypes - The resource scan types you want to enable.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceTypes

      EnableRequest.Builder resourceTypes(ResourceScanType... resourceTypes)

      The resource scan types you want to enable.

      Parameters:
      resourceTypes - The resource scan types you want to enable.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      EnableRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.