@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateStreamRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateStreamRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateStreamRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getCurrentVersion()
The version of the stream whose metadata you want to update.
|
String |
getDeviceName()
The name of the device that is writing to the stream.
|
String |
getMediaType()
The stream's media type.
|
String |
getStreamARN()
The ARN of the stream whose metadata you want to update.
|
String |
getStreamName()
The name of the stream whose metadata you want to update.
|
int |
hashCode() |
void |
setCurrentVersion(String currentVersion)
The version of the stream whose metadata you want to update.
|
void |
setDeviceName(String deviceName)
The name of the device that is writing to the stream.
|
void |
setMediaType(String mediaType)
The stream's media type.
|
void |
setStreamARN(String streamARN)
The ARN of the stream whose metadata you want to update.
|
void |
setStreamName(String streamName)
The name of the stream whose metadata you want to update.
|
String |
toString()
Returns a string representation of this object.
|
UpdateStreamRequest |
withCurrentVersion(String currentVersion)
The version of the stream whose metadata you want to update.
|
UpdateStreamRequest |
withDeviceName(String deviceName)
The name of the device that is writing to the stream.
|
UpdateStreamRequest |
withMediaType(String mediaType)
The stream's media type.
|
UpdateStreamRequest |
withStreamARN(String streamARN)
The ARN of the stream whose metadata you want to update.
|
UpdateStreamRequest |
withStreamName(String streamName)
The name of the stream whose metadata you want to update.
|
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 whose metadata you want to update.
The stream name is an identifier for the stream, and must be unique for each account and region.
streamName
- The name of the stream whose metadata you want to update.
The stream name is an identifier for the stream, and must be unique for each account and region.
public String getStreamName()
The name of the stream whose metadata you want to update.
The stream name is an identifier for the stream, and must be unique for each account and region.
The stream name is an identifier for the stream, and must be unique for each account and region.
public UpdateStreamRequest withStreamName(String streamName)
The name of the stream whose metadata you want to update.
The stream name is an identifier for the stream, and must be unique for each account and region.
streamName
- The name of the stream whose metadata you want to update.
The stream name is an identifier for the stream, and must be unique for each account and region.
public void setStreamARN(String streamARN)
The ARN of the stream whose metadata you want to update.
streamARN
- The ARN of the stream whose metadata you want to update.public String getStreamARN()
The ARN of the stream whose metadata you want to update.
public UpdateStreamRequest withStreamARN(String streamARN)
The ARN of the stream whose metadata you want to update.
streamARN
- The ARN of the stream whose metadata you want to update.public void setCurrentVersion(String currentVersion)
The version of the stream whose metadata you want to update.
currentVersion
- The version of the stream whose metadata you want to update.public String getCurrentVersion()
The version of the stream whose metadata you want to update.
public UpdateStreamRequest withCurrentVersion(String currentVersion)
The version of the stream whose metadata you want to update.
currentVersion
- The version of the stream whose metadata you want to update.public void setDeviceName(String deviceName)
The name of the device that is writing to the stream.
In the current implementation, Kinesis Video Streams does not use this name.
deviceName
- The name of the device that is writing to the stream. In the current implementation, Kinesis Video Streams does not use this name.
public String getDeviceName()
The name of the device that is writing to the stream.
In the current implementation, Kinesis Video Streams does not use this name.
In the current implementation, Kinesis Video Streams does not use this name.
public UpdateStreamRequest withDeviceName(String deviceName)
The name of the device that is writing to the stream.
In the current implementation, Kinesis Video Streams does not use this name.
deviceName
- The name of the device that is writing to the stream. In the current implementation, Kinesis Video Streams does not use this name.
public void setMediaType(String mediaType)
The stream's media type. Use MediaType
to specify the type of content that the stream contains to
the consumers of the stream. For more information about media types, see Media Types. If you choose to specify
the MediaType
, see Naming
Requirements.
To play video on the console, you must specify the correct video type. For example, if the video in the stream is
H.264, specify video/h264
as the MediaType
.
mediaType
- The stream's media type. Use MediaType
to specify the type of content that the stream
contains to the consumers of the stream. For more information about media types, see Media Types. If you choose to
specify the MediaType
, see Naming
Requirements.
To play video on the console, you must specify the correct video type. For example, if the video in the
stream is H.264, specify video/h264
as the MediaType
.
public String getMediaType()
The stream's media type. Use MediaType
to specify the type of content that the stream contains to
the consumers of the stream. For more information about media types, see Media Types. If you choose to specify
the MediaType
, see Naming
Requirements.
To play video on the console, you must specify the correct video type. For example, if the video in the stream is
H.264, specify video/h264
as the MediaType
.
MediaType
to specify the type of content that the stream
contains to the consumers of the stream. For more information about media types, see Media Types. If you choose to
specify the MediaType
, see Naming
Requirements.
To play video on the console, you must specify the correct video type. For example, if the video in the
stream is H.264, specify video/h264
as the MediaType
.
public UpdateStreamRequest withMediaType(String mediaType)
The stream's media type. Use MediaType
to specify the type of content that the stream contains to
the consumers of the stream. For more information about media types, see Media Types. If you choose to specify
the MediaType
, see Naming
Requirements.
To play video on the console, you must specify the correct video type. For example, if the video in the stream is
H.264, specify video/h264
as the MediaType
.
mediaType
- The stream's media type. Use MediaType
to specify the type of content that the stream
contains to the consumers of the stream. For more information about media types, see Media Types. If you choose to
specify the MediaType
, see Naming
Requirements.
To play video on the console, you must specify the correct video type. For example, if the video in the
stream is H.264, specify video/h264
as the MediaType
.
public String toString()
toString
in class Object
Object.toString()
public UpdateStreamRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()