Interface GeoProximityLocation.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<GeoProximityLocation.Builder,,GeoProximityLocation> SdkBuilder<GeoProximityLocation.Builder,,GeoProximityLocation> SdkPojo
- Enclosing class:
GeoProximityLocation
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Web Services Region the resource you are directing DNS traffic to, is in.The bias increases or decreases the size of the geographic region from which Route 53 routes traffic to a resource.default GeoProximityLocation.Buildercoordinates(Consumer<Coordinates.Builder> coordinates) Contains the longitude and latitude for a geographic region.coordinates(Coordinates coordinates) Contains the longitude and latitude for a geographic region.localZoneGroup(String localZoneGroup) Specifies an Amazon Web Services Local Zone Group.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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-1athe Local Zone Group isus-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 Zoneus-west-2-den-1abelongs to the Local Zone Groupus-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-1athe Local Zone Group isus-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 Zoneus-west-2-den-1abelongs to the Local Zone Groupus-west-2-den-1.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
Contains the longitude and latitude for a geographic region.
This is a convenience method that creates an instance of theCoordinates.Builderavoiding the need to create one manually viaCoordinates.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocoordinates(Coordinates).- Parameters:
coordinates- a consumer that will call methods onCoordinates.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
Biasto 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
Biasto 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.
-
-