Interface CreateEncoderConfigurationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateEncoderConfigurationRequest.Builder,,CreateEncoderConfigurationRequest> IvsRealTimeRequest.Builder,SdkBuilder<CreateEncoderConfigurationRequest.Builder,,CreateEncoderConfigurationRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateEncoderConfigurationRequest
@Mutable
@NotThreadSafe
public static interface CreateEncoderConfigurationRequest.Builder
extends IvsRealTimeRequest.Builder, SdkPojo, CopyableBuilder<CreateEncoderConfigurationRequest.Builder,CreateEncoderConfigurationRequest>
-
Method Summary
Modifier and TypeMethodDescriptionOptional name to identify the resource.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Tags attached to the resource.video(Consumer<Video.Builder> video) Video configuration.Video configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.ivsrealtime.model.IvsRealTimeRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
name
Optional name to identify the resource.
- Parameters:
name- Optional name to identify the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
video
Video configuration. Default: video resolution 1280x720, bitrate 2500 kbps, 30 fps.
- Parameters:
video- Video configuration. Default: video resolution 1280x720, bitrate 2500 kbps, 30 fps.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
video
Video configuration. Default: video resolution 1280x720, bitrate 2500 kbps, 30 fps.
This is a convenience method that creates an instance of theVideo.Builderavoiding the need to create one manually viaVideo.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovideo(Video).- Parameters:
video- a consumer that will call methods onVideo.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
Tags attached to the resource. Array of maps, each of the form
string:string (key:value). See Best practices and strategies in Tagging AWS Resources and Tag Editor for details, including restrictions that apply to tags and "Tag naming limits and requirements"; Amazon IVS has no constraints on tags beyond what is documented there.- Parameters:
tags- Tags attached to the resource. Array of maps, each of the formstring:string (key:value). See Best practices and strategies in Tagging AWS Resources and Tag Editor for details, including restrictions that apply to tags and "Tag naming limits and requirements"; Amazon IVS has no constraints on tags beyond what is documented there.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateEncoderConfigurationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateEncoderConfigurationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-