Interface DisplayConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<DisplayConfiguration.Builder,,DisplayConfiguration> SdkBuilder<DisplayConfiguration.Builder,,DisplayConfiguration> SdkPojo
- Enclosing class:
DisplayConfiguration
@Mutable
@NotThreadSafe
public static interface DisplayConfiguration.Builder
extends SdkPojo, CopyableBuilder<DisplayConfiguration.Builder,DisplayConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptiondefault DisplayConfiguration.Builderresolution(Consumer<Resolution.Builder> resolution) The resolution to apply to the stream session's virtual monitor.resolution(Resolution resolution) The resolution to apply to the stream session's virtual monitor.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
resolution
The resolution to apply to the stream session's virtual monitor. When specified, this value overrides the default resolution of 1920 × 1080.
- Parameters:
resolution- The resolution to apply to the stream session's virtual monitor. When specified, this value overrides the default resolution of 1920 × 1080.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resolution
The resolution to apply to the stream session's virtual monitor. When specified, this value overrides the default resolution of 1920 × 1080.
This is a convenience method that creates an instance of theResolution.Builderavoiding the need to create one manually viaResolution.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toresolution(Resolution).- Parameters:
resolution- a consumer that will call methods onResolution.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-