@Generated(value="OracleSDKGenerator", comments="API Version: 0.0.4") public final class ResourceSummary extends Object
A resource that exists in the user’s cloud network.
Note: Objects should always be created or deserialized using the ResourceSummary.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 ResourceSummary.Builder
, which maintain a set of all explicitly set fields called __explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take __explicitlySet__
into account. The constructor, on the other hand, does not set __explicitlySet__
(since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
ResourceSummary.Builder |
Constructor and Description |
---|
ResourceSummary(String resourceType,
String identifier,
String compartmentId,
Date timeCreated,
String displayName,
String availabilityDomain,
String lifecycleState,
Map<String,String> freeformTags,
Map<String,Map<String,Object>> definedTags,
SearchContext searchContext)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static ResourceSummary.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
String |
getAvailabilityDomain()
The availability domain this resource is located in, if applicable.
|
String |
getCompartmentId()
The OCID of the compartment that contains this resource.
|
Map<String,Map<String,Object>> |
getDefinedTags()
The defined tags associated with this resource, if any.
|
String |
getDisplayName()
The display name (or name) of this resource, if one exists.
|
Map<String,String> |
getFreeformTags()
The freeform tags associated with this resource, if any.
|
String |
getIdentifier()
The unique identifier for this particular resource, usually an OCID.
|
String |
getLifecycleState()
The lifecycle state of this resource, if applicable.
|
String |
getResourceType()
The resource type name.
|
SearchContext |
getSearchContext()
Contains search context, such as highlighting, for found resources.
|
Date |
getTimeCreated()
The time this resource was created.
|
int |
hashCode() |
String |
toString() |
@ConstructorProperties(value={"resourceType","identifier","compartmentId","timeCreated","displayName","availabilityDomain","lifecycleState","freeformTags","definedTags","searchContext"}) @Deprecated public ResourceSummary(String resourceType, String identifier, String compartmentId, Date timeCreated, String displayName, String availabilityDomain, String lifecycleState, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, SearchContext searchContext)
public static ResourceSummary.Builder builder()
Create a new builder.
public String getResourceType()
The resource type name.
public String getIdentifier()
The unique identifier for this particular resource, usually an OCID.
public String getCompartmentId()
The OCID of the compartment that contains this resource.
public Date getTimeCreated()
The time this resource was created.
public String getDisplayName()
The display name (or name) of this resource, if one exists.
public String getAvailabilityDomain()
The availability domain this resource is located in, if applicable.
public String getLifecycleState()
The lifecycle state of this resource, if applicable.
public Map<String,String> getFreeformTags()
The freeform tags associated with this resource, if any.
public Map<String,Map<String,Object>> getDefinedTags()
The defined tags associated with this resource, if any.
public SearchContext getSearchContext()
Contains search context, such as highlighting, for found resources.
Copyright © 2016–2019. All rights reserved.