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.ExplicitlySetBmcModelSummary 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 classResourceProfileImpactedResourceSummary.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.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetCompartmentId()Compartment ID for impacted resourceStringgetId()Unique identifier for impacted resourceStringgetProblemId()Problem ID associated with the impacted resourceStringgetRegion()Region for impacted resourceStringgetResourceId()Impacted resource IDStringgetResourceName()Impacted resource nameStringgetResourceProfileId()Resource profile ID associated with the impacted resourceStringgetResourceType()Impacted resource typeStringgetSightingType()Sighting type for impacted resourceStringgetSightingTypeDisplayName()Display name of the sighting typeDategetTimeFirstDetected()Time the activities were first detected.DategetTimeFirstOccurred()Time the activities were first performed.DategetTimeIdentified()Time when the impacted resource is identified for the resource profile.DategetTimeLastDetected()Time the activities were last detected.DategetTimeLastOccurred()Time the activities were last performed.inthashCode()ResourceProfileImpactedResourceSummary.BuildertoBuilder()StringtoString()StringtoString(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:
toStringin 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:
equalsin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCodein classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-