Interface JobEntity.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<JobEntity.Builder,JobEntity>,SdkBuilder<JobEntity.Builder,JobEntity>,SdkPojo
- Enclosing class:
- JobEntity
public static interface JobEntity.Builder extends SdkPojo, CopyableBuilder<JobEntity.Builder,JobEntity>
-
-
Method Summary
-
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
-
environmentDetails
JobEntity.Builder environmentDetails(EnvironmentDetailsEntity environmentDetails)
The environment details for the job entity.
- Parameters:
environmentDetails- The environment details for the job entity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
environmentDetails
default JobEntity.Builder environmentDetails(Consumer<EnvironmentDetailsEntity.Builder> environmentDetails)
The environment details for the job entity.
This is a convenience method that creates an instance of theEnvironmentDetailsEntity.Builderavoiding the need to create one manually viaEnvironmentDetailsEntity.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toenvironmentDetails(EnvironmentDetailsEntity).- Parameters:
environmentDetails- a consumer that will call methods onEnvironmentDetailsEntity.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
environmentDetails(EnvironmentDetailsEntity)
-
jobAttachmentDetails
JobEntity.Builder jobAttachmentDetails(JobAttachmentDetailsEntity jobAttachmentDetails)
The job attachment details.
- Parameters:
jobAttachmentDetails- The job attachment details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobAttachmentDetails
default JobEntity.Builder jobAttachmentDetails(Consumer<JobAttachmentDetailsEntity.Builder> jobAttachmentDetails)
The job attachment details.
This is a convenience method that creates an instance of theJobAttachmentDetailsEntity.Builderavoiding the need to create one manually viaJobAttachmentDetailsEntity.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tojobAttachmentDetails(JobAttachmentDetailsEntity).- Parameters:
jobAttachmentDetails- a consumer that will call methods onJobAttachmentDetailsEntity.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
jobAttachmentDetails(JobAttachmentDetailsEntity)
-
jobDetails
JobEntity.Builder jobDetails(JobDetailsEntity jobDetails)
The job details.
- Parameters:
jobDetails- The job details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobDetails
default JobEntity.Builder jobDetails(Consumer<JobDetailsEntity.Builder> jobDetails)
The job details.
This is a convenience method that creates an instance of theJobDetailsEntity.Builderavoiding the need to create one manually viaJobDetailsEntity.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tojobDetails(JobDetailsEntity).- Parameters:
jobDetails- a consumer that will call methods onJobDetailsEntity.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
jobDetails(JobDetailsEntity)
-
stepDetails
JobEntity.Builder stepDetails(StepDetailsEntity stepDetails)
The step details.
- Parameters:
stepDetails- The step details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stepDetails
default JobEntity.Builder stepDetails(Consumer<StepDetailsEntity.Builder> stepDetails)
The step details.
This is a convenience method that creates an instance of theStepDetailsEntity.Builderavoiding the need to create one manually viaStepDetailsEntity.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostepDetails(StepDetailsEntity).- Parameters:
stepDetails- a consumer that will call methods onStepDetailsEntity.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
stepDetails(StepDetailsEntity)
-
-