@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class NewGeolocationDetail extends Object implements Serializable, Cloneable, StructuredPojo
Details new geolocations used either at the resource or account level. For example, lists an observed geolocation that is an infrequent or unused location based on previous user activity.
Constructor and Description |
---|
NewGeolocationDetail() |
Modifier and Type | Method and Description |
---|---|
NewGeolocationDetail |
clone() |
boolean |
equals(Object obj) |
String |
getIpAddress()
IP address using which the resource was accessed.
|
Boolean |
getIsNewForEntireAccount()
Checks if the geolocation is new for the entire account.
|
String |
getLocation()
Location where the resource was accessed.
|
int |
hashCode() |
Boolean |
isNewForEntireAccount()
Checks if the geolocation is new for the entire account.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setIpAddress(String ipAddress)
IP address using which the resource was accessed.
|
void |
setIsNewForEntireAccount(Boolean isNewForEntireAccount)
Checks if the geolocation is new for the entire account.
|
void |
setLocation(String location)
Location where the resource was accessed.
|
String |
toString()
Returns a string representation of this object.
|
NewGeolocationDetail |
withIpAddress(String ipAddress)
IP address using which the resource was accessed.
|
NewGeolocationDetail |
withIsNewForEntireAccount(Boolean isNewForEntireAccount)
Checks if the geolocation is new for the entire account.
|
NewGeolocationDetail |
withLocation(String location)
Location where the resource was accessed.
|
public void setLocation(String location)
Location where the resource was accessed.
location
- Location where the resource was accessed.public String getLocation()
Location where the resource was accessed.
public NewGeolocationDetail withLocation(String location)
Location where the resource was accessed.
location
- Location where the resource was accessed.public void setIpAddress(String ipAddress)
IP address using which the resource was accessed.
ipAddress
- IP address using which the resource was accessed.public String getIpAddress()
IP address using which the resource was accessed.
public NewGeolocationDetail withIpAddress(String ipAddress)
IP address using which the resource was accessed.
ipAddress
- IP address using which the resource was accessed.public void setIsNewForEntireAccount(Boolean isNewForEntireAccount)
Checks if the geolocation is new for the entire account.
isNewForEntireAccount
- Checks if the geolocation is new for the entire account.public Boolean getIsNewForEntireAccount()
Checks if the geolocation is new for the entire account.
public NewGeolocationDetail withIsNewForEntireAccount(Boolean isNewForEntireAccount)
Checks if the geolocation is new for the entire account.
isNewForEntireAccount
- Checks if the geolocation is new for the entire account.public Boolean isNewForEntireAccount()
Checks if the geolocation is new for the entire account.
public String toString()
toString
in class Object
Object.toString()
public NewGeolocationDetail clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.