Class UpdateFlowMediaStreamRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.mediaconnect.model.MediaConnectRequest
-
- software.amazon.awssdk.services.mediaconnect.model.UpdateFlowMediaStreamRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<UpdateFlowMediaStreamRequest.Builder,UpdateFlowMediaStreamRequest>
@Generated("software.amazon.awssdk:codegen") public final class UpdateFlowMediaStreamRequest extends MediaConnectRequest implements ToCopyableBuilder<UpdateFlowMediaStreamRequest.Builder,UpdateFlowMediaStreamRequest>
The fields that you want to update in the media stream.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUpdateFlowMediaStreamRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MediaStreamAttributesRequestattributes()The attributes that you want to assign to the media stream.static UpdateFlowMediaStreamRequest.Builderbuilder()IntegerclockRate()The sample rate (in Hz) for the stream.Stringdescription()Descriptionbooleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringflowArn()The Amazon Resource Name (ARN) of the flow.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringmediaStreamName()The name of the media stream that you want to update.MediaStreamTypemediaStreamType()The type of media stream.StringmediaStreamTypeAsString()The type of media stream.List<SdkField<?>>sdkFields()static Class<? extends UpdateFlowMediaStreamRequest.Builder>serializableBuilderClass()UpdateFlowMediaStreamRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringvideoFormat()The resolution of the video.-
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
-
attributes
public final MediaStreamAttributesRequest attributes()
The attributes that you want to assign to the media stream.- Returns:
- The attributes that you want to assign to the media stream.
-
clockRate
public final Integer clockRate()
The sample rate (in Hz) for the stream. If the media stream type is video or ancillary data, set this value to 90000. If the media stream type is audio, set this value to either 48000 or 96000.- Returns:
- The sample rate (in Hz) for the stream. If the media stream type is video or ancillary data, set this value to 90000. If the media stream type is audio, set this value to either 48000 or 96000.
-
description
public final String description()
Description- Returns:
- Description
-
flowArn
public final String flowArn()
The Amazon Resource Name (ARN) of the flow.- Returns:
- The Amazon Resource Name (ARN) of the flow.
-
mediaStreamName
public final String mediaStreamName()
The name of the media stream that you want to update.- Returns:
- The name of the media stream that you want to update.
-
mediaStreamType
public final MediaStreamType mediaStreamType()
The type of media stream.If the service returns an enum value that is not available in the current SDK version,
mediaStreamTypewill returnMediaStreamType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommediaStreamTypeAsString().- Returns:
- The type of media stream.
- See Also:
MediaStreamType
-
mediaStreamTypeAsString
public final String mediaStreamTypeAsString()
The type of media stream.If the service returns an enum value that is not available in the current SDK version,
mediaStreamTypewill returnMediaStreamType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommediaStreamTypeAsString().- Returns:
- The type of media stream.
- See Also:
MediaStreamType
-
videoFormat
public final String videoFormat()
The resolution of the video.- Returns:
- The resolution of the video.
-
toBuilder
public UpdateFlowMediaStreamRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdateFlowMediaStreamRequest.Builder,UpdateFlowMediaStreamRequest>- Specified by:
toBuilderin classMediaConnectRequest
-
builder
public static UpdateFlowMediaStreamRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpdateFlowMediaStreamRequest.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
-
-