@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GeoLocationTarget extends Object implements Serializable, Cloneable, StructuredPojo
A geolocation target that you select to index. Each geolocation target contains a name
and
order
key-value pair that specifies the geolocation target fields.
Constructor and Description |
---|
GeoLocationTarget() |
Modifier and Type | Method and Description |
---|---|
GeoLocationTarget |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The
name of the geolocation target field. |
String |
getOrder()
The
order of the geolocation target field. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setName(String name)
The
name of the geolocation target field. |
void |
setOrder(String order)
The
order of the geolocation target field. |
String |
toString()
Returns a string representation of this object.
|
GeoLocationTarget |
withName(String name)
The
name of the geolocation target field. |
GeoLocationTarget |
withOrder(String order)
The
order of the geolocation target field. |
GeoLocationTarget |
withOrder(TargetFieldOrder order)
The
order of the geolocation target field. |
public void setName(String name)
The name
of the geolocation target field. If the target field is part of a named shadow, you must
select the named shadow using the namedShadow
filter.
name
- The name
of the geolocation target field. If the target field is part of a named shadow, you
must select the named shadow using the namedShadow
filter.public String getName()
The name
of the geolocation target field. If the target field is part of a named shadow, you must
select the named shadow using the namedShadow
filter.
name
of the geolocation target field. If the target field is part of a named shadow, you
must select the named shadow using the namedShadow
filter.public GeoLocationTarget withName(String name)
The name
of the geolocation target field. If the target field is part of a named shadow, you must
select the named shadow using the namedShadow
filter.
name
- The name
of the geolocation target field. If the target field is part of a named shadow, you
must select the named shadow using the namedShadow
filter.public void setOrder(String order)
The order
of the geolocation target field. This field is optional. The default value is
LatLon
.
order
- The order
of the geolocation target field. This field is optional. The default value is
LatLon
.TargetFieldOrder
public String getOrder()
The order
of the geolocation target field. This field is optional. The default value is
LatLon
.
order
of the geolocation target field. This field is optional. The default value is
LatLon
.TargetFieldOrder
public GeoLocationTarget withOrder(String order)
The order
of the geolocation target field. This field is optional. The default value is
LatLon
.
order
- The order
of the geolocation target field. This field is optional. The default value is
LatLon
.TargetFieldOrder
public GeoLocationTarget withOrder(TargetFieldOrder order)
The order
of the geolocation target field. This field is optional. The default value is
LatLon
.
order
- The order
of the geolocation target field. This field is optional. The default value is
LatLon
.TargetFieldOrder
public String toString()
toString
in class Object
Object.toString()
public GeoLocationTarget clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.