@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BedrockFoundationModelConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Settings for a foundation model used to parse documents for a data source.
Constructor and Description |
---|
BedrockFoundationModelConfiguration() |
Modifier and Type | Method and Description |
---|---|
BedrockFoundationModelConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getModelArn()
The model's ARN.
|
ParsingPrompt |
getParsingPrompt()
Instructions for interpreting the contents of a document.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setModelArn(String modelArn)
The model's ARN.
|
void |
setParsingPrompt(ParsingPrompt parsingPrompt)
Instructions for interpreting the contents of a document.
|
String |
toString()
Returns a string representation of this object.
|
BedrockFoundationModelConfiguration |
withModelArn(String modelArn)
The model's ARN.
|
BedrockFoundationModelConfiguration |
withParsingPrompt(ParsingPrompt parsingPrompt)
Instructions for interpreting the contents of a document.
|
public void setModelArn(String modelArn)
The model's ARN.
modelArn
- The model's ARN.public String getModelArn()
The model's ARN.
public BedrockFoundationModelConfiguration withModelArn(String modelArn)
The model's ARN.
modelArn
- The model's ARN.public void setParsingPrompt(ParsingPrompt parsingPrompt)
Instructions for interpreting the contents of a document.
parsingPrompt
- Instructions for interpreting the contents of a document.public ParsingPrompt getParsingPrompt()
Instructions for interpreting the contents of a document.
public BedrockFoundationModelConfiguration withParsingPrompt(ParsingPrompt parsingPrompt)
Instructions for interpreting the contents of a document.
parsingPrompt
- Instructions for interpreting the contents of a document.public String toString()
toString
in class Object
Object.toString()
public BedrockFoundationModelConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.