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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default InlineContent.BuilderbyteContent(Consumer<ByteContentDoc.Builder> byteContent)Contains information about content defined inline in bytes.InlineContent.BuilderbyteContent(ByteContentDoc byteContent)Contains information about content defined inline in bytes.default InlineContent.BuildertextContent(Consumer<TextContentDoc.Builder> textContent)Contains information about content defined inline in text.InlineContent.BuildertextContent(TextContentDoc textContent)Contains information about content defined inline in text.InlineContent.Buildertype(String type)The type of inline content to define.InlineContent.Buildertype(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 Detail
-
type
InlineContent.Builder type(String 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:
InlineContentType,InlineContentType
-
type
InlineContent.Builder type(InlineContentType 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:
InlineContentType,InlineContentType
-
byteContent
InlineContent.Builder byteContent(ByteContentDoc 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
default InlineContent.Builder byteContent(Consumer<ByteContentDoc.Builder> byteContent)
Contains information about content defined inline in bytes.
This is a convenience method that creates an instance of theByteContentDoc.Builderavoiding the need to create one manually viaByteContentDoc.builder().When the
Consumercompletes,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:
byteContent(ByteContentDoc)
-
textContent
InlineContent.Builder textContent(TextContentDoc 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
default InlineContent.Builder textContent(Consumer<TextContentDoc.Builder> textContent)
Contains information about content defined inline in text.
This is a convenience method that creates an instance of theTextContentDoc.Builderavoiding the need to create one manually viaTextContentDoc.builder().When the
Consumercompletes,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:
textContent(TextContentDoc)
-
-