@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateSourceLocationRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateSourceLocationRequest() |
Modifier and Type | Method and Description |
---|---|
CreateSourceLocationRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateSourceLocationRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateSourceLocationRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
AccessConfiguration |
getAccessConfiguration()
Access configuration parameters.
|
DefaultSegmentDeliveryConfiguration |
getDefaultSegmentDeliveryConfiguration()
The optional configuration for the server that serves segments.
|
HttpConfiguration |
getHttpConfiguration()
The source's HTTP package configurations.
|
List<SegmentDeliveryConfiguration> |
getSegmentDeliveryConfigurations()
A list of the segment delivery configurations associated with this resource.
|
String |
getSourceLocationName()
The name associated with the source location.
|
Map<String,String> |
getTags()
The tags to assign to the source location.
|
int |
hashCode() |
void |
setAccessConfiguration(AccessConfiguration accessConfiguration)
Access configuration parameters.
|
void |
setDefaultSegmentDeliveryConfiguration(DefaultSegmentDeliveryConfiguration defaultSegmentDeliveryConfiguration)
The optional configuration for the server that serves segments.
|
void |
setHttpConfiguration(HttpConfiguration httpConfiguration)
The source's HTTP package configurations.
|
void |
setSegmentDeliveryConfigurations(Collection<SegmentDeliveryConfiguration> segmentDeliveryConfigurations)
A list of the segment delivery configurations associated with this resource.
|
void |
setSourceLocationName(String sourceLocationName)
The name associated with the source location.
|
void |
setTags(Map<String,String> tags)
The tags to assign to the source location.
|
String |
toString()
Returns a string representation of this object.
|
CreateSourceLocationRequest |
withAccessConfiguration(AccessConfiguration accessConfiguration)
Access configuration parameters.
|
CreateSourceLocationRequest |
withDefaultSegmentDeliveryConfiguration(DefaultSegmentDeliveryConfiguration defaultSegmentDeliveryConfiguration)
The optional configuration for the server that serves segments.
|
CreateSourceLocationRequest |
withHttpConfiguration(HttpConfiguration httpConfiguration)
The source's HTTP package configurations.
|
CreateSourceLocationRequest |
withSegmentDeliveryConfigurations(Collection<SegmentDeliveryConfiguration> segmentDeliveryConfigurations)
A list of the segment delivery configurations associated with this resource.
|
CreateSourceLocationRequest |
withSegmentDeliveryConfigurations(SegmentDeliveryConfiguration... segmentDeliveryConfigurations)
A list of the segment delivery configurations associated with this resource.
|
CreateSourceLocationRequest |
withSourceLocationName(String sourceLocationName)
The name associated with the source location.
|
CreateSourceLocationRequest |
withTags(Map<String,String> tags)
The tags to assign to the source location.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setAccessConfiguration(AccessConfiguration accessConfiguration)
Access configuration parameters. Configures the type of authentication used to access content from your source location.
accessConfiguration
- Access configuration parameters. Configures the type of authentication used to access content from your
source location.public AccessConfiguration getAccessConfiguration()
Access configuration parameters. Configures the type of authentication used to access content from your source location.
public CreateSourceLocationRequest withAccessConfiguration(AccessConfiguration accessConfiguration)
Access configuration parameters. Configures the type of authentication used to access content from your source location.
accessConfiguration
- Access configuration parameters. Configures the type of authentication used to access content from your
source location.public void setDefaultSegmentDeliveryConfiguration(DefaultSegmentDeliveryConfiguration defaultSegmentDeliveryConfiguration)
The optional configuration for the server that serves segments.
defaultSegmentDeliveryConfiguration
- The optional configuration for the server that serves segments.public DefaultSegmentDeliveryConfiguration getDefaultSegmentDeliveryConfiguration()
The optional configuration for the server that serves segments.
public CreateSourceLocationRequest withDefaultSegmentDeliveryConfiguration(DefaultSegmentDeliveryConfiguration defaultSegmentDeliveryConfiguration)
The optional configuration for the server that serves segments.
defaultSegmentDeliveryConfiguration
- The optional configuration for the server that serves segments.public void setHttpConfiguration(HttpConfiguration httpConfiguration)
The source's HTTP package configurations.
httpConfiguration
- The source's HTTP package configurations.public HttpConfiguration getHttpConfiguration()
The source's HTTP package configurations.
public CreateSourceLocationRequest withHttpConfiguration(HttpConfiguration httpConfiguration)
The source's HTTP package configurations.
httpConfiguration
- The source's HTTP package configurations.public List<SegmentDeliveryConfiguration> getSegmentDeliveryConfigurations()
A list of the segment delivery configurations associated with this resource.
public void setSegmentDeliveryConfigurations(Collection<SegmentDeliveryConfiguration> segmentDeliveryConfigurations)
A list of the segment delivery configurations associated with this resource.
segmentDeliveryConfigurations
- A list of the segment delivery configurations associated with this resource.public CreateSourceLocationRequest withSegmentDeliveryConfigurations(SegmentDeliveryConfiguration... segmentDeliveryConfigurations)
A list of the segment delivery configurations associated with this resource.
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
- A list of the segment delivery configurations associated with this resource.public CreateSourceLocationRequest withSegmentDeliveryConfigurations(Collection<SegmentDeliveryConfiguration> segmentDeliveryConfigurations)
A list of the segment delivery configurations associated with this resource.
segmentDeliveryConfigurations
- A list of the segment delivery configurations associated with this resource.public void setSourceLocationName(String sourceLocationName)
The name associated with the source location.
sourceLocationName
- The name associated with the source location.public String getSourceLocationName()
The name associated with the source location.
public CreateSourceLocationRequest withSourceLocationName(String sourceLocationName)
The name associated with the source location.
sourceLocationName
- The name associated with the source location.public Map<String,String> getTags()
The tags to assign 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 to assign 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 to assign 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 CreateSourceLocationRequest withTags(Map<String,String> tags)
The tags to assign 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 to assign 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 CreateSourceLocationRequest addTagsEntry(String key, String value)
public CreateSourceLocationRequest clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public CreateSourceLocationRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()