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) The unique identifier of the agent space that contains the pentest.default Pentest.Builderassets(Consumer<Assets.Builder> assets) The assets included in the pentest.The assets included in the pentest.codeRemediationStrategy(String codeRemediationStrategy) The code remediation strategy for the pentest.codeRemediationStrategy(CodeRemediationStrategy codeRemediationStrategy) The code remediation strategy for the pentest.The date and time the pentest was created, in UTC format.excludeRiskTypes(Collection<RiskType> excludeRiskTypes) The list of risk types excluded from the pentest.excludeRiskTypes(RiskType... excludeRiskTypes) The list of risk types excluded from the pentest.excludeRiskTypesWithStrings(String... excludeRiskTypes) The list of risk types excluded from the pentest.excludeRiskTypesWithStrings(Collection<String> excludeRiskTypes) The list of risk types excluded from the pentest.default Pentest.BuilderlogConfig(Consumer<CloudWatchLog.Builder> logConfig) The CloudWatch Logs configuration for the pentest.logConfig(CloudWatchLog logConfig) The CloudWatch Logs configuration for the pentest.default Pentest.BuildernetworkTrafficConfig(Consumer<NetworkTrafficConfig.Builder> networkTrafficConfig) The network traffic configuration for the pentest.networkTrafficConfig(NetworkTrafficConfig networkTrafficConfig) The network traffic configuration for the pentest.The unique identifier of the pentest.serviceRole(String serviceRole) The IAM service role used for the pentest.The title of the pentest.The date and time the pentest was last updated, in UTC format.default Pentest.BuildervpcConfig(Consumer<VpcConfig.Builder> vpcConfig) The VPC configuration for the pentest.The VPC configuration for the pentest.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
-
pentestId
The unique identifier of the pentest.
- Parameters:
pentestId- The unique identifier of the pentest.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentSpaceId
The unique identifier of the agent space that contains the pentest.
- Parameters:
agentSpaceId- The unique identifier of the agent space that contains the pentest.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
title
The title of the pentest.
- Parameters:
title- The title of the pentest.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assets
The assets included in the pentest.
- Parameters:
assets- The assets included in the pentest.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assets
The assets included in 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
The list of risk types excluded from the pentest.
- Parameters:
excludeRiskTypes- The list of risk types excluded from the pentest.- 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.
- Parameters:
excludeRiskTypes- The list of risk types excluded from the pentest.- 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.
- Parameters:
excludeRiskTypes- The list of risk types excluded from the pentest.- 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.
- Parameters:
excludeRiskTypes- The list of risk types excluded from the pentest.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceRole
The IAM service role used for the pentest.
- Parameters:
serviceRole- The IAM service role used for the pentest.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logConfig
The CloudWatch Logs configuration for the pentest.
- Parameters:
logConfig- The CloudWatch Logs configuration for the pentest.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logConfig
The CloudWatch Logs configuration for the pentest.
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.
- Parameters:
vpcConfig- The VPC configuration for the pentest.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcConfig
The VPC configuration for the pentest.
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.
- Parameters:
networkTrafficConfig- The network traffic configuration for the pentest.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkTrafficConfig
default Pentest.Builder networkTrafficConfig(Consumer<NetworkTrafficConfig.Builder> networkTrafficConfig) The network traffic configuration for the pentest.
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
The code remediation strategy for the pentest.
- Parameters:
codeRemediationStrategy- The code remediation strategy for the pentest.- 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.
- Parameters:
codeRemediationStrategy- The code remediation strategy for the pentest.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdAt
The date and time the pentest was created, in UTC format.
- Parameters:
createdAt- The date and time the pentest 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 was last updated, in UTC format.
- Parameters:
updatedAt- The date and time the pentest was last updated, in UTC format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-