Package com.oracle.bmc.cloudguard.model
Class ResourceProfileImpactedResourceSummary
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.cloudguard.model.ResourceProfileImpactedResourceSummary
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20200131") public final class ResourceProfileImpactedResourceSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Summary information on impacted resource in resource profile.
Note: Objects should always be created or deserialized using theResourceProfileImpactedResourceSummary.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 theResourceProfileImpactedResourceSummary.Builder
, which maintain a set of all explicitly set fields calledResourceProfileImpactedResourceSummary.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
ResourceProfileImpactedResourceSummary.Builder
-
Constructor Summary
Constructors Constructor Description ResourceProfileImpactedResourceSummary(String id, String resourceProfileId, String problemId, String compartmentId, String resourceId, String resourceName, String resourceType, String sightingType, String sightingTypeDisplayName, String region, Date timeIdentified, 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 ResourceProfileImpactedResourceSummary.Builder
builder()
Create a new builder.boolean
equals(Object o)
String
getCompartmentId()
Compartment ID for impacted resourceString
getId()
Unique identifier for impacted resourceString
getProblemId()
Problem ID associated with the impacted resourceString
getRegion()
Region for impacted resourceString
getResourceId()
Impacted resource IDString
getResourceName()
Impacted resource nameString
getResourceProfileId()
Resource profile ID associated with the impacted resourceString
getResourceType()
Impacted resource typeString
getSightingType()
Sighting type for impacted resourceString
getSightingTypeDisplayName()
Display name of the sighting typeDate
getTimeFirstDetected()
Time the activities were first detected.Date
getTimeFirstOccurred()
Time the activities were first performed.Date
getTimeIdentified()
Time when the impacted resource is identified for the resource profile.Date
getTimeLastDetected()
Time the activities were last detected.Date
getTimeLastOccurred()
Time the activities were last performed.int
hashCode()
ResourceProfileImpactedResourceSummary.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
ResourceProfileImpactedResourceSummary
@Deprecated @ConstructorProperties({"id","resourceProfileId","problemId","compartmentId","resourceId","resourceName","resourceType","sightingType","sightingTypeDisplayName","region","timeIdentified","timeFirstDetected","timeLastDetected","timeFirstOccurred","timeLastOccurred"}) public ResourceProfileImpactedResourceSummary(String id, String resourceProfileId, String problemId, String compartmentId, String resourceId, String resourceName, String resourceType, String sightingType, String sightingTypeDisplayName, String region, Date timeIdentified, Date timeFirstDetected, Date timeLastDetected, Date timeFirstOccurred, Date timeLastOccurred)
Deprecated.
-
-
Method Detail
-
builder
public static ResourceProfileImpactedResourceSummary.Builder builder()
Create a new builder.
-
toBuilder
public ResourceProfileImpactedResourceSummary.Builder toBuilder()
-
getId
public String getId()
Unique identifier for impacted resource- Returns:
- the value
-
getResourceProfileId
public String getResourceProfileId()
Resource profile ID associated with the impacted resource- Returns:
- the value
-
getProblemId
public String getProblemId()
Problem ID associated with the impacted resource- Returns:
- the value
-
getCompartmentId
public String getCompartmentId()
Compartment ID for impacted resource- Returns:
- the value
-
getResourceId
public String getResourceId()
Impacted resource ID- Returns:
- the value
-
getResourceName
public String getResourceName()
Impacted resource name- Returns:
- the value
-
getResourceType
public String getResourceType()
Impacted resource type- Returns:
- the value
-
getSightingType
public String getSightingType()
Sighting type for impacted resource- Returns:
- the value
-
getSightingTypeDisplayName
public String getSightingTypeDisplayName()
Display name of the sighting type- Returns:
- the value
-
getRegion
public String getRegion()
Region for impacted resource- Returns:
- the value
-
getTimeIdentified
public Date getTimeIdentified()
Time when the impacted resource is identified for the resource profile.- 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.Same as timeIdentified.
- 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
-
-