Class EnrichmentIpGeodataInner
java.lang.Object
com.azure.resourcemanager.securityinsights.fluent.models.EnrichmentIpGeodataInner
Geodata information for a given IP address.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionasn()
Get the asn property: The autonomous system number associated with this IP address.carrier()
Get the carrier property: The name of the carrier for this IP address.city()
Get the city property: The city this IP address is located in.cityCf()
Get the cityCf property: A numeric rating of confidence that the value in the 'city' field is correct, on a scale of 0-100.Get the continent property: The continent this IP address is located on.country()
Get the country property: The county this IP address is located in.Get the countryCf property: A numeric rating of confidence that the value in the 'country' field is correct on a scale of 0-100.ipAddr()
Get the ipAddr property: The dotted-decimal or colon-separated string representation of the IP address.Get the ipRoutingType property: A description of the connection type of this IP address.latitude()
Get the latitude property: The latitude of this IP address.Get the longitude property: The longitude of this IP address.Get the organization property: The name of the organization for this IP address.Get the organizationType property: The type of the organization for this IP address.region()
Get the region property: The geographic region this IP address is located in.state()
Get the state property: The state this IP address is located in.stateCf()
Get the stateCf property: A numeric rating of confidence that the value in the 'state' field is correct on a scale of 0-100.Get the stateCode property: The abbreviated name for the state this IP address is located in.void
validate()
Validates the instance.Set the asn property: The autonomous system number associated with this IP address.withCarrier
(String carrier) Set the carrier property: The name of the carrier for this IP address.Set the city property: The city this IP address is located in.withCityCf
(Integer cityCf) Set the cityCf property: A numeric rating of confidence that the value in the 'city' field is correct, on a scale of 0-100.withContinent
(String continent) Set the continent property: The continent this IP address is located on.withCountry
(String country) Set the country property: The county this IP address is located in.withCountryCf
(Integer countryCf) Set the countryCf property: A numeric rating of confidence that the value in the 'country' field is correct on a scale of 0-100.withIpAddr
(String ipAddr) Set the ipAddr property: The dotted-decimal or colon-separated string representation of the IP address.withIpRoutingType
(String ipRoutingType) Set the ipRoutingType property: A description of the connection type of this IP address.withLatitude
(String latitude) Set the latitude property: The latitude of this IP address.withLongitude
(String longitude) Set the longitude property: The longitude of this IP address.withOrganization
(String organization) Set the organization property: The name of the organization for this IP address.withOrganizationType
(String organizationType) Set the organizationType property: The type of the organization for this IP address.withRegion
(String region) Set the region property: The geographic region this IP address is located in.Set the state property: The state this IP address is located in.withStateCf
(Integer stateCf) Set the stateCf property: A numeric rating of confidence that the value in the 'state' field is correct on a scale of 0-100.withStateCode
(String stateCode) Set the stateCode property: The abbreviated name for the state this IP address is located in.
-
Constructor Details
-
EnrichmentIpGeodataInner
public EnrichmentIpGeodataInner()
-
-
Method Details
-
asn
Get the asn property: The autonomous system number associated with this IP address.- Returns:
- the asn value.
-
withAsn
Set the asn property: The autonomous system number associated with this IP address.- Parameters:
asn
- the asn value to set.- Returns:
- the EnrichmentIpGeodataInner object itself.
-
carrier
Get the carrier property: The name of the carrier for this IP address.- Returns:
- the carrier value.
-
withCarrier
Set the carrier property: The name of the carrier for this IP address.- Parameters:
carrier
- the carrier value to set.- Returns:
- the EnrichmentIpGeodataInner object itself.
-
city
Get the city property: The city this IP address is located in.- Returns:
- the city value.
-
withCity
Set the city property: The city this IP address is located in.- Parameters:
city
- the city value to set.- Returns:
- the EnrichmentIpGeodataInner object itself.
-
cityCf
Get the cityCf property: A numeric rating of confidence that the value in the 'city' field is correct, on a scale of 0-100.- Returns:
- the cityCf value.
-
withCityCf
Set the cityCf property: A numeric rating of confidence that the value in the 'city' field is correct, on a scale of 0-100.- Parameters:
cityCf
- the cityCf value to set.- Returns:
- the EnrichmentIpGeodataInner object itself.
-
continent
Get the continent property: The continent this IP address is located on.- Returns:
- the continent value.
-
withContinent
Set the continent property: The continent this IP address is located on.- Parameters:
continent
- the continent value to set.- Returns:
- the EnrichmentIpGeodataInner object itself.
-
country
Get the country property: The county this IP address is located in.- Returns:
- the country value.
-
withCountry
Set the country property: The county this IP address is located in.- Parameters:
country
- the country value to set.- Returns:
- the EnrichmentIpGeodataInner object itself.
-
countryCf
Get the countryCf property: A numeric rating of confidence that the value in the 'country' field is correct on a scale of 0-100.- Returns:
- the countryCf value.
-
withCountryCf
Set the countryCf property: A numeric rating of confidence that the value in the 'country' field is correct on a scale of 0-100.- Parameters:
countryCf
- the countryCf value to set.- Returns:
- the EnrichmentIpGeodataInner object itself.
-
ipAddr
Get the ipAddr property: The dotted-decimal or colon-separated string representation of the IP address.- Returns:
- the ipAddr value.
-
withIpAddr
Set the ipAddr property: The dotted-decimal or colon-separated string representation of the IP address.- Parameters:
ipAddr
- the ipAddr value to set.- Returns:
- the EnrichmentIpGeodataInner object itself.
-
ipRoutingType
Get the ipRoutingType property: A description of the connection type of this IP address.- Returns:
- the ipRoutingType value.
-
withIpRoutingType
Set the ipRoutingType property: A description of the connection type of this IP address.- Parameters:
ipRoutingType
- the ipRoutingType value to set.- Returns:
- the EnrichmentIpGeodataInner object itself.
-
latitude
Get the latitude property: The latitude of this IP address.- Returns:
- the latitude value.
-
withLatitude
Set the latitude property: The latitude of this IP address.- Parameters:
latitude
- the latitude value to set.- Returns:
- the EnrichmentIpGeodataInner object itself.
-
longitude
Get the longitude property: The longitude of this IP address.- Returns:
- the longitude value.
-
withLongitude
Set the longitude property: The longitude of this IP address.- Parameters:
longitude
- the longitude value to set.- Returns:
- the EnrichmentIpGeodataInner object itself.
-
organization
Get the organization property: The name of the organization for this IP address.- Returns:
- the organization value.
-
withOrganization
Set the organization property: The name of the organization for this IP address.- Parameters:
organization
- the organization value to set.- Returns:
- the EnrichmentIpGeodataInner object itself.
-
organizationType
Get the organizationType property: The type of the organization for this IP address.- Returns:
- the organizationType value.
-
withOrganizationType
Set the organizationType property: The type of the organization for this IP address.- Parameters:
organizationType
- the organizationType value to set.- Returns:
- the EnrichmentIpGeodataInner object itself.
-
region
Get the region property: The geographic region this IP address is located in.- Returns:
- the region value.
-
withRegion
Set the region property: The geographic region this IP address is located in.- Parameters:
region
- the region value to set.- Returns:
- the EnrichmentIpGeodataInner object itself.
-
state
Get the state property: The state this IP address is located in.- Returns:
- the state value.
-
withState
Set the state property: The state this IP address is located in.- Parameters:
state
- the state value to set.- Returns:
- the EnrichmentIpGeodataInner object itself.
-
stateCf
Get the stateCf property: A numeric rating of confidence that the value in the 'state' field is correct on a scale of 0-100.- Returns:
- the stateCf value.
-
withStateCf
Set the stateCf property: A numeric rating of confidence that the value in the 'state' field is correct on a scale of 0-100.- Parameters:
stateCf
- the stateCf value to set.- Returns:
- the EnrichmentIpGeodataInner object itself.
-
stateCode
Get the stateCode property: The abbreviated name for the state this IP address is located in.- Returns:
- the stateCode value.
-
withStateCode
Set the stateCode property: The abbreviated name for the state this IP address is located in.- Parameters:
stateCode
- the stateCode value to set.- Returns:
- the EnrichmentIpGeodataInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-