Interface GroupResult.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<GroupResult.Builder,,GroupResult> SdkBuilder<GroupResult.Builder,,GroupResult> SdkPojo
- Enclosing class:
GroupResult
@Mutable
@NotThreadSafe
public static interface GroupResult.Builder
extends SdkPojo, CopyableBuilder<GroupResult.Builder,GroupResult>
-
Method Summary
Modifier and TypeMethodDescriptionGroup result ID.Group Result Name.tests(Collection<TestCaseRun> tests) Tests under Group Result.tests(Consumer<TestCaseRun.Builder>... tests) Tests under Group Result.tests(TestCaseRun... tests) Tests under Group Result.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
-
groupId
Group result ID.
- Parameters:
groupId- Group result ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groupName
Group Result Name.
- Parameters:
groupName- Group Result Name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tests
Tests under Group Result.
- Parameters:
tests- Tests under Group Result.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tests
Tests under Group Result.
- Parameters:
tests- Tests under Group Result.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tests
Tests under Group Result.
This is a convenience method that creates an instance of theTestCaseRun.Builderavoiding the need to create one manually viaTestCaseRun.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totests(List<TestCaseRun>).- Parameters:
tests- a consumer that will call methods onTestCaseRun.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-