@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ExternalSourcesRetrieveAndGenerateConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
The configurations of the external source wrapper object in the retrieveAndGenerate function.
Constructor and Description |
---|
ExternalSourcesRetrieveAndGenerateConfiguration() |
Modifier and Type | Method and Description |
---|---|
ExternalSourcesRetrieveAndGenerateConfiguration |
clone() |
boolean |
equals(Object obj) |
ExternalSourcesGenerationConfiguration |
getGenerationConfiguration()
The prompt used with the external source wrapper object with the retrieveAndGenerate function.
|
String |
getModelArn()
The modelArn used with the external source wrapper object in the retrieveAndGenerate function.
|
List<ExternalSource> |
getSources()
The document used with the external source wrapper object in the retrieveAndGenerate function.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setGenerationConfiguration(ExternalSourcesGenerationConfiguration generationConfiguration)
The prompt used with the external source wrapper object with the retrieveAndGenerate function.
|
void |
setModelArn(String modelArn)
The modelArn used with the external source wrapper object in the retrieveAndGenerate function.
|
void |
setSources(Collection<ExternalSource> sources)
The document used with the external source wrapper object in the retrieveAndGenerate function.
|
String |
toString()
Returns a string representation of this object.
|
ExternalSourcesRetrieveAndGenerateConfiguration |
withGenerationConfiguration(ExternalSourcesGenerationConfiguration generationConfiguration)
The prompt used with the external source wrapper object with the retrieveAndGenerate function.
|
ExternalSourcesRetrieveAndGenerateConfiguration |
withModelArn(String modelArn)
The modelArn used with the external source wrapper object in the retrieveAndGenerate function.
|
ExternalSourcesRetrieveAndGenerateConfiguration |
withSources(Collection<ExternalSource> sources)
The document used with the external source wrapper object in the retrieveAndGenerate function.
|
ExternalSourcesRetrieveAndGenerateConfiguration |
withSources(ExternalSource... sources)
The document used with the external source wrapper object in the retrieveAndGenerate function.
|
public ExternalSourcesRetrieveAndGenerateConfiguration()
public void setGenerationConfiguration(ExternalSourcesGenerationConfiguration generationConfiguration)
The prompt used with the external source wrapper object with the retrieveAndGenerate function.
generationConfiguration
- The prompt used with the external source wrapper object with the retrieveAndGenerate function.public ExternalSourcesGenerationConfiguration getGenerationConfiguration()
The prompt used with the external source wrapper object with the retrieveAndGenerate function.
public ExternalSourcesRetrieveAndGenerateConfiguration withGenerationConfiguration(ExternalSourcesGenerationConfiguration generationConfiguration)
The prompt used with the external source wrapper object with the retrieveAndGenerate function.
generationConfiguration
- The prompt used with the external source wrapper object with the retrieveAndGenerate function.public void setModelArn(String modelArn)
The modelArn used with the external source wrapper object in the retrieveAndGenerate function.
modelArn
- The modelArn used with the external source wrapper object in the retrieveAndGenerate function.public String getModelArn()
The modelArn used with the external source wrapper object in the retrieveAndGenerate function.
public ExternalSourcesRetrieveAndGenerateConfiguration withModelArn(String modelArn)
The modelArn used with the external source wrapper object in the retrieveAndGenerate function.
modelArn
- The modelArn used with the external source wrapper object in the retrieveAndGenerate function.public List<ExternalSource> getSources()
The document used with the external source wrapper object in the retrieveAndGenerate function.
public void setSources(Collection<ExternalSource> sources)
The document used with the external source wrapper object in the retrieveAndGenerate function.
sources
- The document used with the external source wrapper object in the retrieveAndGenerate function.public ExternalSourcesRetrieveAndGenerateConfiguration withSources(ExternalSource... sources)
The document used with the external source wrapper object in the retrieveAndGenerate function.
NOTE: This method appends the values to the existing list (if any). Use
setSources(java.util.Collection)
or withSources(java.util.Collection)
if you want to override
the existing values.
sources
- The document used with the external source wrapper object in the retrieveAndGenerate function.public ExternalSourcesRetrieveAndGenerateConfiguration withSources(Collection<ExternalSource> sources)
The document used with the external source wrapper object in the retrieveAndGenerate function.
sources
- The document used with the external source wrapper object in the retrieveAndGenerate function.public String toString()
toString
in class Object
Object.toString()
public ExternalSourcesRetrieveAndGenerateConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.