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
Constructors -
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
- A descriptive name for the custom location. This parameter is required.- Returns:
this
-
tags
Sets the value ofCfnLocationProps.getTags()
- Parameters:
tags
- A list of labels to assign to the new resource. Tags are developer-defined key-value pairs. Tagging AWS resources are useful for resource management, access management, and cost allocation. For more information, see Tagging AWS Resources in the AWS General Rareference .- 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
-