@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ItemSource extends Object implements Serializable, Cloneable, StructuredPojo
The structure representing the items in the response for SearchRasterDataCollection.
Constructor and Description |
---|
ItemSource() |
Modifier and Type | Method and Description |
---|---|
ItemSource |
addAssetsEntry(String key,
AssetValue value)
Add a single Assets entry
|
ItemSource |
clearAssetsEntries()
Removes all the entries added into Assets.
|
ItemSource |
clone() |
boolean |
equals(Object obj) |
Map<String,AssetValue> |
getAssets()
This is a dictionary of Asset Objects data associated with the Item that can be downloaded or streamed, each with
a unique key.
|
Date |
getDateTime()
The searchable date and time of the item, in UTC.
|
Geometry |
getGeometry()
The item Geometry in GeoJson format.
|
String |
getId()
A unique Id for the source item.
|
Properties |
getProperties()
This field contains additional properties of the item.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAssets(Map<String,AssetValue> assets)
This is a dictionary of Asset Objects data associated with the Item that can be downloaded or streamed, each with
a unique key.
|
void |
setDateTime(Date dateTime)
The searchable date and time of the item, in UTC.
|
void |
setGeometry(Geometry geometry)
The item Geometry in GeoJson format.
|
void |
setId(String id)
A unique Id for the source item.
|
void |
setProperties(Properties properties)
This field contains additional properties of the item.
|
String |
toString()
Returns a string representation of this object.
|
ItemSource |
withAssets(Map<String,AssetValue> assets)
This is a dictionary of Asset Objects data associated with the Item that can be downloaded or streamed, each with
a unique key.
|
ItemSource |
withDateTime(Date dateTime)
The searchable date and time of the item, in UTC.
|
ItemSource |
withGeometry(Geometry geometry)
The item Geometry in GeoJson format.
|
ItemSource |
withId(String id)
A unique Id for the source item.
|
ItemSource |
withProperties(Properties properties)
This field contains additional properties of the item.
|
public Map<String,AssetValue> getAssets()
This is a dictionary of Asset Objects data associated with the Item that can be downloaded or streamed, each with a unique key.
public void setAssets(Map<String,AssetValue> assets)
This is a dictionary of Asset Objects data associated with the Item that can be downloaded or streamed, each with a unique key.
assets
- This is a dictionary of Asset Objects data associated with the Item that can be downloaded or streamed,
each with a unique key.public ItemSource withAssets(Map<String,AssetValue> assets)
This is a dictionary of Asset Objects data associated with the Item that can be downloaded or streamed, each with a unique key.
assets
- This is a dictionary of Asset Objects data associated with the Item that can be downloaded or streamed,
each with a unique key.public ItemSource addAssetsEntry(String key, AssetValue value)
public ItemSource clearAssetsEntries()
public void setDateTime(Date dateTime)
The searchable date and time of the item, in UTC.
dateTime
- The searchable date and time of the item, in UTC.public Date getDateTime()
The searchable date and time of the item, in UTC.
public ItemSource withDateTime(Date dateTime)
The searchable date and time of the item, in UTC.
dateTime
- The searchable date and time of the item, in UTC.public void setGeometry(Geometry geometry)
The item Geometry in GeoJson format.
geometry
- The item Geometry in GeoJson format.public Geometry getGeometry()
The item Geometry in GeoJson format.
public ItemSource withGeometry(Geometry geometry)
The item Geometry in GeoJson format.
geometry
- The item Geometry in GeoJson format.public void setId(String id)
A unique Id for the source item.
id
- A unique Id for the source item.public String getId()
A unique Id for the source item.
public ItemSource withId(String id)
A unique Id for the source item.
id
- A unique Id for the source item.public void setProperties(Properties properties)
This field contains additional properties of the item.
properties
- This field contains additional properties of the item.public Properties getProperties()
This field contains additional properties of the item.
public ItemSource withProperties(Properties properties)
This field contains additional properties of the item.
properties
- This field contains additional properties of the item.public String toString()
toString
in class Object
Object.toString()
public ItemSource clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.