Interface JobAttachmentDetailsEntity.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<JobAttachmentDetailsEntity.Builder,
,JobAttachmentDetailsEntity> SdkBuilder<JobAttachmentDetailsEntity.Builder,
,JobAttachmentDetailsEntity> SdkPojo
- Enclosing class:
JobAttachmentDetailsEntity
@Mutable
@NotThreadSafe
public static interface JobAttachmentDetailsEntity.Builder
extends SdkPojo, CopyableBuilder<JobAttachmentDetailsEntity.Builder,JobAttachmentDetailsEntity>
-
Method Summary
Modifier and TypeMethodDescriptionattachments
(Consumer<Attachments.Builder> attachments) The job attachments.attachments
(Attachments attachments) The job attachments.The job ID.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, sdkFieldNameToField, sdkFields
-
Method Details
-
jobId
The job ID.
- Parameters:
jobId
- The job ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attachments
The job attachments.
- Parameters:
attachments
- The job attachments.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attachments
The job attachments.
This is a convenience method that creates an instance of theAttachments.Builder
avoiding the need to create one manually viaAttachments.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toattachments(Attachments)
.- Parameters:
attachments
- a consumer that will call methods onAttachments.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-