Interface UpdatePentestResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<UpdatePentestResponse.Builder,,UpdatePentestResponse> SdkBuilder<UpdatePentestResponse.Builder,,UpdatePentestResponse> SdkPojo,SdkResponse.Builder,SecurityAgentResponse.Builder
- Enclosing class:
UpdatePentestResponse
-
Method Summary
Modifier and TypeMethodDescriptionagentSpaceId(String agentSpaceId) ID of the agent space where the pentest existsdefault UpdatePentestResponse.Builderassets(Consumer<Assets.Builder> assets) Assets to be tested in the updated pentestAssets to be tested in the updated pentestTimestamp 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 UpdatePentestResponse.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 storedUnique identifier of the updated pentestserviceRole(String serviceRole) Service role ARN for accessing customer resourcesTitle of the updated pentestTimestamp when the pentest was last updatedMethods 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.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.securityagent.model.SecurityAgentResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
pentestId
Unique identifier of the updated pentest
- Parameters:
pentestId- Unique identifier of the updated pentest- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
title
Title of the updated pentest
- Parameters:
title- Title of the updated pentest- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-
assets
Assets to be tested in the updated pentest
- Parameters:
assets- Assets to be tested in the updated pentest- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assets
Assets to be tested in the updated 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:
-
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.
-