@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RetrievalResultLocation extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about the data source location.
This data type is used in the following API operations:
Retrieve response – in the location field
RetrieveAndGenerate response – in the location field
InvokeAgent response – in the locatino field
| Constructor and Description |
|---|
RetrievalResultLocation() |
| Modifier and Type | Method and Description |
|---|---|
RetrievalResultLocation |
clone() |
boolean |
equals(Object obj) |
RetrievalResultConfluenceLocation |
getConfluenceLocation()
The Confluence data source location.
|
RetrievalResultS3Location |
getS3Location()
The S3 data source location.
|
RetrievalResultSalesforceLocation |
getSalesforceLocation()
The Salesforce data source location.
|
RetrievalResultSharePointLocation |
getSharePointLocation()
The SharePoint data source location.
|
String |
getType()
The type of data source location.
|
RetrievalResultWebLocation |
getWebLocation()
The web URL/URLs data source location.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setConfluenceLocation(RetrievalResultConfluenceLocation confluenceLocation)
The Confluence data source location.
|
void |
setS3Location(RetrievalResultS3Location s3Location)
The S3 data source location.
|
void |
setSalesforceLocation(RetrievalResultSalesforceLocation salesforceLocation)
The Salesforce data source location.
|
void |
setSharePointLocation(RetrievalResultSharePointLocation sharePointLocation)
The SharePoint data source location.
|
void |
setType(String type)
The type of data source location.
|
void |
setWebLocation(RetrievalResultWebLocation webLocation)
The web URL/URLs data source location.
|
String |
toString()
Returns a string representation of this object.
|
RetrievalResultLocation |
withConfluenceLocation(RetrievalResultConfluenceLocation confluenceLocation)
The Confluence data source location.
|
RetrievalResultLocation |
withS3Location(RetrievalResultS3Location s3Location)
The S3 data source location.
|
RetrievalResultLocation |
withSalesforceLocation(RetrievalResultSalesforceLocation salesforceLocation)
The Salesforce data source location.
|
RetrievalResultLocation |
withSharePointLocation(RetrievalResultSharePointLocation sharePointLocation)
The SharePoint data source location.
|
RetrievalResultLocation |
withType(RetrievalResultLocationType type)
The type of data source location.
|
RetrievalResultLocation |
withType(String type)
The type of data source location.
|
RetrievalResultLocation |
withWebLocation(RetrievalResultWebLocation webLocation)
The web URL/URLs data source location.
|
public void setConfluenceLocation(RetrievalResultConfluenceLocation confluenceLocation)
The Confluence data source location.
confluenceLocation - The Confluence data source location.public RetrievalResultConfluenceLocation getConfluenceLocation()
The Confluence data source location.
public RetrievalResultLocation withConfluenceLocation(RetrievalResultConfluenceLocation confluenceLocation)
The Confluence data source location.
confluenceLocation - The Confluence data source location.public void setS3Location(RetrievalResultS3Location s3Location)
The S3 data source location.
s3Location - The S3 data source location.public RetrievalResultS3Location getS3Location()
The S3 data source location.
public RetrievalResultLocation withS3Location(RetrievalResultS3Location s3Location)
The S3 data source location.
s3Location - The S3 data source location.public void setSalesforceLocation(RetrievalResultSalesforceLocation salesforceLocation)
The Salesforce data source location.
salesforceLocation - The Salesforce data source location.public RetrievalResultSalesforceLocation getSalesforceLocation()
The Salesforce data source location.
public RetrievalResultLocation withSalesforceLocation(RetrievalResultSalesforceLocation salesforceLocation)
The Salesforce data source location.
salesforceLocation - The Salesforce data source location.public void setSharePointLocation(RetrievalResultSharePointLocation sharePointLocation)
The SharePoint data source location.
sharePointLocation - The SharePoint data source location.public RetrievalResultSharePointLocation getSharePointLocation()
The SharePoint data source location.
public RetrievalResultLocation withSharePointLocation(RetrievalResultSharePointLocation sharePointLocation)
The SharePoint data source location.
sharePointLocation - The SharePoint data source location.public void setType(String type)
The type of data source location.
type - The type of data source location.RetrievalResultLocationTypepublic String getType()
The type of data source location.
RetrievalResultLocationTypepublic RetrievalResultLocation withType(String type)
The type of data source location.
type - The type of data source location.RetrievalResultLocationTypepublic RetrievalResultLocation withType(RetrievalResultLocationType type)
The type of data source location.
type - The type of data source location.RetrievalResultLocationTypepublic void setWebLocation(RetrievalResultWebLocation webLocation)
The web URL/URLs data source location.
webLocation - The web URL/URLs data source location.public RetrievalResultWebLocation getWebLocation()
The web URL/URLs data source location.
public RetrievalResultLocation withWebLocation(RetrievalResultWebLocation webLocation)
The web URL/URLs data source location.
webLocation - The web URL/URLs data source location.public String toString()
toString in class ObjectObject.toString()public RetrievalResultLocation clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.