Class UpdateStreamRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.kinesisvideo.model.KinesisVideoRequest
-
- software.amazon.awssdk.services.kinesisvideo.model.UpdateStreamRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<UpdateStreamRequest.Builder,UpdateStreamRequest>
@Generated("software.amazon.awssdk:codegen") public final class UpdateStreamRequest extends KinesisVideoRequest implements ToCopyableBuilder<UpdateStreamRequest.Builder,UpdateStreamRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUpdateStreamRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UpdateStreamRequest.Builderbuilder()StringcurrentVersion()The version of the stream whose metadata you want to update.StringdeviceName()The name of the device that is writing to the stream.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringmediaType()The stream's media type.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends UpdateStreamRequest.Builder>serializableBuilderClass()StringstreamARN()The ARN of the stream whose metadata you want to update.StringstreamName()The name of the stream whose metadata you want to update.UpdateStreamRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
streamName
public final 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.
- Returns:
- 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.
-
streamARN
public final String streamARN()
The ARN of the stream whose metadata you want to update.
- Returns:
- The ARN of the stream whose metadata you want to update.
-
currentVersion
public final String currentVersion()
The version of the stream whose metadata you want to update.
- Returns:
- The version of the stream whose metadata you want to update.
-
deviceName
public final 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.
- Returns:
- The name of the device that is writing to the stream.
In the current implementation, Kinesis Video Streams does not use this name.
-
mediaType
public final String mediaType()
The stream's media type. Use
MediaTypeto 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 theMediaType, 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/h264as theMediaType.- Returns:
- The stream's media type. Use
MediaTypeto 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 theMediaType, 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/h264as theMediaType.
-
toBuilder
public UpdateStreamRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdateStreamRequest.Builder,UpdateStreamRequest>- Specified by:
toBuilderin classKinesisVideoRequest
-
builder
public static UpdateStreamRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpdateStreamRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-