Class CfnGameSessionQueue.FilterConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.gamelift.CfnGameSessionQueue.FilterConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnGameSessionQueue.FilterConfigurationProperty>
- Enclosing interface:
CfnGameSessionQueue.FilterConfigurationProperty
@Stability(Stable)
public static final class CfnGameSessionQueue.FilterConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnGameSessionQueue.FilterConfigurationProperty>
A builder for
CfnGameSessionQueue.FilterConfigurationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionallowedLocations
(List<String> allowedLocations) Sets the value ofCfnGameSessionQueue.FilterConfigurationProperty.getAllowedLocations()
build()
Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
allowedLocations
@Stability(Stable) public CfnGameSessionQueue.FilterConfigurationProperty.Builder allowedLocations(List<String> allowedLocations) Sets the value ofCfnGameSessionQueue.FilterConfigurationProperty.getAllowedLocations()
- Parameters:
allowedLocations
- A list of locations to allow game session placement in, in the form of AWS Region codes such asus-west-2
.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnGameSessionQueue.FilterConfigurationProperty>
- Returns:
- a new instance of
CfnGameSessionQueue.FilterConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-