Interface JobNodeDetails.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<JobNodeDetails.Builder,
,JobNodeDetails> SdkBuilder<JobNodeDetails.Builder,
,JobNodeDetails> SdkPojo
- Enclosing class:
JobNodeDetails
public static interface JobNodeDetails.Builder
extends SdkPojo, CopyableBuilder<JobNodeDetails.Builder,JobNodeDetails>
-
Method Summary
Modifier and TypeMethodDescriptionjobRuns
(Collection<JobRun> jobRuns) The information for the job runs represented by the job node.jobRuns
(Consumer<JobRun.Builder>... jobRuns) The information for the job runs represented by the job node.The information for the job runs represented by the job node.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
-
Method Details
-
jobRuns
The information for the job runs represented by the job node.
- Parameters:
jobRuns
- The information for the job runs represented by the job node.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobRuns
The information for the job runs represented by the job node.
- Parameters:
jobRuns
- The information for the job runs represented by the job node.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobRuns
The information for the job runs represented by the job node.
This is a convenience method that creates an instance of theJobRun.Builder
avoiding the need to create one manually viaJobRun.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tojobRuns(List<JobRun>)
.- Parameters:
jobRuns
- a consumer that will call methods onJobRun.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-