Class ContentBody
- java.lang.Object
-
- software.amazon.awssdk.services.bedrockagentruntime.model.ContentBody
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<ContentBody.Builder,ContentBody>
@Generated("software.amazon.awssdk:codegen") public final class ContentBody extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ContentBody.Builder,ContentBody>
Contains the body of the API response.
This data type is used in the following API operations:
-
In the
returnControlInvocationResults
field of the InvokeAgent request
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
ContentBody.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
body()
The body of the API response.static ContentBody.Builder
builder()
boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
Map<String,SdkField<?>>
sdkFieldNameToField()
List<SdkField<?>>
sdkFields()
static Class<? extends ContentBody.Builder>
serializableBuilderClass()
ContentBody.Builder
toBuilder()
String
toString()
Returns a string representation of this object.-
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
-
body
public final String body()
The body of the API response.
- Returns:
- The body of the API response.
-
toBuilder
public ContentBody.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<ContentBody.Builder,ContentBody>
-
builder
public static ContentBody.Builder builder()
-
serializableBuilderClass
public static Class<? extends ContentBody.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in 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:
sdkFieldNameToField
in interfaceSdkPojo
-
-