Interface Pentest.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Pentest.Builder,,Pentest> SdkBuilder<Pentest.Builder,,Pentest> SdkPojo
- Enclosing class:
Pentest
-
Method Summary
Modifier and TypeMethodDescriptionagentSpaceId(String agentSpaceId) ID of the agent space where the pentest existsdefault Pentest.Builderassets(Consumer<Assets.Builder> assets) Collection of assets to be tested or used during the pentestCollection of assets to be tested or used during the pentestcodeRemediationStrategy(String codeRemediationStrategy) Strategy for code remediation on findingscodeRemediationStrategy(CodeRemediationStrategy codeRemediationStrategy) Strategy for code remediation on findingsTimestamp when the pentest was createdexcludeRiskTypes(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 Pentest.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 Pentest.BuildernetworkTrafficConfig(Consumer<NetworkTrafficConfig.Builder> networkTrafficConfig) Configuration for network traffic filteringnetworkTrafficConfig(NetworkTrafficConfig networkTrafficConfig) Configuration for network traffic filteringUnique identifier for the pentestserviceRole(String serviceRole) Service role ARN for accessing customer resourcesTitle or name of the pentestTimestamp when the pentest was last updateddefault Pentest.BuildervpcConfig(Consumer<VpcConfig.Builder> vpcConfig) VPC configuration that the Security Agent accessesVPC configuration that the Security Agent accessesMethods 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
-
pentestId
Unique identifier for the pentest
- Parameters:
pentestId- Unique identifier for the pentest- 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
Title or name of the pentest
- Parameters:
title- Title or name of the pentest- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assets
Collection of assets to be tested or used during the pentest
- Parameters:
assets- Collection of assets to be tested or used during the pentest- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assets
Collection of assets to be tested or used during the pentest
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
Service role ARN for accessing customer resources
- Parameters:
serviceRole- 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 Pentest.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
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:
-
createdAt
Timestamp when the pentest was created
- Parameters:
createdAt- Timestamp when the pentest was created- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
Timestamp when the pentest was last updated
- Parameters:
updatedAt- Timestamp when the pentest was last updated- Returns:
- Returns a reference to this object so that method calls can be chained together.
-