Class GeoProximityLocation
- java.lang.Object
-
- software.amazon.awssdk.services.route53.model.GeoProximityLocation
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<GeoProximityLocation.Builder,GeoProximityLocation>
@Generated("software.amazon.awssdk:codegen") public final class GeoProximityLocation extends Object implements SdkPojo, Serializable, 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, orAmazon Web ServicesRegionis allowed per request at a time.For more information about geoproximity routing, see Geoproximity routing in the Amazon Route 53 Developer Guide.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGeoProximityLocation.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringawsRegion()The Amazon Web Services Region the resource you are directing DNS traffic to, is in.Integerbias()The bias increases or decreases the size of the geographic region from which Route 53 routes traffic to a resource.static GeoProximityLocation.Builderbuilder()Coordinatescoordinates()Contains the longitude and latitude for a geographic region.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringlocalZoneGroup()Specifies an Amazon Web Services Local Zone Group.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends GeoProximityLocation.Builder>serializableBuilderClass()GeoProximityLocation.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
awsRegion
public final String 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
public final 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-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
public final Coordinates coordinates()
Contains the longitude and latitude for a geographic region.
- Returns:
- Contains the longitude and latitude for a geographic region.
-
bias
public final Integer 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
public GeoProximityLocation.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GeoProximityLocation.Builder,GeoProximityLocation>
-
builder
public static GeoProximityLocation.Builder builder()
-
serializableBuilderClass
public static Class<? extends GeoProximityLocation.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String 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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-