Interface LocationModel.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<LocationModel.Builder,
,LocationModel> SdkBuilder<LocationModel.Builder,
,LocationModel> SdkPojo
- Enclosing class:
LocationModel
@Mutable
@NotThreadSafe
public static interface LocationModel.Builder
extends SdkPojo, CopyableBuilder<LocationModel.Builder,LocationModel>
-
Method Summary
Modifier and TypeMethodDescriptionlocationArn
(String locationArn) The Amazon Resource Name (ARN) that is assigned to a custom location resource and uniquely identifies it.locationName
(String locationName) The location's name.default LocationModel.Builder
pingBeacon
(Consumer<PingBeacon.Builder> pingBeacon) Information about the UDP ping beacon for this location.pingBeacon
(PingBeacon pingBeacon) Information about the UDP ping beacon for this location.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
locationName
The location's name.
- Parameters:
locationName
- The location's name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
locationArn
The Amazon Resource Name (ARN) that is assigned to a custom location resource and uniquely identifies it. ARNs are unique across all Regions. Format is
arn:aws:gamelift:<region>::location/location-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912
.- Parameters:
locationArn
- The Amazon Resource Name (ARN) that is assigned to a custom location resource and uniquely identifies it. ARNs are unique across all Regions. Format isarn:aws:gamelift:<region>::location/location-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pingBeacon
Information about the UDP ping beacon for this location.
- Parameters:
pingBeacon
- Information about the UDP ping beacon for this location.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pingBeacon
Information about the UDP ping beacon for this location.
This is a convenience method that creates an instance of thePingBeacon.Builder
avoiding the need to create one manually viaPingBeacon.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topingBeacon(PingBeacon)
.- Parameters:
pingBeacon
- a consumer that will call methods onPingBeacon.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-