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