Interface CreateAbuseReportRequest.Builder

  • Method Details

    • report

      The abuse report data in XARF format. Provide the report under the xarf key.

      Parameters:
      report - The abuse report data in XARF format. Provide the report under the xarf key.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • report

      The abuse report data in XARF format. Provide the report under the xarf key.

      This is a convenience method that creates an instance of the ReportData.Builder avoiding the need to create one manually via ReportData.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to report(ReportData).

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

      CreateAbuseReportRequest.Builder correlationId(String correlationId)

      An optional correlation ID for tracking the report in the reporter's system. The service echoes this value back in responses, and you can use it to filter reports with ListAbuseReportStatuses.

      Parameters:
      correlationId - An optional correlation ID for tracking the report in the reporter's system. The service echoes this value back in responses, and you can use it to filter reports with ListAbuseReportStatuses.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • clientToken

      CreateAbuseReportRequest.Builder clientToken(String clientToken)

      An optional, client-provided idempotency token that ensures the operation completes no more than once. If the token matches a previous request within 24 hours, the service returns the existing report ID instead of creating a new report. When you omit this token, the service automatically generates one that is scoped to a 5-minute window.

      Parameters:
      clientToken - An optional, client-provided idempotency token that ensures the operation completes no more than once. If the token matches a previous request within 24 hours, the service returns the existing report ID instead of creating a new report. When you omit this token, the service automatically generates one that is scoped to a 5-minute window.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

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