Interface UpdateCodeReviewRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateCodeReviewRequest.Builder,,UpdateCodeReviewRequest> SdkBuilder<UpdateCodeReviewRequest.Builder,,UpdateCodeReviewRequest> SdkPojo,SdkRequest.Builder,SecurityAgentRequest.Builder
- Enclosing class:
UpdateCodeReviewRequest
-
Method Summary
Modifier and TypeMethodDescriptionagentSpaceId(String agentSpaceId) The unique identifier of the agent space that contains the code review.default UpdateCodeReviewRequest.Builderassets(Consumer<Assets.Builder> assets) The updated assets for the code review.The updated assets for the code review.codeRemediationStrategy(String codeRemediationStrategy) The updated code remediation strategy for the code review.codeRemediationStrategy(CodeRemediationStrategy codeRemediationStrategy) The updated code remediation strategy for the code review.codeReviewId(String codeReviewId) The unique identifier of the code review to update.default UpdateCodeReviewRequest.BuilderlogConfig(Consumer<CloudWatchLog.Builder> logConfig) The updated CloudWatch Logs configuration for the code review.logConfig(CloudWatchLog logConfig) The updated CloudWatch Logs configuration for the code review.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.serviceRole(String serviceRole) The updated IAM service role for the code review.The updated title of the code review.Methods 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
-
codeReviewId
The unique identifier of the code review to update.
- Parameters:
codeReviewId- The unique identifier of the code review to update.- 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 code review.
- Parameters:
agentSpaceId- The unique identifier of the agent space that contains the code review.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
title
The updated title of the code review.
- Parameters:
title- The updated title of the code review.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assets
The updated assets for the code review.
- Parameters:
assets- The updated assets for the code review.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assets
The updated assets for the code review.
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:
-
serviceRole
The updated IAM service role for the code review.
- Parameters:
serviceRole- The updated IAM service role for the code review.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logConfig
The updated CloudWatch Logs configuration for the code review.
- Parameters:
logConfig- The updated CloudWatch Logs configuration for the code review.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logConfig
The updated CloudWatch Logs configuration for the code review.
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:
-
codeRemediationStrategy
The updated code remediation strategy for the code review.
- Parameters:
codeRemediationStrategy- The updated code remediation strategy for the code review.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
codeRemediationStrategy
UpdateCodeReviewRequest.Builder codeRemediationStrategy(CodeRemediationStrategy codeRemediationStrategy) The updated code remediation strategy for the code review.
- Parameters:
codeRemediationStrategy- The updated code remediation strategy for the code review.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateCodeReviewRequest.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
UpdateCodeReviewRequest.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.
-