@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SourceLocation extends Object implements Serializable, Cloneable, StructuredPojo
A source location is a container for sources. For more information about source locations, see Working with source locations in the MediaTailor User Guide.
Constructor and Description |
---|
SourceLocation() |
Modifier and Type | Method and Description |
---|---|
SourceLocation |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
SourceLocation |
clearTagsEntries()
Removes all the entries added into Tags.
|
SourceLocation |
clone() |
boolean |
equals(Object obj) |
AccessConfiguration |
getAccessConfiguration()
The access configuration for the source location.
|
String |
getArn()
The ARN of the SourceLocation.
|
Date |
getCreationTime()
The timestamp that indicates when the source location was created.
|
DefaultSegmentDeliveryConfiguration |
getDefaultSegmentDeliveryConfiguration()
The default segment delivery configuration.
|
HttpConfiguration |
getHttpConfiguration()
The HTTP configuration for the source location.
|
Date |
getLastModifiedTime()
The timestamp that indicates when the source location was last modified.
|
List<SegmentDeliveryConfiguration> |
getSegmentDeliveryConfigurations()
The segment delivery configurations for the source location.
|
String |
getSourceLocationName()
The name of the source location.
|
Map<String,String> |
getTags()
The tags assigned to the source location.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAccessConfiguration(AccessConfiguration accessConfiguration)
The access configuration for the source location.
|
void |
setArn(String arn)
The ARN of the SourceLocation.
|
void |
setCreationTime(Date creationTime)
The timestamp that indicates when the source location was created.
|
void |
setDefaultSegmentDeliveryConfiguration(DefaultSegmentDeliveryConfiguration defaultSegmentDeliveryConfiguration)
The default segment delivery configuration.
|
void |
setHttpConfiguration(HttpConfiguration httpConfiguration)
The HTTP configuration for the source location.
|
void |
setLastModifiedTime(Date lastModifiedTime)
The timestamp that indicates when the source location was last modified.
|
void |
setSegmentDeliveryConfigurations(Collection<SegmentDeliveryConfiguration> segmentDeliveryConfigurations)
The segment delivery configurations for the source location.
|
void |
setSourceLocationName(String sourceLocationName)
The name of the source location.
|
void |
setTags(Map<String,String> tags)
The tags assigned to the source location.
|
String |
toString()
Returns a string representation of this object.
|
SourceLocation |
withAccessConfiguration(AccessConfiguration accessConfiguration)
The access configuration for the source location.
|
SourceLocation |
withArn(String arn)
The ARN of the SourceLocation.
|
SourceLocation |
withCreationTime(Date creationTime)
The timestamp that indicates when the source location was created.
|
SourceLocation |
withDefaultSegmentDeliveryConfiguration(DefaultSegmentDeliveryConfiguration defaultSegmentDeliveryConfiguration)
The default segment delivery configuration.
|
SourceLocation |
withHttpConfiguration(HttpConfiguration httpConfiguration)
The HTTP configuration for the source location.
|
SourceLocation |
withLastModifiedTime(Date lastModifiedTime)
The timestamp that indicates when the source location was last modified.
|
SourceLocation |
withSegmentDeliveryConfigurations(Collection<SegmentDeliveryConfiguration> segmentDeliveryConfigurations)
The segment delivery configurations for the source location.
|
SourceLocation |
withSegmentDeliveryConfigurations(SegmentDeliveryConfiguration... segmentDeliveryConfigurations)
The segment delivery configurations for the source location.
|
SourceLocation |
withSourceLocationName(String sourceLocationName)
The name of the source location.
|
SourceLocation |
withTags(Map<String,String> tags)
The tags assigned to the source location.
|
public void setAccessConfiguration(AccessConfiguration accessConfiguration)
The access configuration for the source location.
accessConfiguration
- The access configuration for the source location.public AccessConfiguration getAccessConfiguration()
The access configuration for the source location.
public SourceLocation withAccessConfiguration(AccessConfiguration accessConfiguration)
The access configuration for the source location.
accessConfiguration
- The access configuration for the source location.public void setArn(String arn)
The ARN of the SourceLocation.
arn
- The ARN of the SourceLocation.public String getArn()
The ARN of the SourceLocation.
public SourceLocation withArn(String arn)
The ARN of the SourceLocation.
arn
- The ARN of the SourceLocation.public void setCreationTime(Date creationTime)
The timestamp that indicates when the source location was created.
creationTime
- The timestamp that indicates when the source location was created.public Date getCreationTime()
The timestamp that indicates when the source location was created.
public SourceLocation withCreationTime(Date creationTime)
The timestamp that indicates when the source location was created.
creationTime
- The timestamp that indicates when the source location was created.public void setDefaultSegmentDeliveryConfiguration(DefaultSegmentDeliveryConfiguration defaultSegmentDeliveryConfiguration)
The default segment delivery configuration.
defaultSegmentDeliveryConfiguration
- The default segment delivery configuration.public DefaultSegmentDeliveryConfiguration getDefaultSegmentDeliveryConfiguration()
The default segment delivery configuration.
public SourceLocation withDefaultSegmentDeliveryConfiguration(DefaultSegmentDeliveryConfiguration defaultSegmentDeliveryConfiguration)
The default segment delivery configuration.
defaultSegmentDeliveryConfiguration
- The default segment delivery configuration.public void setHttpConfiguration(HttpConfiguration httpConfiguration)
The HTTP configuration for the source location.
httpConfiguration
- The HTTP configuration for the source location.public HttpConfiguration getHttpConfiguration()
The HTTP configuration for the source location.
public SourceLocation withHttpConfiguration(HttpConfiguration httpConfiguration)
The HTTP configuration for the source location.
httpConfiguration
- The HTTP configuration for the source location.public void setLastModifiedTime(Date lastModifiedTime)
The timestamp that indicates when the source location was last modified.
lastModifiedTime
- The timestamp that indicates when the source location was last modified.public Date getLastModifiedTime()
The timestamp that indicates when the source location was last modified.
public SourceLocation withLastModifiedTime(Date lastModifiedTime)
The timestamp that indicates when the source location was last modified.
lastModifiedTime
- The timestamp that indicates when the source location was last modified.public List<SegmentDeliveryConfiguration> getSegmentDeliveryConfigurations()
The segment delivery configurations for the source location.
public void setSegmentDeliveryConfigurations(Collection<SegmentDeliveryConfiguration> segmentDeliveryConfigurations)
The segment delivery configurations for the source location.
segmentDeliveryConfigurations
- The segment delivery configurations for the source location.public SourceLocation withSegmentDeliveryConfigurations(SegmentDeliveryConfiguration... segmentDeliveryConfigurations)
The segment delivery configurations for the source location.
NOTE: This method appends the values to the existing list (if any). Use
setSegmentDeliveryConfigurations(java.util.Collection)
or
withSegmentDeliveryConfigurations(java.util.Collection)
if you want to override the existing values.
segmentDeliveryConfigurations
- The segment delivery configurations for the source location.public SourceLocation withSegmentDeliveryConfigurations(Collection<SegmentDeliveryConfiguration> segmentDeliveryConfigurations)
The segment delivery configurations for the source location.
segmentDeliveryConfigurations
- The segment delivery configurations for the source location.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 SourceLocation 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 source location. 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 source location. 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 source location. 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 SourceLocation withTags(Map<String,String> tags)
The tags assigned to the source location. 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 source location. 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 SourceLocation addTagsEntry(String key, String value)
public SourceLocation clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public SourceLocation clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.