Interface TestRepositoryTriggersResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CodeCommitResponse.Builder,CopyableBuilder<TestRepositoryTriggersResponse.Builder,TestRepositoryTriggersResponse>,SdkBuilder<TestRepositoryTriggersResponse.Builder,TestRepositoryTriggersResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- TestRepositoryTriggersResponse
public static interface TestRepositoryTriggersResponse.Builder extends CodeCommitResponse.Builder, SdkPojo, CopyableBuilder<TestRepositoryTriggersResponse.Builder,TestRepositoryTriggersResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TestRepositoryTriggersResponse.BuilderfailedExecutions(Collection<RepositoryTriggerExecutionFailure> failedExecutions)The list of triggers that were not tested.TestRepositoryTriggersResponse.BuilderfailedExecutions(Consumer<RepositoryTriggerExecutionFailure.Builder>... failedExecutions)The list of triggers that were not tested.TestRepositoryTriggersResponse.BuilderfailedExecutions(RepositoryTriggerExecutionFailure... failedExecutions)The list of triggers that were not tested.TestRepositoryTriggersResponse.BuildersuccessfulExecutions(String... successfulExecutions)The list of triggers that were successfully tested.TestRepositoryTriggersResponse.BuildersuccessfulExecutions(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 Detail
-
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
TestRepositoryTriggersResponse.Builder successfulExecutions(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.
-
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.Builderavoiding the need to create one manually viaRepositoryTriggerExecutionFailure.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#failedExecutions(List.) - 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:
#failedExecutions(java.util.Collection)
-
-