Interface GeoProximityLocation.Builder

All Superinterfaces:
Buildable, CopyableBuilder<GeoProximityLocation.Builder,GeoProximityLocation>, SdkBuilder<GeoProximityLocation.Builder,GeoProximityLocation>, SdkPojo
Enclosing class:
GeoProximityLocation

public static interface GeoProximityLocation.Builder extends SdkPojo, CopyableBuilder<GeoProximityLocation.Builder,GeoProximityLocation>
  • Method Details

    • awsRegion

      GeoProximityLocation.Builder awsRegion(String awsRegion)

      The Amazon Web Services Region the resource you are directing DNS traffic to, is in.

      Parameters:
      awsRegion - The Amazon Web Services Region the resource you are directing DNS traffic to, is in.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • localZoneGroup

      GeoProximityLocation.Builder localZoneGroup(String localZoneGroup)

      Specifies an Amazon Web Services Local Zone Group.

      A local Zone Group is usually the Local Zone code without the ending character. For example, if the Local Zone is us-east-1-bue-1a the Local Zone Group is us-east-1-bue-1.

      You can identify the Local Zones Group for a specific Local Zone by using the describe-availability-zones CLI command:

      This command returns: "GroupName": "us-west-2-den-1", specifying that the Local Zone us-west-2-den-1a belongs to the Local Zone Group us-west-2-den-1.

      Parameters:
      localZoneGroup - Specifies an Amazon Web Services Local Zone Group.

      A local Zone Group is usually the Local Zone code without the ending character. For example, if the Local Zone is us-east-1-bue-1a the Local Zone Group is us-east-1-bue-1.

      You can identify the Local Zones Group for a specific Local Zone by using the describe-availability-zones CLI command:

      This command returns: "GroupName": "us-west-2-den-1", specifying that the Local Zone us-west-2-den-1a belongs to the Local Zone Group us-west-2-den-1.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • coordinates

      GeoProximityLocation.Builder coordinates(Coordinates coordinates)

      Contains the longitude and latitude for a geographic region.

      Parameters:
      coordinates - Contains the longitude and latitude for a geographic region.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • coordinates

      default GeoProximityLocation.Builder coordinates(Consumer<Coordinates.Builder> coordinates)

      Contains the longitude and latitude for a geographic region.

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

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

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

      The bias increases or decreases the size of the geographic region from which Route 53 routes traffic to a resource.

      To use Bias to change the size of the geographic region, specify the applicable value for the bias:

      • To expand the size of the geographic region from which Route 53 routes traffic to a resource, specify a positive integer from 1 to 99 for the bias. Route 53 shrinks the size of adjacent regions.

      • To shrink the size of the geographic region from which Route 53 routes traffic to a resource, specify a negative bias of -1 to -99. Route 53 expands the size of adjacent regions.

      Parameters:
      bias - The bias increases or decreases the size of the geographic region from which Route 53 routes traffic to a resource.

      To use Bias to change the size of the geographic region, specify the applicable value for the bias:

      • To expand the size of the geographic region from which Route 53 routes traffic to a resource, specify a positive integer from 1 to 99 for the bias. Route 53 shrinks the size of adjacent regions.

      • To shrink the size of the geographic region from which Route 53 routes traffic to a resource, specify a negative bias of -1 to -99. Route 53 expands the size of adjacent regions.

      Returns:
      Returns a reference to this object so that method calls can be chained together.