Class EnrichmentIpGeodataInner

java.lang.Object
com.azure.resourcemanager.securityinsights.fluent.models.EnrichmentIpGeodataInner

public final class EnrichmentIpGeodataInner extends Object
Geodata information for a given IP address.
  • Constructor Details

    • EnrichmentIpGeodataInner

      public EnrichmentIpGeodataInner()
  • Method Details

    • asn

      public String asn()
      Get the asn property: The autonomous system number associated with this IP address.
      Returns:
      the asn value.
    • withAsn

      public EnrichmentIpGeodataInner withAsn(String asn)
      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

      public String carrier()
      Get the carrier property: The name of the carrier for this IP address.
      Returns:
      the carrier value.
    • withCarrier

      public EnrichmentIpGeodataInner withCarrier(String carrier)
      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

      public String city()
      Get the city property: The city this IP address is located in.
      Returns:
      the city value.
    • withCity

      public EnrichmentIpGeodataInner withCity(String city)
      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

      public Integer 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

      public EnrichmentIpGeodataInner 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.
      Parameters:
      cityCf - the cityCf value to set.
      Returns:
      the EnrichmentIpGeodataInner object itself.
    • continent

      public String continent()
      Get the continent property: The continent this IP address is located on.
      Returns:
      the continent value.
    • withContinent

      public EnrichmentIpGeodataInner withContinent(String continent)
      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

      public String country()
      Get the country property: The county this IP address is located in.
      Returns:
      the country value.
    • withCountry

      public EnrichmentIpGeodataInner withCountry(String country)
      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

      public Integer 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

      public EnrichmentIpGeodataInner 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.
      Parameters:
      countryCf - the countryCf value to set.
      Returns:
      the EnrichmentIpGeodataInner object itself.
    • ipAddr

      public String ipAddr()
      Get the ipAddr property: The dotted-decimal or colon-separated string representation of the IP address.
      Returns:
      the ipAddr value.
    • withIpAddr

      public EnrichmentIpGeodataInner withIpAddr(String ipAddr)
      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

      public String ipRoutingType()
      Get the ipRoutingType property: A description of the connection type of this IP address.
      Returns:
      the ipRoutingType value.
    • withIpRoutingType

      public EnrichmentIpGeodataInner withIpRoutingType(String ipRoutingType)
      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

      public String latitude()
      Get the latitude property: The latitude of this IP address.
      Returns:
      the latitude value.
    • withLatitude

      public EnrichmentIpGeodataInner withLatitude(String latitude)
      Set the latitude property: The latitude of this IP address.
      Parameters:
      latitude - the latitude value to set.
      Returns:
      the EnrichmentIpGeodataInner object itself.
    • longitude

      public String longitude()
      Get the longitude property: The longitude of this IP address.
      Returns:
      the longitude value.
    • withLongitude

      public EnrichmentIpGeodataInner withLongitude(String longitude)
      Set the longitude property: The longitude of this IP address.
      Parameters:
      longitude - the longitude value to set.
      Returns:
      the EnrichmentIpGeodataInner object itself.
    • organization

      public String organization()
      Get the organization property: The name of the organization for this IP address.
      Returns:
      the organization value.
    • withOrganization

      public EnrichmentIpGeodataInner withOrganization(String organization)
      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

      public String organizationType()
      Get the organizationType property: The type of the organization for this IP address.
      Returns:
      the organizationType value.
    • withOrganizationType

      public EnrichmentIpGeodataInner withOrganizationType(String organizationType)
      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

      public String region()
      Get the region property: The geographic region this IP address is located in.
      Returns:
      the region value.
    • withRegion

      public EnrichmentIpGeodataInner withRegion(String region)
      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

      public String state()
      Get the state property: The state this IP address is located in.
      Returns:
      the state value.
    • withState

      public EnrichmentIpGeodataInner withState(String state)
      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

      public Integer 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

      public EnrichmentIpGeodataInner 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.
      Parameters:
      stateCf - the stateCf value to set.
      Returns:
      the EnrichmentIpGeodataInner object itself.
    • stateCode

      public String stateCode()
      Get the stateCode property: The abbreviated name for the state this IP address is located in.
      Returns:
      the stateCode value.
    • withStateCode

      public EnrichmentIpGeodataInner withStateCode(String stateCode)
      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.