Package com.oracle.bmc.cloudguard.model
Class SightingEndpointSummary
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.cloudguard.model.SightingEndpointSummary
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20200131") public final class SightingEndpointSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
A summary of sighting endpoints.
Note: Objects should always be created or deserialized using theSightingEndpointSummary.Builder
. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of theSightingEndpointSummary.Builder
, which maintain a set of all explicitly set fields calledSightingEndpointSummary.Builder.__explicitlySet__
. ThehashCode()
andequals(Object)
methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SightingEndpointSummary.Builder
-
Constructor Summary
Constructors Constructor Description SightingEndpointSummary(String id, String sightingId, String problemId, String ipAddress, String ipAddressType, String ipClassificationType, String country, Double latitude, Double longitude, String asnNumber, List<String> regions, List<String> services, Date timeFirstDetected, Date timeLastDetected, Date timeFirstOccurred, Date timeLastOccurred)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SightingEndpointSummary.Builder
builder()
Create a new builder.boolean
equals(Object o)
String
getAsnNumber()
ASN number of sightingString
getCountry()
Country involved in sightingString
getId()
Unique identifier for sighting endpointsString
getIpAddress()
IP address involved in sightingString
getIpAddressType()
Type of IP address involved in sightingString
getIpClassificationType()
IP address classification typeDouble
getLatitude()
Latitude of sightingDouble
getLongitude()
Longitude of sightingString
getProblemId()
Problem ID for sighting endpointsList<String>
getRegions()
List of regions where activities were performed from this IP addressList<String>
getServices()
List of services where activities were performed from this IP addressString
getSightingId()
Sighting ID for sighting endpointsDate
getTimeFirstDetected()
Time the activities were first detected.Date
getTimeFirstOccurred()
Time the activities were first performed.Date
getTimeLastDetected()
Time the activities were last detected.Date
getTimeLastOccurred()
Time the activities were last performed.int
hashCode()
SightingEndpointSummary.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
SightingEndpointSummary
@Deprecated @ConstructorProperties({"id","sightingId","problemId","ipAddress","ipAddressType","ipClassificationType","country","latitude","longitude","asnNumber","regions","services","timeFirstDetected","timeLastDetected","timeFirstOccurred","timeLastOccurred"}) public SightingEndpointSummary(String id, String sightingId, String problemId, String ipAddress, String ipAddressType, String ipClassificationType, String country, Double latitude, Double longitude, String asnNumber, List<String> regions, List<String> services, Date timeFirstDetected, Date timeLastDetected, Date timeFirstOccurred, Date timeLastOccurred)
Deprecated.
-
-
Method Detail
-
builder
public static SightingEndpointSummary.Builder builder()
Create a new builder.
-
toBuilder
public SightingEndpointSummary.Builder toBuilder()
-
getId
public String getId()
Unique identifier for sighting endpoints- Returns:
- the value
-
getSightingId
public String getSightingId()
Sighting ID for sighting endpoints- Returns:
- the value
-
getProblemId
public String getProblemId()
Problem ID for sighting endpoints- Returns:
- the value
-
getIpAddress
public String getIpAddress()
IP address involved in sighting- Returns:
- the value
-
getIpAddressType
public String getIpAddressType()
Type of IP address involved in sighting- Returns:
- the value
-
getIpClassificationType
public String getIpClassificationType()
IP address classification type- Returns:
- the value
-
getCountry
public String getCountry()
Country involved in sighting- Returns:
- the value
-
getLatitude
public Double getLatitude()
Latitude of sighting- Returns:
- the value
-
getLongitude
public Double getLongitude()
Longitude of sighting- Returns:
- the value
-
getAsnNumber
public String getAsnNumber()
ASN number of sighting- Returns:
- the value
-
getRegions
public List<String> getRegions()
List of regions where activities were performed from this IP address- Returns:
- the value
-
getServices
public List<String> getServices()
List of services where activities were performed from this IP address- Returns:
- the value
-
getTimeFirstDetected
public Date getTimeFirstDetected()
Time the activities were first detected.- Returns:
- the value
-
getTimeLastDetected
public Date getTimeLastDetected()
Time the activities were last detected.- Returns:
- the value
-
getTimeFirstOccurred
public Date getTimeFirstOccurred()
Time the activities were first performed.- Returns:
- the value
-
getTimeLastOccurred
public Date getTimeLastOccurred()
Time the activities were last performed.- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-