Interface TestRepositoryTriggersResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CodeCommitResponse.Builder
,CopyableBuilder<TestRepositoryTriggersResponse.Builder,
,TestRepositoryTriggersResponse> SdkBuilder<TestRepositoryTriggersResponse.Builder,
,TestRepositoryTriggersResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
TestRepositoryTriggersResponse
-
Method Summary
Modifier and TypeMethodDescriptionfailedExecutions
(Collection<RepositoryTriggerExecutionFailure> failedExecutions) The list of triggers that were not tested.failedExecutions
(Consumer<RepositoryTriggerExecutionFailure.Builder>... failedExecutions) The list of triggers that were not tested.failedExecutions
(RepositoryTriggerExecutionFailure... failedExecutions) The list of triggers that were not tested.successfulExecutions
(String... successfulExecutions) The list of triggers that were successfully tested.successfulExecutions
(Collection<String> successfulExecutions) The list of triggers that were successfully tested.Methods inherited from interface software.amazon.awssdk.services.codecommit.model.CodeCommitResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
successfulExecutions
TestRepositoryTriggersResponse.Builder successfulExecutions(Collection<String> successfulExecutions) The list of triggers that were successfully tested. This list provides the names of the triggers that were successfully tested, separated by commas.
- Parameters:
successfulExecutions
- The list of triggers that were successfully tested. This list provides the names of the triggers that were successfully tested, separated by commas.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
successfulExecutions
The list of triggers that were successfully tested. This list provides the names of the triggers that were successfully tested, separated by commas.
- Parameters:
successfulExecutions
- The list of triggers that were successfully tested. This list provides the names of the triggers that were successfully tested, separated by commas.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failedExecutions
TestRepositoryTriggersResponse.Builder failedExecutions(Collection<RepositoryTriggerExecutionFailure> failedExecutions) The list of triggers that were not tested. This list provides the names of the triggers that could not be tested, separated by commas.
- Parameters:
failedExecutions
- The list of triggers that were not tested. This list provides the names of the triggers that could not be tested, separated by commas.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failedExecutions
TestRepositoryTriggersResponse.Builder failedExecutions(RepositoryTriggerExecutionFailure... failedExecutions) The list of triggers that were not tested. This list provides the names of the triggers that could not be tested, separated by commas.
- Parameters:
failedExecutions
- The list of triggers that were not tested. This list provides the names of the triggers that could not be tested, separated by commas.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failedExecutions
TestRepositoryTriggersResponse.Builder failedExecutions(Consumer<RepositoryTriggerExecutionFailure.Builder>... failedExecutions) The list of triggers that were not tested. This list provides the names of the triggers that could not be tested, separated by commas.
This is a convenience method that creates an instance of theRepositoryTriggerExecutionFailure.Builder
avoiding the need to create one manually viaRepositoryTriggerExecutionFailure.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofailedExecutions(List<RepositoryTriggerExecutionFailure>)
.- Parameters:
failedExecutions
- a consumer that will call methods onRepositoryTriggerExecutionFailure.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-