@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ImageSource extends Object implements Serializable, Cloneable, StructuredPojo
The source for an image.
Constructor and Description |
---|
ImageSource() |
Modifier and Type | Method and Description |
---|---|
ImageSource |
clone() |
boolean |
equals(Object obj) |
String |
getType()
The type of the image.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setType(String type)
The type of the image.
|
String |
toString()
Returns a string representation of this object.
|
ImageSource |
withType(String type)
The type of the image.
|
public void setType(String type)
The type of the image.
type
- The type of the image.public String getType()
The type of the image.
public ImageSource withType(String type)
The type of the image.
type
- The type of the image.public String toString()
toString
in class Object
Object.toString()
public ImageSource clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.