@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AudienceMedia extends Object implements Serializable, Cloneable, StructuredPojo
An AudienceMedia object contains an Audience and a list of AlternateMedia.
Constructor and Description |
---|
AudienceMedia() |
Modifier and Type | Method and Description |
---|---|
AudienceMedia |
clone() |
boolean |
equals(Object obj) |
List<AlternateMedia> |
getAlternateMedia()
The list of AlternateMedia defined in AudienceMedia.
|
String |
getAudience()
The Audience defined in AudienceMedia.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAlternateMedia(Collection<AlternateMedia> alternateMedia)
The list of AlternateMedia defined in AudienceMedia.
|
void |
setAudience(String audience)
The Audience defined in AudienceMedia.
|
String |
toString()
Returns a string representation of this object.
|
AudienceMedia |
withAlternateMedia(AlternateMedia... alternateMedia)
The list of AlternateMedia defined in AudienceMedia.
|
AudienceMedia |
withAlternateMedia(Collection<AlternateMedia> alternateMedia)
The list of AlternateMedia defined in AudienceMedia.
|
AudienceMedia |
withAudience(String audience)
The Audience defined in AudienceMedia.
|
public List<AlternateMedia> getAlternateMedia()
The list of AlternateMedia defined in AudienceMedia.
public void setAlternateMedia(Collection<AlternateMedia> alternateMedia)
The list of AlternateMedia defined in AudienceMedia.
alternateMedia
- The list of AlternateMedia defined in AudienceMedia.public AudienceMedia withAlternateMedia(AlternateMedia... alternateMedia)
The list of AlternateMedia defined in AudienceMedia.
NOTE: This method appends the values to the existing list (if any). Use
setAlternateMedia(java.util.Collection)
or withAlternateMedia(java.util.Collection)
if you want
to override the existing values.
alternateMedia
- The list of AlternateMedia defined in AudienceMedia.public AudienceMedia withAlternateMedia(Collection<AlternateMedia> alternateMedia)
The list of AlternateMedia defined in AudienceMedia.
alternateMedia
- The list of AlternateMedia defined in AudienceMedia.public void setAudience(String audience)
The Audience defined in AudienceMedia.
audience
- The Audience defined in AudienceMedia.public String getAudience()
The Audience defined in AudienceMedia.
public AudienceMedia withAudience(String audience)
The Audience defined in AudienceMedia.
audience
- The Audience defined in AudienceMedia.public String toString()
toString
in class Object
Object.toString()
public AudienceMedia clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.