Interface EncoderConfiguration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<EncoderConfiguration.Builder,EncoderConfiguration>,SdkBuilder<EncoderConfiguration.Builder,EncoderConfiguration>,SdkPojo
- Enclosing class:
- EncoderConfiguration
public static interface EncoderConfiguration.Builder extends SdkPojo, CopyableBuilder<EncoderConfiguration.Builder,EncoderConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description EncoderConfiguration.Builderarn(String arn)ARN of the EncoderConfiguration resource.EncoderConfiguration.Buildername(String name)Optional name to identify the resource.EncoderConfiguration.Buildertags(Map<String,String> tags)Tags attached to the resource.default EncoderConfiguration.Buildervideo(Consumer<Video.Builder> video)Video configuration.EncoderConfiguration.Buildervideo(Video video)Video configuration.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
arn
EncoderConfiguration.Builder arn(String arn)
ARN of the EncoderConfiguration resource.
- Parameters:
arn- ARN of the EncoderConfiguration resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
EncoderConfiguration.Builder name(String 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
EncoderConfiguration.Builder video(Video 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
default EncoderConfiguration.Builder video(Consumer<Video.Builder> 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:
video(Video)
-
tags
EncoderConfiguration.Builder tags(Map<String,String> 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.
-
-