Interface InlineMemoryContent.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<InlineMemoryContent.Builder,,InlineMemoryContent> SdkBuilder<InlineMemoryContent.Builder,,InlineMemoryContent> SdkPojo
- Enclosing class:
InlineMemoryContent
@Mutable
@NotThreadSafe
public static interface InlineMemoryContent.Builder
extends SdkPojo, CopyableBuilder<InlineMemoryContent.Builder,InlineMemoryContent>
-
Method Summary
Modifier and TypeMethodDescriptionpayload(Collection<IngestPayloadType> payload) The list of content payload items to ingest.payload(Consumer<IngestPayloadType.Builder>... payload) The list of content payload items to ingest.payload(IngestPayloadType... payload) The list of content payload items to ingest.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
-
payload
The list of content payload items to ingest.
- Parameters:
payload- The list of content payload items to ingest.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
payload
The list of content payload items to ingest.
- Parameters:
payload- The list of content payload items to ingest.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
payload
The list of content payload items to ingest.
This is a convenience method that creates an instance of theIngestPayloadType.Builderavoiding the need to create one manually viaIngestPayloadType.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topayload(List<IngestPayloadType>).- Parameters:
payload- a consumer that will call methods onIngestPayloadType.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-