@Generated(value="OracleSDKGenerator", comments="API Version: 20180409") public final class ResourceSummary extends Object
A resource that exists in the cloud network that you’re querying.
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,
Map<String,Map<String,Object>> systemTags,
SearchContext searchContext,
Map<String,Object> identityContext)
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 where this resource exists, if applicable.
|
String |
getCompartmentId()
The OCID of the compartment that contains this resource.
|
Map<String,Map<String,Object>> |
getDefinedTags()
Defined tags for this resource.
|
String |
getDisplayName()
The display name (or name) of this resource, if one exists.
|
Map<String,String> |
getFreeformTags()
Free-form tags for this resource.
|
String |
getIdentifier()
The unique identifier for this particular resource, usually an OCID.
|
Map<String,Object> |
getIdentityContext()
Additional identifiers to use together in a "Get" request for a specified resource, only required for resource types
that explicitly cannot be retrieved by using a single identifier, such as the resource’s OCID.
|
String |
getLifecycleState()
The lifecycle state of this resource, if applicable.
|
String |
getResourceType()
The resource type name.
|
SearchContext |
getSearchContext() |
Map<String,Map<String,Object>> |
getSystemTags()
System tags associated with this resource, if any.
|
Date |
getTimeCreated()
The time that this resource was created.
|
int |
hashCode() |
ResourceSummary.Builder |
toBuilder() |
String |
toString() |
@ConstructorProperties(value={"resourceType","identifier","compartmentId","timeCreated","displayName","availabilityDomain","lifecycleState","freeformTags","definedTags","systemTags","searchContext","identityContext"}) @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, Map<String,Map<String,Object>> systemTags, SearchContext searchContext, Map<String,Object> identityContext)
public static ResourceSummary.Builder builder()
Create a new builder.
public ResourceSummary.Builder toBuilder()
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 that this resource was created.
public String getDisplayName()
The display name (or name) of this resource, if one exists.
public String getAvailabilityDomain()
The availability domain where this resource exists, if applicable.
public String getLifecycleState()
The lifecycle state of this resource, if applicable.
public Map<String,String> getFreeformTags()
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
For more information, see Resource Tags.
Example: {\"Department\": \"Finance\"}
public Map<String,Map<String,Object>> getDefinedTags()
Defined tags for this resource. Each key is predefined and scoped to a namespace.
For more information, see Resource Tags.
Example: {\"Operations\": {\"CostCenter\": \"42\"}}
public Map<String,Map<String,Object>> getSystemTags()
System tags associated with this resource, if any. System tags are set by Oracle Cloud Infrastructure services. Each key is predefined and scoped to namespaces.
For more information, see Resource Tags.
Example: {orcl-cloud: {free-tier-retain: true}}
public SearchContext getSearchContext()
public Map<String,Object> getIdentityContext()
Additional identifiers to use together in a "Get" request for a specified resource, only required for resource types that explicitly cannot be retrieved by using a single identifier, such as the resource’s OCID.
Copyright © 2016–2021. All rights reserved.