Interface LocationModel.Builder

  • Method Details

    • locationName

      LocationModel.Builder locationName(String 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

      LocationModel.Builder locationArn(String 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 is arn: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

      LocationModel.Builder pingBeacon(PingBeacon 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

      default LocationModel.Builder pingBeacon(Consumer<PingBeacon.Builder> pingBeacon)

      Information about the UDP ping beacon for this location.

      This is a convenience method that creates an instance of the PingBeacon.Builder avoiding the need to create one manually via PingBeacon.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to pingBeacon(PingBeacon).

      Parameters:
      pingBeacon - a consumer that will call methods on PingBeacon.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: