Interface CreateThreatEntitySetRequest.Builder

  • Method Details

    • detectorId

      The unique ID of the detector of the GuardDuty account for which you want to create a threat entity set.

      To find the detectorId in the current Region, see the Settings page in the GuardDuty console, or run the ListDetectors API.

      Parameters:
      detectorId - The unique ID of the detector of the GuardDuty account for which you want to create a threat entity set.

      To find the detectorId in the current Region, see the Settings page in the GuardDuty console, or run the ListDetectors API.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      A user-friendly name to identify the threat entity set.

      The name of your list can include lowercase letters, uppercase letters, numbers, dash (-), and underscore (_).

      Parameters:
      name - A user-friendly name to identify the threat entity set.

      The name of your list can include lowercase letters, uppercase letters, numbers, dash (-), and underscore (_).

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • format

      The format of the file that contains the threat entity set.

      Parameters:
      format - The format of the file that contains the threat entity set.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • format

      The format of the file that contains the threat entity set.

      Parameters:
      format - The format of the file that contains the threat entity set.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • location

      The URI of the file that contains the threat entity set. The format of the Location URL must be a valid Amazon S3 URL format. Invalid URL formats will result in an error, regardless of whether you activate the entity set or not. For more information about format of the location URLs, see Format of location URL under Step 2: Adding trusted or threat intelligence data in the Amazon GuardDuty User Guide.

      Parameters:
      location - The URI of the file that contains the threat entity set. The format of the Location URL must be a valid Amazon S3 URL format. Invalid URL formats will result in an error, regardless of whether you activate the entity set or not. For more information about format of the location URLs, see Format of location URL under Step 2: Adding trusted or threat intelligence data in the Amazon GuardDuty User Guide.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • expectedBucketOwner

      CreateThreatEntitySetRequest.Builder expectedBucketOwner(String expectedBucketOwner)

      The Amazon Web Services account ID that owns the Amazon S3 bucket specified in the location parameter.

      Parameters:
      expectedBucketOwner - The Amazon Web Services account ID that owns the Amazon S3 bucket specified in the location parameter.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • activate

      A boolean value that indicates whether GuardDuty should start using the uploaded threat entity set to generate findings.

      Parameters:
      activate - A boolean value that indicates whether GuardDuty should start using the uploaded threat entity set to generate findings.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • clientToken

      CreateThreatEntitySetRequest.Builder clientToken(String clientToken)

      The idempotency token for the create request.

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

      The tags to be added to a new threat entity set resource.

      Parameters:
      tags - The tags to be added to a new threat entity set resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      CreateThreatEntitySetRequest.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.