Interface CreateAbuseReportRequest.Builder
- All Superinterfaces:
AbuseSignalRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<CreateAbuseReportRequest.Builder,,CreateAbuseReportRequest> SdkBuilder<CreateAbuseReportRequest.Builder,,CreateAbuseReportRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateAbuseReportRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientToken(String clientToken) An optional, client-provided idempotency token that ensures the operation completes no more than once.correlationId(String correlationId) An optional correlation ID for tracking the report in the reporter's system.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default CreateAbuseReportRequest.Builderreport(Consumer<ReportData.Builder> report) The abuse report data in XARF format.report(ReportData report) The abuse report data in XARF format.Methods inherited from interface software.amazon.awssdk.services.abusesignal.model.AbuseSignalRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
report
The abuse report data in XARF format. Provide the report under the
xarfkey.- Parameters:
report- The abuse report data in XARF format. Provide the report under thexarfkey.- 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
This is a convenience method that creates an instance of thexarfkey.ReportData.Builderavoiding the need to create one manually viaReportData.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toreport(ReportData).- Parameters:
report- a consumer that will call methods onReportData.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateAbuseReportRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-