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 String
The Amazon Web Services Region the resource you are directing DNS traffic to, is in.final Integer
bias()
The bias increases or decreases the size of the geographic region from which Route 53 routes traffic to a resource.static GeoProximityLocation.Builder
builder()
final Coordinates
Contains the longitude and latitude for a geographic region.final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final int
hashCode()
final String
Specifies an Amazon Web Services Local Zone Group.static Class
<? extends GeoProximityLocation.Builder> Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.Methods 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-1a
the 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-1a
belongs 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-1a
the 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-1a
belongs 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
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:
- 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.
-
-
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<GeoProximityLocation.Builder,
GeoProximityLocation> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToField
in interfaceSdkPojo
- Returns:
- The mapping between the field name and its corresponding field.
-