Class GeoProximityLocation
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<GeoProximityLocation.Builder,GeoProximityLocation>
(Resource record sets only): A complex type that lets you specify where your resources are located. Only one of
LocalZoneGroup, Coordinates, or Amazon Web ServicesRegion is allowed per
request at a time.
For more information about geoproximity routing, see Geoproximity routing in the Amazon Route 53 Developer Guide.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal StringThe Amazon Web Services Region the resource you are directing DNS traffic to, is in.final Integerbias()The bias increases or decreases the size of the geographic region from which Route 53 routes traffic to a resource.static GeoProximityLocation.Builderbuilder()final CoordinatesContains the longitude and latitude for a geographic region.final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringSpecifies an Amazon Web Services Local Zone Group.static Class<? extends GeoProximityLocation.Builder>final StringtoString()Returns a string representation of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
awsRegion
The Amazon Web Services Region the resource you are directing DNS traffic to, is in.
- Returns:
- The Amazon Web Services Region the resource you are directing DNS traffic to, is in.
-
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:
- 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.
-
coordinates
Contains the longitude and latitude for a geographic region.
- Returns:
- Contains the longitude and latitude for a geographic region.
-
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:
- 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.
-
-
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<GeoProximityLocation.Builder,GeoProximityLocation>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-