Interface BatchExportFindingsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<BatchExportFindingsRequest.Builder,,BatchExportFindingsRequest> SdkBuilder<BatchExportFindingsRequest.Builder,,BatchExportFindingsRequest> SdkPojo,SdkRequest.Builder,SecurityAgentRequest.Builder
- Enclosing class:
BatchExportFindingsRequest
-
Method Summary
Modifier and TypeMethodDescriptionagentSpaceId(String agentSpaceId) The identifier of the agent space where the job exists.codeReviewJobId(String codeReviewJobId) The identifier of the code review job.findingIds(String... findingIds) The identifiers of the findings to export.findingIds(Collection<String> findingIds) The identifiers of the findings to export.issueDestination(Consumer<IssueDestination.Builder> issueDestination) The destination issue-tracker project the findings are exported to.issueDestination(IssueDestination issueDestination) The destination issue-tracker project the findings are exported to.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.pentestJobId(String pentestJobId) The identifier of the penetration test job.Methods 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, sdkFieldsMethods inherited from interface software.amazon.awssdk.services.securityagent.model.SecurityAgentRequest.Builder
build
-
Method Details
-
agentSpaceId
The identifier of the agent space where the job exists.
- Parameters:
agentSpaceId- The identifier of the agent space where the job exists.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pentestJobId
The identifier of the penetration test job. This parameter is mutually exclusive with
codeReviewJobId.- Parameters:
pentestJobId- The identifier of the penetration test job. This parameter is mutually exclusive withcodeReviewJobId.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
codeReviewJobId
The identifier of the code review job. This parameter is mutually exclusive with
pentestJobId.- Parameters:
codeReviewJobId- The identifier of the code review job. This parameter is mutually exclusive withpentestJobId.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
issueDestination
The destination issue-tracker project the findings are exported to. Must be a connected capability of the agent space.
- Parameters:
issueDestination- The destination issue-tracker project the findings are exported to. Must be a connected capability of the agent space.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
issueDestination
default BatchExportFindingsRequest.Builder issueDestination(Consumer<IssueDestination.Builder> issueDestination) The destination issue-tracker project the findings are exported to. Must be a connected capability of the agent space.
This is a convenience method that creates an instance of theIssueDestination.Builderavoiding the need to create one manually viaIssueDestination.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toissueDestination(IssueDestination).- Parameters:
issueDestination- a consumer that will call methods onIssueDestination.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
findingIds
The identifiers of the findings to export. Each must belong to the specified job.
- Parameters:
findingIds- The identifiers of the findings to export. Each must belong to the specified job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
findingIds
The identifiers of the findings to export. Each must belong to the specified job.
- Parameters:
findingIds- The identifiers of the findings to export. Each must belong to the specified job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
BatchExportFindingsRequest.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
BatchExportFindingsRequest.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.
-