@Generated(value="software.amazon.awssdk:codegen") public final class UpdateStreamRequest extends KinesisVideoRequest implements ToCopyableBuilder<UpdateStreamRequest.Builder,UpdateStreamRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
UpdateStreamRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static UpdateStreamRequest.Builder |
builder() |
String |
currentVersion()
The version of the stream whose metadata you want to update.
|
String |
deviceName()
The name of the device that is writing to the stream.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
String |
mediaType()
The stream's media type.
|
static Class<? extends UpdateStreamRequest.Builder> |
serializableBuilderClass() |
String |
streamARN()
The ARN of the stream whose metadata you want to update.
|
String |
streamName()
The name of the stream whose metadata you want to update.
|
UpdateStreamRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
overrideConfiguration
copy
public 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.
The stream name is an identifier for the stream, and must be unique for each account and region.
public String streamARN()
The ARN of the stream whose metadata you want to update.
public String currentVersion()
The version of the stream whose metadata you want to update.
public 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.
In the current implementation, Kinesis Video Streams does not use this name.
public 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
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.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<UpdateStreamRequest.Builder,UpdateStreamRequest>
toBuilder
in class KinesisVideoRequest
public static UpdateStreamRequest.Builder builder()
public static Class<? extends UpdateStreamRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.