Class AutomatedReasoningPolicySourceDocument
- java.lang.Object
-
- software.amazon.awssdk.services.bedrock.model.AutomatedReasoningPolicySourceDocument
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AutomatedReasoningPolicySourceDocument.Builder,AutomatedReasoningPolicySourceDocument>
@Generated("software.amazon.awssdk:codegen") public final class AutomatedReasoningPolicySourceDocument extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AutomatedReasoningPolicySourceDocument.Builder,AutomatedReasoningPolicySourceDocument>
Represents a source document that was processed during a build workflow. Contains the document content, metadata, and a hash for verification.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAutomatedReasoningPolicySourceDocument.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AutomatedReasoningPolicySourceDocument.Builderbuilder()SdkBytesdocument()The raw content of the source document as a binary blob.AutomatedReasoningPolicyBuildDocumentContentTypedocumentContentType()The MIME type of the document (e.g., application/pdf, text/plain).StringdocumentContentTypeAsString()The MIME type of the document (e.g., application/pdf, text/plain).StringdocumentDescription()An optional description providing context about the document's content and purpose.StringdocumentHash()A SHA-256 hash of the document content, used for verification and integrity checking.StringdocumentName()The name of the source document for identification purposes.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 AutomatedReasoningPolicySourceDocument.Builder>serializableBuilderClass()AutomatedReasoningPolicySourceDocument.BuildertoBuilder()StringtoString()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
-
document
public final SdkBytes document()
The raw content of the source document as a binary blob.
- Returns:
- The raw content of the source document as a binary blob.
-
documentContentType
public final AutomatedReasoningPolicyBuildDocumentContentType documentContentType()
The MIME type of the document (e.g., application/pdf, text/plain).
If the service returns an enum value that is not available in the current SDK version,
documentContentTypewill returnAutomatedReasoningPolicyBuildDocumentContentType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdocumentContentTypeAsString().- Returns:
- The MIME type of the document (e.g., application/pdf, text/plain).
- See Also:
AutomatedReasoningPolicyBuildDocumentContentType
-
documentContentTypeAsString
public final String documentContentTypeAsString()
The MIME type of the document (e.g., application/pdf, text/plain).
If the service returns an enum value that is not available in the current SDK version,
documentContentTypewill returnAutomatedReasoningPolicyBuildDocumentContentType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdocumentContentTypeAsString().- Returns:
- The MIME type of the document (e.g., application/pdf, text/plain).
- See Also:
AutomatedReasoningPolicyBuildDocumentContentType
-
documentName
public final String documentName()
The name of the source document for identification purposes.
- Returns:
- The name of the source document for identification purposes.
-
documentDescription
public final String documentDescription()
An optional description providing context about the document's content and purpose.
- Returns:
- An optional description providing context about the document's content and purpose.
-
documentHash
public final String documentHash()
A SHA-256 hash of the document content, used for verification and integrity checking.
- Returns:
- A SHA-256 hash of the document content, used for verification and integrity checking.
-
toBuilder
public AutomatedReasoningPolicySourceDocument.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AutomatedReasoningPolicySourceDocument.Builder,AutomatedReasoningPolicySourceDocument>
-
builder
public static AutomatedReasoningPolicySourceDocument.Builder builder()
-
serializableBuilderClass
public static Class<? extends AutomatedReasoningPolicySourceDocument.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
-
-