@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ClientLocation extends Object implements Serializable, Cloneable, StructuredPojo
The impacted location, such as a city, that Amazon Web Services clients access application resources from.
Constructor and Description |
---|
ClientLocation() |
Modifier and Type | Method and Description |
---|---|
ClientLocation |
clone() |
boolean |
equals(Object obj) |
String |
getASName()
The name of the internet service provider (ISP) or network (ASN).
|
Long |
getASNumber()
The Autonomous System Number (ASN) of the network at an impacted location.
|
String |
getCity()
The name of the city where the internet event is located.
|
String |
getCountry()
The name of the country where the internet event is located.
|
Double |
getLatitude()
The latitude where the internet event is located.
|
Double |
getLongitude()
The longitude where the internet event is located.
|
String |
getMetro()
The metro area where the health event is located.
|
String |
getSubdivision()
The subdivision location where the health event is located.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setASName(String aSName)
The name of the internet service provider (ISP) or network (ASN).
|
void |
setASNumber(Long aSNumber)
The Autonomous System Number (ASN) of the network at an impacted location.
|
void |
setCity(String city)
The name of the city where the internet event is located.
|
void |
setCountry(String country)
The name of the country where the internet event is located.
|
void |
setLatitude(Double latitude)
The latitude where the internet event is located.
|
void |
setLongitude(Double longitude)
The longitude where the internet event is located.
|
void |
setMetro(String metro)
The metro area where the health event is located.
|
void |
setSubdivision(String subdivision)
The subdivision location where the health event is located.
|
String |
toString()
Returns a string representation of this object.
|
ClientLocation |
withASName(String aSName)
The name of the internet service provider (ISP) or network (ASN).
|
ClientLocation |
withASNumber(Long aSNumber)
The Autonomous System Number (ASN) of the network at an impacted location.
|
ClientLocation |
withCity(String city)
The name of the city where the internet event is located.
|
ClientLocation |
withCountry(String country)
The name of the country where the internet event is located.
|
ClientLocation |
withLatitude(Double latitude)
The latitude where the internet event is located.
|
ClientLocation |
withLongitude(Double longitude)
The longitude where the internet event is located.
|
ClientLocation |
withMetro(String metro)
The metro area where the health event is located.
|
ClientLocation |
withSubdivision(String subdivision)
The subdivision location where the health event is located.
|
public void setASName(String aSName)
The name of the internet service provider (ISP) or network (ASN).
aSName
- The name of the internet service provider (ISP) or network (ASN).public String getASName()
The name of the internet service provider (ISP) or network (ASN).
public ClientLocation withASName(String aSName)
The name of the internet service provider (ISP) or network (ASN).
aSName
- The name of the internet service provider (ISP) or network (ASN).public void setASNumber(Long aSNumber)
The Autonomous System Number (ASN) of the network at an impacted location.
aSNumber
- The Autonomous System Number (ASN) of the network at an impacted location.public Long getASNumber()
The Autonomous System Number (ASN) of the network at an impacted location.
public ClientLocation withASNumber(Long aSNumber)
The Autonomous System Number (ASN) of the network at an impacted location.
aSNumber
- The Autonomous System Number (ASN) of the network at an impacted location.public void setCountry(String country)
The name of the country where the internet event is located.
country
- The name of the country where the internet event is located.public String getCountry()
The name of the country where the internet event is located.
public ClientLocation withCountry(String country)
The name of the country where the internet event is located.
country
- The name of the country where the internet event is located.public void setSubdivision(String subdivision)
The subdivision location where the health event is located. The subdivision usually maps to states in most countries (including the United States). For United Kingdom, it maps to a country (England, Scotland, Wales) or province (Northern Ireland).
subdivision
- The subdivision location where the health event is located. The subdivision usually maps to states in most
countries (including the United States). For United Kingdom, it maps to a country (England, Scotland,
Wales) or province (Northern Ireland).public String getSubdivision()
The subdivision location where the health event is located. The subdivision usually maps to states in most countries (including the United States). For United Kingdom, it maps to a country (England, Scotland, Wales) or province (Northern Ireland).
public ClientLocation withSubdivision(String subdivision)
The subdivision location where the health event is located. The subdivision usually maps to states in most countries (including the United States). For United Kingdom, it maps to a country (England, Scotland, Wales) or province (Northern Ireland).
subdivision
- The subdivision location where the health event is located. The subdivision usually maps to states in most
countries (including the United States). For United Kingdom, it maps to a country (England, Scotland,
Wales) or province (Northern Ireland).public void setMetro(String metro)
The metro area where the health event is located.
Metro indicates a metropolitan region in the United States, such as the region around New York City. In non-US countries, this is a second-level subdivision. For example, in the United Kingdom, it could be a county, a London borough, a unitary authority, council area, and so on.
metro
- The metro area where the health event is located.
Metro indicates a metropolitan region in the United States, such as the region around New York City. In non-US countries, this is a second-level subdivision. For example, in the United Kingdom, it could be a county, a London borough, a unitary authority, council area, and so on.
public String getMetro()
The metro area where the health event is located.
Metro indicates a metropolitan region in the United States, such as the region around New York City. In non-US countries, this is a second-level subdivision. For example, in the United Kingdom, it could be a county, a London borough, a unitary authority, council area, and so on.
Metro indicates a metropolitan region in the United States, such as the region around New York City. In non-US countries, this is a second-level subdivision. For example, in the United Kingdom, it could be a county, a London borough, a unitary authority, council area, and so on.
public ClientLocation withMetro(String metro)
The metro area where the health event is located.
Metro indicates a metropolitan region in the United States, such as the region around New York City. In non-US countries, this is a second-level subdivision. For example, in the United Kingdom, it could be a county, a London borough, a unitary authority, council area, and so on.
metro
- The metro area where the health event is located.
Metro indicates a metropolitan region in the United States, such as the region around New York City. In non-US countries, this is a second-level subdivision. For example, in the United Kingdom, it could be a county, a London borough, a unitary authority, council area, and so on.
public void setCity(String city)
The name of the city where the internet event is located.
city
- The name of the city where the internet event is located.public String getCity()
The name of the city where the internet event is located.
public ClientLocation withCity(String city)
The name of the city where the internet event is located.
city
- The name of the city where the internet event is located.public void setLatitude(Double latitude)
The latitude where the internet event is located.
latitude
- The latitude where the internet event is located.public Double getLatitude()
The latitude where the internet event is located.
public ClientLocation withLatitude(Double latitude)
The latitude where the internet event is located.
latitude
- The latitude where the internet event is located.public void setLongitude(Double longitude)
The longitude where the internet event is located.
longitude
- The longitude where the internet event is located.public Double getLongitude()
The longitude where the internet event is located.
public ClientLocation withLongitude(Double longitude)
The longitude where the internet event is located.
longitude
- The longitude where the internet event is located.public String toString()
toString
in class Object
Object.toString()
public ClientLocation clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.