Class CfnLocation.Builder
java.lang.Object
software.amazon.awscdk.services.gamelift.CfnLocation.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLocation>
- Enclosing class:
CfnLocation
@Stability(Stable)
public static final class CfnLocation.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLocation>
A fluent builder for
CfnLocation
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static CfnLocation.Builder
locationName
(String locationName) A descriptive name for the custom location.A list of labels to assign to the new resource.
-
Method Details
-
create
@Stability(Stable) public static CfnLocation.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnLocation.Builder
.
-
locationName
A descriptive name for the custom location.- Parameters:
locationName
- A descriptive name for the custom location. This parameter is required.- Returns:
this
- See Also:
-
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 .
- Parameters:
tags
- A list of labels to assign to the new resource. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnLocation>
- Returns:
- a newly built instance of
CfnLocation
.
-