@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MediaResource extends Object implements Serializable, Cloneable, StructuredPojo
| Constructor and Description |
|---|
MediaResource() |
| Modifier and Type | Method and Description |
|---|---|
MediaResource |
clone() |
boolean |
equals(Object obj) |
List<MediaResourceNeighbor> |
getDestinations() |
String |
getName()
The logical name of an AWS media resource.
|
List<MediaResourceNeighbor> |
getSources() |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setDestinations(Collection<MediaResourceNeighbor> destinations) |
void |
setName(String name)
The logical name of an AWS media resource.
|
void |
setSources(Collection<MediaResourceNeighbor> sources) |
String |
toString()
Returns a string representation of this object.
|
MediaResource |
withDestinations(Collection<MediaResourceNeighbor> destinations) |
MediaResource |
withDestinations(MediaResourceNeighbor... destinations)
NOTE: This method appends the values to the existing list (if any).
|
MediaResource |
withName(String name)
The logical name of an AWS media resource.
|
MediaResource |
withSources(Collection<MediaResourceNeighbor> sources) |
MediaResource |
withSources(MediaResourceNeighbor... sources)
NOTE: This method appends the values to the existing list (if any).
|
public List<MediaResourceNeighbor> getDestinations()
public void setDestinations(Collection<MediaResourceNeighbor> destinations)
destinations - public MediaResource withDestinations(MediaResourceNeighbor... destinations)
NOTE: This method appends the values to the existing list (if any). Use
setDestinations(java.util.Collection) or withDestinations(java.util.Collection) if you want to
override the existing values.
destinations - public MediaResource withDestinations(Collection<MediaResourceNeighbor> destinations)
destinations - public void setName(String name)
name - The logical name of an AWS media resource.public String getName()
public MediaResource withName(String name)
name - The logical name of an AWS media resource.public List<MediaResourceNeighbor> getSources()
public void setSources(Collection<MediaResourceNeighbor> sources)
sources - public MediaResource withSources(MediaResourceNeighbor... sources)
NOTE: This method appends the values to the existing list (if any). Use
setSources(java.util.Collection) or withSources(java.util.Collection) if you want to override
the existing values.
sources - public MediaResource withSources(Collection<MediaResourceNeighbor> sources)
sources - public String toString()
toString in class ObjectObject.toString()public MediaResource clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.