@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LiveSource extends Object implements Serializable, Cloneable, StructuredPojo
Live source configuration parameters.
Constructor and Description |
---|
LiveSource() |
Modifier and Type | Method and Description |
---|---|
LiveSource |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
LiveSource |
clearTagsEntries()
Removes all the entries added into Tags.
|
LiveSource |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The ARN for the live source.
|
Date |
getCreationTime()
The timestamp that indicates when the live source was created.
|
List<HttpPackageConfiguration> |
getHttpPackageConfigurations()
The HTTP package configurations for the live source.
|
Date |
getLastModifiedTime()
The timestamp that indicates when the live source was last modified.
|
String |
getLiveSourceName()
The name that's used to refer to a live source.
|
String |
getSourceLocationName()
The name of the source location.
|
Map<String,String> |
getTags()
The tags assigned to the live source.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The ARN for the live source.
|
void |
setCreationTime(Date creationTime)
The timestamp that indicates when the live source was created.
|
void |
setHttpPackageConfigurations(Collection<HttpPackageConfiguration> httpPackageConfigurations)
The HTTP package configurations for the live source.
|
void |
setLastModifiedTime(Date lastModifiedTime)
The timestamp that indicates when the live source was last modified.
|
void |
setLiveSourceName(String liveSourceName)
The name that's used to refer to a live source.
|
void |
setSourceLocationName(String sourceLocationName)
The name of the source location.
|
void |
setTags(Map<String,String> tags)
The tags assigned to the live source.
|
String |
toString()
Returns a string representation of this object.
|
LiveSource |
withArn(String arn)
The ARN for the live source.
|
LiveSource |
withCreationTime(Date creationTime)
The timestamp that indicates when the live source was created.
|
LiveSource |
withHttpPackageConfigurations(Collection<HttpPackageConfiguration> httpPackageConfigurations)
The HTTP package configurations for the live source.
|
LiveSource |
withHttpPackageConfigurations(HttpPackageConfiguration... httpPackageConfigurations)
The HTTP package configurations for the live source.
|
LiveSource |
withLastModifiedTime(Date lastModifiedTime)
The timestamp that indicates when the live source was last modified.
|
LiveSource |
withLiveSourceName(String liveSourceName)
The name that's used to refer to a live source.
|
LiveSource |
withSourceLocationName(String sourceLocationName)
The name of the source location.
|
LiveSource |
withTags(Map<String,String> tags)
The tags assigned to the live source.
|
public void setArn(String arn)
The ARN for the live source.
arn
- The ARN for the live source.public String getArn()
The ARN for the live source.
public LiveSource withArn(String arn)
The ARN for the live source.
arn
- The ARN for the live source.public void setCreationTime(Date creationTime)
The timestamp that indicates when the live source was created.
creationTime
- The timestamp that indicates when the live source was created.public Date getCreationTime()
The timestamp that indicates when the live source was created.
public LiveSource withCreationTime(Date creationTime)
The timestamp that indicates when the live source was created.
creationTime
- The timestamp that indicates when the live source was created.public List<HttpPackageConfiguration> getHttpPackageConfigurations()
The HTTP package configurations for the live source.
public void setHttpPackageConfigurations(Collection<HttpPackageConfiguration> httpPackageConfigurations)
The HTTP package configurations for the live source.
httpPackageConfigurations
- The HTTP package configurations for the live source.public LiveSource withHttpPackageConfigurations(HttpPackageConfiguration... httpPackageConfigurations)
The HTTP package configurations for the live source.
NOTE: This method appends the values to the existing list (if any). Use
setHttpPackageConfigurations(java.util.Collection)
or
withHttpPackageConfigurations(java.util.Collection)
if you want to override the existing values.
httpPackageConfigurations
- The HTTP package configurations for the live source.public LiveSource withHttpPackageConfigurations(Collection<HttpPackageConfiguration> httpPackageConfigurations)
The HTTP package configurations for the live source.
httpPackageConfigurations
- The HTTP package configurations for the live source.public void setLastModifiedTime(Date lastModifiedTime)
The timestamp that indicates when the live source was last modified.
lastModifiedTime
- The timestamp that indicates when the live source was last modified.public Date getLastModifiedTime()
The timestamp that indicates when the live source was last modified.
public LiveSource withLastModifiedTime(Date lastModifiedTime)
The timestamp that indicates when the live source was last modified.
lastModifiedTime
- The timestamp that indicates when the live source was last modified.public void setLiveSourceName(String liveSourceName)
The name that's used to refer to a live source.
liveSourceName
- The name that's used to refer to a live source.public String getLiveSourceName()
The name that's used to refer to a live source.
public LiveSource withLiveSourceName(String liveSourceName)
The name that's used to refer to a live source.
liveSourceName
- The name that's used to refer to a live source.public void setSourceLocationName(String sourceLocationName)
The name of the source location.
sourceLocationName
- The name of the source location.public String getSourceLocationName()
The name of the source location.
public LiveSource withSourceLocationName(String sourceLocationName)
The name of the source location.
sourceLocationName
- The name of the source location.public Map<String,String> getTags()
The tags assigned to the live source. Tags are key-value pairs that you can associate with Amazon resources to help with organization, access control, and cost tracking. For more information, see Tagging AWS Elemental MediaTailor Resources.
public void setTags(Map<String,String> tags)
The tags assigned to the live source. Tags are key-value pairs that you can associate with Amazon resources to help with organization, access control, and cost tracking. For more information, see Tagging AWS Elemental MediaTailor Resources.
tags
- The tags assigned to the live source. Tags are key-value pairs that you can associate with Amazon
resources to help with organization, access control, and cost tracking. For more information, see Tagging AWS Elemental MediaTailor
Resources.public LiveSource withTags(Map<String,String> tags)
The tags assigned to the live source. Tags are key-value pairs that you can associate with Amazon resources to help with organization, access control, and cost tracking. For more information, see Tagging AWS Elemental MediaTailor Resources.
tags
- The tags assigned to the live source. Tags are key-value pairs that you can associate with Amazon
resources to help with organization, access control, and cost tracking. For more information, see Tagging AWS Elemental MediaTailor
Resources.public LiveSource addTagsEntry(String key, String value)
public LiveSource clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public LiveSource clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.