@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RetrieveAndGenerateConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Contains details about the resource being queried.
This data type is used in the following API operations:
RetrieveAndGenerate request – in the retrieveAndGenerateConfiguration
field
Constructor and Description |
---|
RetrieveAndGenerateConfiguration() |
Modifier and Type | Method and Description |
---|---|
RetrieveAndGenerateConfiguration |
clone() |
boolean |
equals(Object obj) |
ExternalSourcesRetrieveAndGenerateConfiguration |
getExternalSourcesConfiguration()
The configuration used with the external source wrapper object in the retrieveAndGenerate function.
|
KnowledgeBaseRetrieveAndGenerateConfiguration |
getKnowledgeBaseConfiguration()
Contains details about the resource being queried.
|
String |
getType()
The type of resource that is queried by the request.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setExternalSourcesConfiguration(ExternalSourcesRetrieveAndGenerateConfiguration externalSourcesConfiguration)
The configuration used with the external source wrapper object in the retrieveAndGenerate function.
|
void |
setKnowledgeBaseConfiguration(KnowledgeBaseRetrieveAndGenerateConfiguration knowledgeBaseConfiguration)
Contains details about the resource being queried.
|
void |
setType(String type)
The type of resource that is queried by the request.
|
String |
toString()
Returns a string representation of this object.
|
RetrieveAndGenerateConfiguration |
withExternalSourcesConfiguration(ExternalSourcesRetrieveAndGenerateConfiguration externalSourcesConfiguration)
The configuration used with the external source wrapper object in the retrieveAndGenerate function.
|
RetrieveAndGenerateConfiguration |
withKnowledgeBaseConfiguration(KnowledgeBaseRetrieveAndGenerateConfiguration knowledgeBaseConfiguration)
Contains details about the resource being queried.
|
RetrieveAndGenerateConfiguration |
withType(RetrieveAndGenerateType type)
The type of resource that is queried by the request.
|
RetrieveAndGenerateConfiguration |
withType(String type)
The type of resource that is queried by the request.
|
public void setExternalSourcesConfiguration(ExternalSourcesRetrieveAndGenerateConfiguration externalSourcesConfiguration)
The configuration used with the external source wrapper object in the retrieveAndGenerate function.
externalSourcesConfiguration
- The configuration used with the external source wrapper object in the retrieveAndGenerate function.public ExternalSourcesRetrieveAndGenerateConfiguration getExternalSourcesConfiguration()
The configuration used with the external source wrapper object in the retrieveAndGenerate function.
public RetrieveAndGenerateConfiguration withExternalSourcesConfiguration(ExternalSourcesRetrieveAndGenerateConfiguration externalSourcesConfiguration)
The configuration used with the external source wrapper object in the retrieveAndGenerate function.
externalSourcesConfiguration
- The configuration used with the external source wrapper object in the retrieveAndGenerate function.public void setKnowledgeBaseConfiguration(KnowledgeBaseRetrieveAndGenerateConfiguration knowledgeBaseConfiguration)
Contains details about the resource being queried.
knowledgeBaseConfiguration
- Contains details about the resource being queried.public KnowledgeBaseRetrieveAndGenerateConfiguration getKnowledgeBaseConfiguration()
Contains details about the resource being queried.
public RetrieveAndGenerateConfiguration withKnowledgeBaseConfiguration(KnowledgeBaseRetrieveAndGenerateConfiguration knowledgeBaseConfiguration)
Contains details about the resource being queried.
knowledgeBaseConfiguration
- Contains details about the resource being queried.public void setType(String type)
The type of resource that is queried by the request.
type
- The type of resource that is queried by the request.RetrieveAndGenerateType
public String getType()
The type of resource that is queried by the request.
RetrieveAndGenerateType
public RetrieveAndGenerateConfiguration withType(String type)
The type of resource that is queried by the request.
type
- The type of resource that is queried by the request.RetrieveAndGenerateType
public RetrieveAndGenerateConfiguration withType(RetrieveAndGenerateType type)
The type of resource that is queried by the request.
type
- The type of resource that is queried by the request.RetrieveAndGenerateType
public String toString()
toString
in class Object
Object.toString()
public RetrieveAndGenerateConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.