@Generated(value="OracleSDKGenerator", comments="API Version: 20200131") public final class ResourceProfileImpactedResourceSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Resource Profile impacted resource summary.
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)
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 for impacted resource
|
String |
getRegion()
Region for impacted resource
|
String |
getResourceId()
Impacted resource Id
|
String |
getResourceName()
Resource name
|
String |
getResourceProfileId()
Resource profile Id associated with the imacted resource
|
String |
getResourceType()
Resource type
|
String |
getSightingType()
Identifier for the sighting type
|
String |
getSightingTypeDisplayName()
Name of the sighting type
|
Date |
getTimeIdentified()
Time when the impacted resource is identified for given resource profile.
|
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"}) public ResourceProfileImpactedResourceSummary(String id, String resourceProfileId, String problemId, String compartmentId, String resourceId, String resourceName, String resourceType, String sightingType, String sightingTypeDisplayName, String region, Date timeIdentified)
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 imacted resource
public String getProblemId()
Problem Id for impacted resource
public String getCompartmentId()
Compartment Id for impacted resource
public String getResourceId()
Impacted resource Id
public String getResourceName()
Resource name
public String getResourceType()
Resource type
public String getSightingType()
Identifier for the sighting type
public String getSightingTypeDisplayName()
Name of the sighting type
public String getRegion()
Region for impacted resource
public Date getTimeIdentified()
Time when the impacted resource is identified for given resource profile.
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–2023. All rights reserved.