Interface PentestJob.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<PentestJob.Builder,,PentestJob> SdkBuilder<PentestJob.Builder,,PentestJob> SdkPojo
- Enclosing class:
PentestJob
-
Method Summary
Modifier and TypeMethodDescriptionactors(Collection<Actor> actors) The list of actors used during the pentest job.actors(Consumer<Actor.Builder>... actors) The list of actors used during the pentest job.The list of actors used during the pentest job.allowedDomains(Collection<Endpoint> allowedDomains) The list of domains allowed during the pentest job.allowedDomains(Consumer<Endpoint.Builder>... allowedDomains) The list of domains allowed during the pentest job.allowedDomains(Endpoint... allowedDomains) The list of domains allowed during the pentest job.codeRemediationStrategy(String codeRemediationStrategy) The code remediation strategy for the pentest job.codeRemediationStrategy(CodeRemediationStrategy codeRemediationStrategy) The code remediation strategy for the pentest job.The date and time the pentest job was created, in UTC format.documents(Collection<DocumentInfo> documents) The list of documents providing context for the pentest job.documents(Consumer<DocumentInfo.Builder>... documents) The list of documents providing context for the pentest job.documents(DocumentInfo... documents) The list of documents providing context for the pentest job.endpoints(Collection<Endpoint> endpoints) The list of endpoints being tested in the pentest job.endpoints(Consumer<Endpoint.Builder>... endpoints) The list of endpoints being tested in the pentest job.The list of endpoints being tested in the pentest job.default PentestJob.BuildererrorInformation(Consumer<ErrorInformation.Builder> errorInformation) Error information if the pentest job encountered an error.errorInformation(ErrorInformation errorInformation) Error information if the pentest job encountered an error.excludePaths(Collection<Endpoint> excludePaths) The list of paths excluded from the pentest job.excludePaths(Consumer<Endpoint.Builder>... excludePaths) The list of paths excluded from the pentest job.excludePaths(Endpoint... excludePaths) The list of paths excluded from the pentest job.excludeRiskTypes(Collection<RiskType> excludeRiskTypes) The list of risk types excluded from the pentest job.excludeRiskTypes(RiskType... excludeRiskTypes) The list of risk types excluded from the pentest job.excludeRiskTypesWithStrings(String... excludeRiskTypes) The list of risk types excluded from the pentest job.excludeRiskTypesWithStrings(Collection<String> excludeRiskTypes) The list of risk types excluded from the pentest job.executionContext(Collection<ExecutionContext> executionContext) The execution context messages for the pentest job.executionContext(Consumer<ExecutionContext.Builder>... executionContext) The execution context messages for the pentest job.executionContext(ExecutionContext... executionContext) The execution context messages for the pentest job.integratedRepositories(Collection<IntegratedRepository> integratedRepositories) The list of integrated repositories associated with the pentest job.integratedRepositories(Consumer<IntegratedRepository.Builder>... integratedRepositories) The list of integrated repositories associated with the pentest job.integratedRepositories(IntegratedRepository... integratedRepositories) The list of integrated repositories associated with the pentest job.default PentestJob.BuilderlogConfig(Consumer<CloudWatchLog.Builder> logConfig) The CloudWatch Logs configuration for the pentest job.logConfig(CloudWatchLog logConfig) The CloudWatch Logs configuration for the pentest job.default PentestJob.BuildernetworkTrafficConfig(Consumer<NetworkTrafficConfig.Builder> networkTrafficConfig) The network traffic configuration for the pentest job.networkTrafficConfig(NetworkTrafficConfig networkTrafficConfig) The network traffic configuration for the pentest job.An overview of the pentest job results.The unique identifier of the pentest associated with the job.pentestJobId(String pentestJobId) The unique identifier of the pentest job.serviceRole(String serviceRole) The IAM service role used for the pentest job.sourceCode(Collection<SourceCodeRepository> sourceCode) The list of source code repositories analyzed during the pentest job.sourceCode(Consumer<SourceCodeRepository.Builder>... sourceCode) The list of source code repositories analyzed during the pentest job.sourceCode(SourceCodeRepository... sourceCode) The list of source code repositories analyzed during the pentest job.The current status of the pentest job.The current status of the pentest job.steps(Collection<Step> steps) The list of steps in the pentest job execution.steps(Consumer<Step.Builder>... steps) The list of steps in the pentest job execution.The list of steps in the pentest job execution.The title of the pentest job.The date and time the pentest job was last updated, in UTC format.default PentestJob.BuildervpcConfig(Consumer<VpcConfig.Builder> vpcConfig) The VPC configuration for the pentest job.The VPC configuration for the pentest job.Methods 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
-
pentestJobId
The unique identifier of the pentest job.
- Parameters:
pentestJobId- The unique identifier of the pentest job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pentestId
The unique identifier of the pentest associated with the job.
- Parameters:
pentestId- The unique identifier of the pentest associated with the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
title
The title of the pentest job.
- Parameters:
title- The title of the pentest job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overview
An overview of the pentest job results.
- Parameters:
overview- An overview of the pentest job results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The current status of the pentest job.
- Parameters:
status- The current status of the pentest job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current status of the pentest job.
- Parameters:
status- The current status of the pentest job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
endpoints
The list of endpoints being tested in the pentest job.
- Parameters:
endpoints- The list of endpoints being tested in the pentest job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpoints
The list of endpoints being tested in the pentest job.
- Parameters:
endpoints- The list of endpoints being tested in the pentest job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpoints
The list of endpoints being tested in the pentest job.
This is a convenience method that creates an instance of theEndpoint.Builderavoiding the need to create one manually viaEndpoint.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toendpoints(List<Endpoint>).- Parameters:
endpoints- a consumer that will call methods onEndpoint.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
actors
The list of actors used during the pentest job.
- Parameters:
actors- The list of actors used during the pentest job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actors
The list of actors used during the pentest job.
- Parameters:
actors- The list of actors used during the pentest job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actors
The list of actors used during the pentest job.
This is a convenience method that creates an instance of theActor.Builderavoiding the need to create one manually viaActor.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toactors(List<Actor>).- Parameters:
actors- a consumer that will call methods onActor.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
documents
The list of documents providing context for the pentest job.
- Parameters:
documents- The list of documents providing context for the pentest job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
documents
The list of documents providing context for the pentest job.
- Parameters:
documents- The list of documents providing context for the pentest job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
documents
The list of documents providing context for the pentest job.
This is a convenience method that creates an instance of theDocumentInfo.Builderavoiding the need to create one manually viaDocumentInfo.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todocuments(List<DocumentInfo>).- Parameters:
documents- a consumer that will call methods onDocumentInfo.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sourceCode
The list of source code repositories analyzed during the pentest job.
- Parameters:
sourceCode- The list of source code repositories analyzed during the pentest job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceCode
The list of source code repositories analyzed during the pentest job.
- Parameters:
sourceCode- The list of source code repositories analyzed during the pentest job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceCode
The list of source code repositories analyzed during the pentest job.
This is a convenience method that creates an instance of theSourceCodeRepository.Builderavoiding the need to create one manually viaSourceCodeRepository.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosourceCode(List<SourceCodeRepository>).- Parameters:
sourceCode- a consumer that will call methods onSourceCodeRepository.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
excludePaths
The list of paths excluded from the pentest job.
- Parameters:
excludePaths- The list of paths excluded from the pentest job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
excludePaths
The list of paths excluded from the pentest job.
- Parameters:
excludePaths- The list of paths excluded from the pentest job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
excludePaths
The list of paths excluded from the pentest job.
This is a convenience method that creates an instance of theEndpoint.Builderavoiding the need to create one manually viaEndpoint.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toexcludePaths(List<Endpoint>).- Parameters:
excludePaths- a consumer that will call methods onEndpoint.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
allowedDomains
The list of domains allowed during the pentest job.
- Parameters:
allowedDomains- The list of domains allowed during the pentest job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allowedDomains
The list of domains allowed during the pentest job.
- Parameters:
allowedDomains- The list of domains allowed during the pentest job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allowedDomains
The list of domains allowed during the pentest job.
This is a convenience method that creates an instance of theEndpoint.Builderavoiding the need to create one manually viaEndpoint.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toallowedDomains(List<Endpoint>).- Parameters:
allowedDomains- a consumer that will call methods onEndpoint.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
excludeRiskTypesWithStrings
The list of risk types excluded from the pentest job.
- Parameters:
excludeRiskTypes- The list of risk types excluded from the pentest job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
excludeRiskTypesWithStrings
The list of risk types excluded from the pentest job.
- Parameters:
excludeRiskTypes- The list of risk types excluded from the pentest job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
excludeRiskTypes
The list of risk types excluded from the pentest job.
- Parameters:
excludeRiskTypes- The list of risk types excluded from the pentest job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
excludeRiskTypes
The list of risk types excluded from the pentest job.
- Parameters:
excludeRiskTypes- The list of risk types excluded from the pentest job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
steps
The list of steps in the pentest job execution.
- Parameters:
steps- The list of steps in the pentest job execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
steps
The list of steps in the pentest job execution.
- Parameters:
steps- The list of steps in the pentest job execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
steps
The list of steps in the pentest job execution.
This is a convenience method that creates an instance of theStep.Builderavoiding the need to create one manually viaStep.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosteps(List<Step>).- Parameters:
steps- a consumer that will call methods onStep.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
executionContext
The execution context messages for the pentest job.
- Parameters:
executionContext- The execution context messages for the pentest job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
executionContext
The execution context messages for the pentest job.
- Parameters:
executionContext- The execution context messages for the pentest job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
executionContext
The execution context messages for the pentest job.
This is a convenience method that creates an instance of theExecutionContext.Builderavoiding the need to create one manually viaExecutionContext.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toexecutionContext(List<ExecutionContext>).- Parameters:
executionContext- a consumer that will call methods onExecutionContext.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
serviceRole
The IAM service role used for the pentest job.
- Parameters:
serviceRole- The IAM service role used for the pentest job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logConfig
The CloudWatch Logs configuration for the pentest job.
- Parameters:
logConfig- The CloudWatch Logs configuration for the pentest job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logConfig
The CloudWatch Logs configuration for the pentest job.
This is a convenience method that creates an instance of theCloudWatchLog.Builderavoiding the need to create one manually viaCloudWatchLog.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tologConfig(CloudWatchLog).- Parameters:
logConfig- a consumer that will call methods onCloudWatchLog.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
vpcConfig
The VPC configuration for the pentest job.
- Parameters:
vpcConfig- The VPC configuration for the pentest job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcConfig
The VPC configuration for the pentest job.
This is a convenience method that creates an instance of theVpcConfig.Builderavoiding the need to create one manually viaVpcConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovpcConfig(VpcConfig).- Parameters:
vpcConfig- a consumer that will call methods onVpcConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
networkTrafficConfig
The network traffic configuration for the pentest job.
- Parameters:
networkTrafficConfig- The network traffic configuration for the pentest job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkTrafficConfig
default PentestJob.Builder networkTrafficConfig(Consumer<NetworkTrafficConfig.Builder> networkTrafficConfig) The network traffic configuration for the pentest job.
This is a convenience method that creates an instance of theNetworkTrafficConfig.Builderavoiding the need to create one manually viaNetworkTrafficConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tonetworkTrafficConfig(NetworkTrafficConfig).- Parameters:
networkTrafficConfig- a consumer that will call methods onNetworkTrafficConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
errorInformation
Error information if the pentest job encountered an error.
- Parameters:
errorInformation- Error information if the pentest job encountered an error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorInformation
Error information if the pentest job encountered an error.
This is a convenience method that creates an instance of theErrorInformation.Builderavoiding the need to create one manually viaErrorInformation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toerrorInformation(ErrorInformation).- Parameters:
errorInformation- a consumer that will call methods onErrorInformation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
integratedRepositories
The list of integrated repositories associated with the pentest job.
- Parameters:
integratedRepositories- The list of integrated repositories associated with the pentest job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
integratedRepositories
The list of integrated repositories associated with the pentest job.
- Parameters:
integratedRepositories- The list of integrated repositories associated with the pentest job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
integratedRepositories
PentestJob.Builder integratedRepositories(Consumer<IntegratedRepository.Builder>... integratedRepositories) The list of integrated repositories associated with the pentest job.
This is a convenience method that creates an instance of theIntegratedRepository.Builderavoiding the need to create one manually viaIntegratedRepository.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tointegratedRepositories(List<IntegratedRepository>).- Parameters:
integratedRepositories- a consumer that will call methods onIntegratedRepository.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
codeRemediationStrategy
The code remediation strategy for the pentest job.
- Parameters:
codeRemediationStrategy- The code remediation strategy for the pentest job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
codeRemediationStrategy
The code remediation strategy for the pentest job.
- Parameters:
codeRemediationStrategy- The code remediation strategy for the pentest job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdAt
The date and time the pentest job was created, in UTC format.
- Parameters:
createdAt- The date and time the pentest job was created, in UTC format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
The date and time the pentest job was last updated, in UTC format.
- Parameters:
updatedAt- The date and time the pentest job was last updated, in UTC format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-