Interface CodeReview.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CodeReview.Builder,,CodeReview> SdkBuilder<CodeReview.Builder,,CodeReview> SdkPojo
- Enclosing class:
CodeReview
-
Method Summary
Modifier and TypeMethodDescriptionagentSpaceId(String agentSpaceId) The unique identifier of the agent space that contains the code review.default CodeReview.Builderassets(Consumer<Assets.Builder> assets) The assets included in the code review.The assets included in the code review.codeRemediationStrategy(String codeRemediationStrategy) The code remediation strategy for the code review.codeRemediationStrategy(CodeRemediationStrategy codeRemediationStrategy) The code remediation strategy for the code review.codeReviewId(String codeReviewId) The unique identifier of the code review.The date and time the code review was created, in UTC format.default CodeReview.BuilderlogConfig(Consumer<CloudWatchLog.Builder> logConfig) The CloudWatch Logs configuration for the code review.logConfig(CloudWatchLog logConfig) The CloudWatch Logs configuration for the code review.serviceRole(String serviceRole) The IAM service role used for the code review.The title of the code review.The date and time the code review was last updated, in UTC format.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
-
codeReviewId
The unique identifier of the code review.
- Parameters:
codeReviewId- The unique identifier of the code review.- 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 title of the code review.
- Parameters:
title- The title of the code review.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assets
The assets included in the code review.
- Parameters:
assets- The assets included in the code review.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assets
The assets included in 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 IAM service role used for the code review.
- Parameters:
serviceRole- The IAM service role used for the code review.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logConfig
The CloudWatch Logs configuration for the code review.
- Parameters:
logConfig- The CloudWatch Logs configuration for the code review.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logConfig
The 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 code remediation strategy for the code review.
- Parameters:
codeRemediationStrategy- The 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
The code remediation strategy for the code review.
- Parameters:
codeRemediationStrategy- The code remediation strategy for the code review.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdAt
The date and time the code review was created, in UTC format.
- Parameters:
createdAt- The date and time the code review 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 code review was last updated, in UTC format.
- Parameters:
updatedAt- The date and time the code review was last updated, in UTC format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-