Interface InlineCustomInstruction.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<InlineCustomInstruction.Builder,,InlineCustomInstruction> SdkBuilder<InlineCustomInstruction.Builder,,InlineCustomInstruction> SdkPojo
- Enclosing class:
InlineCustomInstruction
@Mutable
@NotThreadSafe
public static interface InlineCustomInstruction.Builder
extends SdkPojo, CopyableBuilder<InlineCustomInstruction.Builder,InlineCustomInstruction>
-
Method Summary
Modifier and TypeMethodDescriptioninstructionText(String instructionText) The instruction text content.default InlineCustomInstruction.BuilderuploadedDocumentMetadata(Consumer<UploadedDocumentMetadata.Builder> uploadedDocumentMetadata) Metadata about an uploaded document associated with this instruction.uploadedDocumentMetadata(UploadedDocumentMetadata uploadedDocumentMetadata) Metadata about an uploaded document associated with this instruction.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
-
instructionText
The instruction text content.
- Parameters:
instructionText- The instruction text content.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
uploadedDocumentMetadata
InlineCustomInstruction.Builder uploadedDocumentMetadata(UploadedDocumentMetadata uploadedDocumentMetadata) Metadata about an uploaded document associated with this instruction.
- Parameters:
uploadedDocumentMetadata- Metadata about an uploaded document associated with this instruction.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
uploadedDocumentMetadata
default InlineCustomInstruction.Builder uploadedDocumentMetadata(Consumer<UploadedDocumentMetadata.Builder> uploadedDocumentMetadata) Metadata about an uploaded document associated with this instruction.
This is a convenience method that creates an instance of theUploadedDocumentMetadata.Builderavoiding the need to create one manually viaUploadedDocumentMetadata.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed touploadedDocumentMetadata(UploadedDocumentMetadata).- Parameters:
uploadedDocumentMetadata- a consumer that will call methods onUploadedDocumentMetadata.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-