Class CfnStack.StreamingExperienceSettingsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.appstream.CfnStack.StreamingExperienceSettingsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnStack.StreamingExperienceSettingsProperty>
- Enclosing interface:
- CfnStack.StreamingExperienceSettingsProperty
@Stability(Stable)
public static final class CfnStack.StreamingExperienceSettingsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnStack.StreamingExperienceSettingsProperty>
A builder for
CfnStack.StreamingExperienceSettingsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.preferredProtocol(String preferredProtocol) Sets the value ofCfnStack.StreamingExperienceSettingsProperty.getPreferredProtocol()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
preferredProtocol
@Stability(Stable) public CfnStack.StreamingExperienceSettingsProperty.Builder preferredProtocol(String preferredProtocol) Sets the value ofCfnStack.StreamingExperienceSettingsProperty.getPreferredProtocol()- Parameters:
preferredProtocol- The preferred protocol that you want to use while streaming your application.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnStack.StreamingExperienceSettingsProperty>- Returns:
- a new instance of
CfnStack.StreamingExperienceSettingsProperty - Throws:
NullPointerException- if any required attribute was not provided
-