Interface Job.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Job.Builder,Job>,SdkBuilder<Job.Builder,Job>,SdkPojo
- Enclosing class:
- Job
public static interface Job.Builder extends SdkPojo, CopyableBuilder<Job.Builder,Job>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Job.Buildersteps(Collection<Step> steps)The execution steps for an execution job, for an Amplify app.Job.Buildersteps(Consumer<Step.Builder>... steps)The execution steps for an execution job, for an Amplify app.Job.Buildersteps(Step... steps)The execution steps for an execution job, for an Amplify app.default Job.Buildersummary(Consumer<JobSummary.Builder> summary)Describes the summary for an execution job for an Amplify app.Job.Buildersummary(JobSummary summary)Describes the summary for an execution job for an Amplify app.-
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 Detail
-
summary
Job.Builder summary(JobSummary summary)
Describes the summary for an execution job for an Amplify app.
- Parameters:
summary- Describes the summary for an execution job for an Amplify app.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
summary
default Job.Builder summary(Consumer<JobSummary.Builder> summary)
Describes the summary for an execution job for an Amplify app.
This is a convenience method that creates an instance of theJobSummary.Builderavoiding the need to create one manually viaJobSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosummary(JobSummary).- Parameters:
summary- a consumer that will call methods onJobSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
summary(JobSummary)
-
steps
Job.Builder steps(Collection<Step> steps)
The execution steps for an execution job, for an Amplify app.
- Parameters:
steps- The execution steps for an execution job, for an Amplify app.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
steps
Job.Builder steps(Step... steps)
The execution steps for an execution job, for an Amplify app.
- Parameters:
steps- The execution steps for an execution job, for an Amplify app.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
steps
Job.Builder steps(Consumer<Step.Builder>... steps)
The execution steps for an execution job, for an Amplify app.
This is a convenience method that creates an instance of theStep.Builderavoiding the need to create one manually viaStep.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#steps(List.) - Parameters:
steps- a consumer that will call methods onStep.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#steps(java.util.Collection)
-
-