@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RetrievalResultLocation extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about the location of the data source.
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) |
RetrievalResultS3Location |
getS3Location()
Contains the S3 location of the data source.
|
String |
getType()
The type of the location of the data source.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setS3Location(RetrievalResultS3Location s3Location)
Contains the S3 location of the data source.
|
void |
setType(String type)
The type of the location of the data source.
|
String |
toString()
Returns a string representation of this object.
|
RetrievalResultLocation |
withS3Location(RetrievalResultS3Location s3Location)
Contains the S3 location of the data source.
|
RetrievalResultLocation |
withType(RetrievalResultLocationType type)
The type of the location of the data source.
|
RetrievalResultLocation |
withType(String type)
The type of the location of the data source.
|
public void setS3Location(RetrievalResultS3Location s3Location)
Contains the S3 location of the data source.
s3Location
- Contains the S3 location of the data source.public RetrievalResultS3Location getS3Location()
Contains the S3 location of the data source.
public RetrievalResultLocation withS3Location(RetrievalResultS3Location s3Location)
Contains the S3 location of the data source.
s3Location
- Contains the S3 location of the data source.public void setType(String type)
The type of the location of the data source.
type
- The type of the location of the data source.RetrievalResultLocationType
public String getType()
The type of the location of the data source.
RetrievalResultLocationType
public RetrievalResultLocation withType(String type)
The type of the location of the data source.
type
- The type of the location of the data source.RetrievalResultLocationType
public RetrievalResultLocation withType(RetrievalResultLocationType type)
The type of the location of the data source.
type
- The type of the location of the data source.RetrievalResultLocationType
public String toString()
toString
in class Object
Object.toString()
public RetrievalResultLocation clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.