Class CfnStreamGroupProps.Builder
java.lang.Object
software.amazon.awscdk.services.gameliftstreams.CfnStreamGroupProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnStreamGroupProps>
- Enclosing interface:
CfnStreamGroupProps
@Stability(Stable)
public static final class CfnStreamGroupProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnStreamGroupProps>
A builder for
CfnStreamGroupProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.defaultApplication(IResolvable defaultApplication) Sets the value ofCfnStreamGroupProps.getDefaultApplication()defaultApplication(CfnStreamGroup.DefaultApplicationProperty defaultApplication) Sets the value ofCfnStreamGroupProps.getDefaultApplication()description(String description) Sets the value ofCfnStreamGroupProps.getDescription()locationConfigurations(List<? extends Object> locationConfigurations) Sets the value ofCfnStreamGroupProps.getLocationConfigurations()locationConfigurations(IResolvable locationConfigurations) Sets the value ofCfnStreamGroupProps.getLocationConfigurations()streamClass(String streamClass) Sets the value ofCfnStreamGroupProps.getStreamClass()Sets the value ofCfnStreamGroupProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
description
Sets the value ofCfnStreamGroupProps.getDescription()- Parameters:
description- the value to be set. This parameter is required.- Returns:
this
-
locationConfigurations
@Stability(Stable) public CfnStreamGroupProps.Builder locationConfigurations(IResolvable locationConfigurations) Sets the value ofCfnStreamGroupProps.getLocationConfigurations()- Parameters:
locationConfigurations- the value to be set. This parameter is required.- Returns:
this
-
locationConfigurations
@Stability(Stable) public CfnStreamGroupProps.Builder locationConfigurations(List<? extends Object> locationConfigurations) Sets the value ofCfnStreamGroupProps.getLocationConfigurations()- Parameters:
locationConfigurations- the value to be set. This parameter is required.- Returns:
this
-
streamClass
Sets the value ofCfnStreamGroupProps.getStreamClass()- Parameters:
streamClass- the value to be set. This parameter is required.- Returns:
this
-
defaultApplication
@Stability(Stable) public CfnStreamGroupProps.Builder defaultApplication(IResolvable defaultApplication) Sets the value ofCfnStreamGroupProps.getDefaultApplication()- Parameters:
defaultApplication- the value to be set.- Returns:
this
-
defaultApplication
@Stability(Stable) public CfnStreamGroupProps.Builder defaultApplication(CfnStreamGroup.DefaultApplicationProperty defaultApplication) Sets the value ofCfnStreamGroupProps.getDefaultApplication()- Parameters:
defaultApplication- the value to be set.- Returns:
this
-
tags
Sets the value ofCfnStreamGroupProps.getTags()- Parameters:
tags- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnStreamGroupProps>- Returns:
- a new instance of
CfnStreamGroupProps - Throws:
NullPointerException- if any required attribute was not provided
-