@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 the ResourceProfileImpactedResourceSummary.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 the ResourceProfileImpactedResourceSummary.Builder
, which maintain a
set of all explicitly set fields called ResourceProfileImpactedResourceSummary.Builder.__explicitlySet__
. The hashCode()
and equals(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
).
Modifier and Type | Class and Description |
---|---|
static class |
ResourceProfileImpactedResourceSummary.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
static ResourceProfileImpactedResourceSummary.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getCompartmentId()
Compartment ID for impacted resource
|
String |
getId()
Unique identifier for impacted resource
|
String |
getProblemId()
Problem ID associated with the impacted resource
|
String |
getRegion()
Region for impacted resource
|
String |
getResourceId()
Impacted resource ID
|
String |
getResourceName()
Impacted resource name
|
String |
getResourceProfileId()
Resource profile ID associated with the impacted resource
|
String |
getResourceType()
Impacted resource type
|
String |
getSightingType()
Sighting type for impacted resource
|
String |
getSightingTypeDisplayName()
Display name of the sighting type
|
Date |
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.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"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)
public static ResourceProfileImpactedResourceSummary.Builder builder()
Create a new builder.
public ResourceProfileImpactedResourceSummary.Builder toBuilder()
public String getId()
Unique identifier for impacted resource
public String getResourceProfileId()
Resource profile ID associated with the impacted resource
public String getProblemId()
Problem ID associated with the impacted resource
public String getCompartmentId()
Compartment ID for impacted resource
public String getResourceId()
Impacted resource ID
public String getResourceName()
Impacted resource name
public String getResourceType()
Impacted resource type
public String getSightingType()
Sighting type for impacted resource
public String getSightingTypeDisplayName()
Display name of the sighting type
public String getRegion()
Region for impacted resource
public Date getTimeIdentified()
Time when the impacted resource is identified for the resource profile.
public Date getTimeFirstDetected()
Time the activities were first detected.
public Date getTimeLastDetected()
Time the activities were last detected. Same as timeIdentified.
public Date getTimeFirstOccurred()
Time the activities were first performed.
public Date getTimeLastOccurred()
Time the activities were last performed.
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2024. All rights reserved.