Class AutomatedReasoningPolicyBuildWorkflowDocument
- java.lang.Object
-
- software.amazon.awssdk.services.bedrock.model.AutomatedReasoningPolicyBuildWorkflowDocument
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AutomatedReasoningPolicyBuildWorkflowDocument.Builder,AutomatedReasoningPolicyBuildWorkflowDocument>
@Generated("software.amazon.awssdk:codegen") public final class AutomatedReasoningPolicyBuildWorkflowDocument extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AutomatedReasoningPolicyBuildWorkflowDocument.Builder,AutomatedReasoningPolicyBuildWorkflowDocument>
Represents a source document used in the policy build workflow, containing the content and metadata needed for policy generation.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAutomatedReasoningPolicyBuildWorkflowDocument.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AutomatedReasoningPolicyBuildWorkflowDocument.Builderbuilder()SdkBytesdocument()The actual content of the source document that will be analyzed to extract policy rules and concepts.AutomatedReasoningPolicyBuildDocumentContentTypedocumentContentType()The MIME type of the document content (e.g., text/plain, application/pdf, text/markdown).StringdocumentContentTypeAsString()The MIME type of the document content (e.g., text/plain, application/pdf, text/markdown).StringdocumentDescription()A detailed description of the document's content and how it should be used in the policy generation process.StringdocumentName()A descriptive name for the document that helps identify its purpose and content.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 AutomatedReasoningPolicyBuildWorkflowDocument.Builder>serializableBuilderClass()AutomatedReasoningPolicyBuildWorkflowDocument.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 actual content of the source document that will be analyzed to extract policy rules and concepts.
- Returns:
- The actual content of the source document that will be analyzed to extract policy rules and concepts.
-
documentContentType
public final AutomatedReasoningPolicyBuildDocumentContentType documentContentType()
The MIME type of the document content (e.g., text/plain, application/pdf, text/markdown).
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 content (e.g., text/plain, application/pdf, text/markdown).
- See Also:
AutomatedReasoningPolicyBuildDocumentContentType
-
documentContentTypeAsString
public final String documentContentTypeAsString()
The MIME type of the document content (e.g., text/plain, application/pdf, text/markdown).
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 content (e.g., text/plain, application/pdf, text/markdown).
- See Also:
AutomatedReasoningPolicyBuildDocumentContentType
-
documentName
public final String documentName()
A descriptive name for the document that helps identify its purpose and content.
- Returns:
- A descriptive name for the document that helps identify its purpose and content.
-
documentDescription
public final String documentDescription()
A detailed description of the document's content and how it should be used in the policy generation process.
- Returns:
- A detailed description of the document's content and how it should be used in the policy generation process.
-
toBuilder
public AutomatedReasoningPolicyBuildWorkflowDocument.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AutomatedReasoningPolicyBuildWorkflowDocument.Builder,AutomatedReasoningPolicyBuildWorkflowDocument>
-
builder
public static AutomatedReasoningPolicyBuildWorkflowDocument.Builder builder()
-
serializableBuilderClass
public static Class<? extends AutomatedReasoningPolicyBuildWorkflowDocument.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
-
-