Interface UpdatePentestRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdatePentestRequest.Builder,,UpdatePentestRequest> SdkBuilder<UpdatePentestRequest.Builder,,UpdatePentestRequest> SdkPojo,SdkRequest.Builder,SecurityAgentRequest.Builder
- Enclosing class:
UpdatePentestRequest
-
Method Summary
Modifier and TypeMethodDescriptionagentSpaceId(String agentSpaceId) ID of the agent space where the pentest existsdefault UpdatePentestRequest.Builderassets(Consumer<Assets.Builder> assets) Updated assets to be testedUpdated assets to be testedcodeRemediationStrategy(String codeRemediationStrategy) Strategy for code remediation on findingscodeRemediationStrategy(CodeRemediationStrategy codeRemediationStrategy) Strategy for code remediation on findingsexcludeRiskTypes(Collection<RiskType> excludeRiskTypes) A list of risk types excluded from the pentest executionexcludeRiskTypes(RiskType... excludeRiskTypes) A list of risk types excluded from the pentest executionexcludeRiskTypesWithStrings(String... excludeRiskTypes) A list of risk types excluded from the pentest executionexcludeRiskTypesWithStrings(Collection<String> excludeRiskTypes) A list of risk types excluded from the pentest executiondefault UpdatePentestRequest.BuilderlogConfig(Consumer<CloudWatchLog.Builder> logConfig) CloudWatch log group and stream prefix where pentest execution logs are storedlogConfig(CloudWatchLog logConfig) CloudWatch log group and stream prefix where pentest execution logs are storeddefault UpdatePentestRequest.BuildernetworkTrafficConfig(Consumer<NetworkTrafficConfig.Builder> networkTrafficConfig) Configuration for network traffic filteringnetworkTrafficConfig(NetworkTrafficConfig networkTrafficConfig) Configuration for network traffic filteringoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Identifier of the pentest to updateserviceRole(String serviceRole) Updated service role ARN for accessing customer resourcesNew title for the pentestdefault UpdatePentestRequest.BuildervpcConfig(Consumer<VpcConfig.Builder> vpcConfig) VPC configuration that the Security Agent accessesVPC configuration that the Security Agent accessesMethods 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
-
pentestId
Identifier of the pentest to update
- Parameters:
pentestId- Identifier of the pentest to update- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentSpaceId
ID of the agent space where the pentest exists
- Parameters:
agentSpaceId- ID of the agent space where the pentest exists- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
title
New title for the pentest
- Parameters:
title- New title for the pentest- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assets
Updated assets to be tested
- Parameters:
assets- Updated assets to be tested- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assets
Updated assets to be tested
This is a convenience method that creates an instance of theAssets.Builderavoiding the need to create one manually viaAssets.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toassets(Assets).- Parameters:
assets- a consumer that will call methods onAssets.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
excludeRiskTypesWithStrings
A list of risk types excluded from the pentest execution
- Parameters:
excludeRiskTypes- A list of risk types excluded from the pentest execution- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
excludeRiskTypesWithStrings
A list of risk types excluded from the pentest execution
- Parameters:
excludeRiskTypes- A list of risk types excluded from the pentest execution- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
excludeRiskTypes
A list of risk types excluded from the pentest execution
- Parameters:
excludeRiskTypes- A list of risk types excluded from the pentest execution- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
excludeRiskTypes
A list of risk types excluded from the pentest execution
- Parameters:
excludeRiskTypes- A list of risk types excluded from the pentest execution- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceRole
Updated service role ARN for accessing customer resources
- Parameters:
serviceRole- Updated service role ARN for accessing customer resources- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logConfig
CloudWatch log group and stream prefix where pentest execution logs are stored
- Parameters:
logConfig- CloudWatch log group and stream prefix where pentest execution logs are stored- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logConfig
CloudWatch log group and stream prefix where pentest execution logs are stored
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
VPC configuration that the Security Agent accesses
- Parameters:
vpcConfig- VPC configuration that the Security Agent accesses- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcConfig
VPC configuration that the Security Agent accesses
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
Configuration for network traffic filtering
- Parameters:
networkTrafficConfig- Configuration for network traffic filtering- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkTrafficConfig
default UpdatePentestRequest.Builder networkTrafficConfig(Consumer<NetworkTrafficConfig.Builder> networkTrafficConfig) Configuration for network traffic filtering
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:
-
codeRemediationStrategy
Strategy for code remediation on findings
- Parameters:
codeRemediationStrategy- Strategy for code remediation on findings- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
codeRemediationStrategy
UpdatePentestRequest.Builder codeRemediationStrategy(CodeRemediationStrategy codeRemediationStrategy) Strategy for code remediation on findings
- Parameters:
codeRemediationStrategy- Strategy for code remediation on findings- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdatePentestRequest.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
UpdatePentestRequest.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.
-