@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetMediaForFragmentListRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
GetMediaForFragmentListRequest() |
Modifier and Type | Method and Description |
---|---|
GetMediaForFragmentListRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<String> |
getFragments()
A list of the numbers of fragments for which to retrieve media.
|
String |
getStreamARN()
The Amazon Resource Name (ARN) of the stream from which to retrieve fragment media.
|
String |
getStreamName()
The name of the stream from which to retrieve fragment media.
|
int |
hashCode() |
void |
setFragments(Collection<String> fragments)
A list of the numbers of fragments for which to retrieve media.
|
void |
setStreamARN(String streamARN)
The Amazon Resource Name (ARN) of the stream from which to retrieve fragment media.
|
void |
setStreamName(String streamName)
The name of the stream from which to retrieve fragment media.
|
String |
toString()
Returns a string representation of this object.
|
GetMediaForFragmentListRequest |
withFragments(Collection<String> fragments)
A list of the numbers of fragments for which to retrieve media.
|
GetMediaForFragmentListRequest |
withFragments(String... fragments)
A list of the numbers of fragments for which to retrieve media.
|
GetMediaForFragmentListRequest |
withStreamARN(String streamARN)
The Amazon Resource Name (ARN) of the stream from which to retrieve fragment media.
|
GetMediaForFragmentListRequest |
withStreamName(String streamName)
The name of the stream from which to retrieve fragment media.
|
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 setStreamName(String streamName)
The name of the stream from which to retrieve fragment media. Specify either this parameter or the
StreamARN
parameter.
streamName
- The name of the stream from which to retrieve fragment media. Specify either this parameter or the
StreamARN
parameter.public String getStreamName()
The name of the stream from which to retrieve fragment media. Specify either this parameter or the
StreamARN
parameter.
StreamARN
parameter.public GetMediaForFragmentListRequest withStreamName(String streamName)
The name of the stream from which to retrieve fragment media. Specify either this parameter or the
StreamARN
parameter.
streamName
- The name of the stream from which to retrieve fragment media. Specify either this parameter or the
StreamARN
parameter.public void setStreamARN(String streamARN)
The Amazon Resource Name (ARN) of the stream from which to retrieve fragment media. Specify either this parameter
or the StreamName
parameter.
streamARN
- The Amazon Resource Name (ARN) of the stream from which to retrieve fragment media. Specify either this
parameter or the StreamName
parameter.public String getStreamARN()
The Amazon Resource Name (ARN) of the stream from which to retrieve fragment media. Specify either this parameter
or the StreamName
parameter.
StreamName
parameter.public GetMediaForFragmentListRequest withStreamARN(String streamARN)
The Amazon Resource Name (ARN) of the stream from which to retrieve fragment media. Specify either this parameter
or the StreamName
parameter.
streamARN
- The Amazon Resource Name (ARN) of the stream from which to retrieve fragment media. Specify either this
parameter or the StreamName
parameter.public List<String> getFragments()
A list of the numbers of fragments for which to retrieve media. You retrieve these values with ListFragments.
public void setFragments(Collection<String> fragments)
A list of the numbers of fragments for which to retrieve media. You retrieve these values with ListFragments.
fragments
- A list of the numbers of fragments for which to retrieve media. You retrieve these values with
ListFragments.public GetMediaForFragmentListRequest withFragments(String... fragments)
A list of the numbers of fragments for which to retrieve media. You retrieve these values with ListFragments.
NOTE: This method appends the values to the existing list (if any). Use
setFragments(java.util.Collection)
or withFragments(java.util.Collection)
if you want to
override the existing values.
fragments
- A list of the numbers of fragments for which to retrieve media. You retrieve these values with
ListFragments.public GetMediaForFragmentListRequest withFragments(Collection<String> fragments)
A list of the numbers of fragments for which to retrieve media. You retrieve these values with ListFragments.
fragments
- A list of the numbers of fragments for which to retrieve media. You retrieve these values with
ListFragments.public String toString()
toString
in class Object
Object.toString()
public GetMediaForFragmentListRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()