Class InlineContent
- java.lang.Object
-
- software.amazon.awssdk.services.bedrockagent.model.InlineContent
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<InlineContent.Builder,InlineContent>
@Generated("software.amazon.awssdk:codegen") public final class InlineContent extends Object implements SdkPojo, Serializable, ToCopyableBuilder<InlineContent.Builder,InlineContent>
Contains information about content defined inline to ingest into a data source. Choose a
typeand include the field that corresponds to it.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceInlineContent.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static InlineContent.Builderbuilder()ByteContentDocbyteContent()Contains information about content defined inline in bytes.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends InlineContent.Builder>serializableBuilderClass()TextContentDoctextContent()Contains information about content defined inline in text.InlineContent.BuildertoBuilder()StringtoString()Returns a string representation of this object.InlineContentTypetype()The type of inline content to define.StringtypeAsString()The type of inline content to define.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
type
public final InlineContentType type()
The type of inline content to define.
If the service returns an enum value that is not available in the current SDK version,
typewill returnInlineContentType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of inline content to define.
- See Also:
InlineContentType
-
typeAsString
public final String typeAsString()
The type of inline content to define.
If the service returns an enum value that is not available in the current SDK version,
typewill returnInlineContentType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of inline content to define.
- See Also:
InlineContentType
-
byteContent
public final ByteContentDoc byteContent()
Contains information about content defined inline in bytes.
- Returns:
- Contains information about content defined inline in bytes.
-
textContent
public final TextContentDoc textContent()
Contains information about content defined inline in text.
- Returns:
- Contains information about content defined inline in text.
-
toBuilder
public InlineContent.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<InlineContent.Builder,InlineContent>
-
builder
public static InlineContent.Builder builder()
-
serializableBuilderClass
public static Class<? extends InlineContent.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-