Interface CodeRemediationTask.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CodeRemediationTask.Builder,,CodeRemediationTask> SdkBuilder<CodeRemediationTask.Builder,,CodeRemediationTask> SdkPojo
- Enclosing class:
CodeRemediationTask
-
Method Summary
Modifier and TypeMethodDescriptionThe current status of the overall code remediation task.status(CodeRemediationTaskStatus status) The current status of the overall code remediation task.statusReason(String statusReason) The reason for the current status of the overall code remediation task.taskDetails(Collection<CodeRemediationTaskDetails> taskDetails) The list of details for a code remediation task, including repository names, status of code remediation for each associated repository, and generated code diff or pull request links.taskDetails(Consumer<CodeRemediationTaskDetails.Builder>... taskDetails) The list of details for a code remediation task, including repository names, status of code remediation for each associated repository, and generated code diff or pull request links.taskDetails(CodeRemediationTaskDetails... taskDetails) The list of details for a code remediation task, including repository names, status of code remediation for each associated repository, and generated code diff or pull request links.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
-
status
The current status of the overall code remediation task.
- Parameters:
status- The current status of the overall code remediation task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current status of the overall code remediation task.
- Parameters:
status- The current status of the overall code remediation task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
statusReason
The reason for the current status of the overall code remediation task.
- Parameters:
statusReason- The reason for the current status of the overall code remediation task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskDetails
The list of details for a code remediation task, including repository names, status of code remediation for each associated repository, and generated code diff or pull request links.
- Parameters:
taskDetails- The list of details for a code remediation task, including repository names, status of code remediation for each associated repository, and generated code diff or pull request links.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskDetails
The list of details for a code remediation task, including repository names, status of code remediation for each associated repository, and generated code diff or pull request links.
- Parameters:
taskDetails- The list of details for a code remediation task, including repository names, status of code remediation for each associated repository, and generated code diff or pull request links.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskDetails
CodeRemediationTask.Builder taskDetails(Consumer<CodeRemediationTaskDetails.Builder>... taskDetails) The list of details for a code remediation task, including repository names, status of code remediation for each associated repository, and generated code diff or pull request links.
This is a convenience method that creates an instance of theCodeRemediationTaskDetails.Builderavoiding the need to create one manually viaCodeRemediationTaskDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totaskDetails(List<CodeRemediationTaskDetails>).- Parameters:
taskDetails- a consumer that will call methods onCodeRemediationTaskDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-