Class CfnLocationProps.Builder
java.lang.Object
software.amazon.awscdk.services.gamelift.CfnLocationProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLocationProps>
- Enclosing interface:
CfnLocationProps
@Stability(Stable)
public static final class CfnLocationProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLocationProps>
A builder for
CfnLocationProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.locationName
(String locationName) Sets the value ofCfnLocationProps.getLocationName()
Sets the value ofCfnLocationProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
locationName
Sets the value ofCfnLocationProps.getLocationName()
- Parameters:
locationName
- The location's name. This parameter is required.- Returns:
this
-
tags
Sets the value ofCfnLocationProps.getTags()
- Parameters:
tags
-AWS::GameLift::Location.Tags
.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnLocationProps>
- Returns:
- a new instance of
CfnLocationProps
- Throws:
NullPointerException
- if any required attribute was not provided
-