Interface InlineContent.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<InlineContent.Builder,
,InlineContent> SdkBuilder<InlineContent.Builder,
,InlineContent> SdkPojo
- Enclosing class:
InlineContent
@Mutable
@NotThreadSafe
public static interface InlineContent.Builder
extends SdkPojo, CopyableBuilder<InlineContent.Builder,InlineContent>
-
Method Summary
Modifier and TypeMethodDescriptiondefault InlineContent.Builder
byteContent
(Consumer<ByteContentDoc.Builder> byteContent) Contains information about content defined inline in bytes.byteContent
(ByteContentDoc byteContent) Contains information about content defined inline in bytes.default InlineContent.Builder
textContent
(Consumer<TextContentDoc.Builder> textContent) Contains information about content defined inline in text.textContent
(TextContentDoc textContent) Contains information about content defined inline in text.The type of inline content to define.type
(InlineContentType type) The type of inline content to define.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
-
byteContent
Contains information about content defined inline in bytes.
- Parameters:
byteContent
- Contains information about content defined inline in bytes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
byteContent
Contains information about content defined inline in bytes.
This is a convenience method that creates an instance of theByteContentDoc.Builder
avoiding the need to create one manually viaByteContentDoc.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tobyteContent(ByteContentDoc)
.- Parameters:
byteContent
- a consumer that will call methods onByteContentDoc.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
textContent
Contains information about content defined inline in text.
- Parameters:
textContent
- Contains information about content defined inline in text.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
textContent
Contains information about content defined inline in text.
This is a convenience method that creates an instance of theTextContentDoc.Builder
avoiding the need to create one manually viaTextContentDoc.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totextContent(TextContentDoc)
.- Parameters:
textContent
- a consumer that will call methods onTextContentDoc.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of inline content to define.
- Parameters:
type
- The type of inline content to define.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of inline content to define.
- Parameters:
type
- The type of inline content to define.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-