@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ImageLocation extends Object implements Serializable, Cloneable, StructuredPojo
Contains an image that is uploaded to IoT SiteWise and available at a URL.
Constructor and Description |
---|
ImageLocation() |
Modifier and Type | Method and Description |
---|---|
ImageLocation |
clone() |
boolean |
equals(Object obj) |
String |
getId()
The ID of the image.
|
String |
getUrl()
The URL where the image is available.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setId(String id)
The ID of the image.
|
void |
setUrl(String url)
The URL where the image is available.
|
String |
toString()
Returns a string representation of this object.
|
ImageLocation |
withId(String id)
The ID of the image.
|
ImageLocation |
withUrl(String url)
The URL where the image is available.
|
public void setId(String id)
The ID of the image.
id
- The ID of the image.public String getId()
The ID of the image.
public ImageLocation withId(String id)
The ID of the image.
id
- The ID of the image.public void setUrl(String url)
The URL where the image is available. The URL is valid for 15 minutes so that you can view and download the image
url
- The URL where the image is available. The URL is valid for 15 minutes so that you can view and download
the imagepublic String getUrl()
The URL where the image is available. The URL is valid for 15 minutes so that you can view and download the image
public ImageLocation withUrl(String url)
The URL where the image is available. The URL is valid for 15 minutes so that you can view and download the image
url
- The URL where the image is available. The URL is valid for 15 minutes so that you can view and download
the imagepublic String toString()
toString
in class Object
Object.toString()
public ImageLocation clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.