@Generated(value="OracleSDKGenerator", comments="API Version: 20180917") public final class AssociatedResourceSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Summary information for a resource associated with a stack or job.
Note: Objects should always be created or deserialized using the AssociatedResourceSummary.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 AssociatedResourceSummary.Builder
, which maintain a
set of all explicitly set fields called AssociatedResourceSummary.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 |
AssociatedResourceSummary.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
AssociatedResourceSummary(String resourceId,
String resourceName,
String resourceType,
Map<String,String> attributes,
Date timeCreated,
String region,
String resourceAddress)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static AssociatedResourceSummary.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Map<String,String> |
getAttributes()
Resource attribute values.
|
String |
getRegion()
Resource region.
|
String |
getResourceAddress()
Terraform resource address.
|
String |
getResourceId()
Unique identifier for the resource.
|
String |
getResourceName()
Name of the resource.
|
String |
getResourceType()
Resource type.
|
Date |
getTimeCreated()
The date and time when the stack was created.
|
int |
hashCode() |
AssociatedResourceSummary.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"resourceId","resourceName","resourceType","attributes","timeCreated","region","resourceAddress"}) public AssociatedResourceSummary(String resourceId, String resourceName, String resourceType, Map<String,String> attributes, Date timeCreated, String region, String resourceAddress)
public static AssociatedResourceSummary.Builder builder()
Create a new builder.
public AssociatedResourceSummary.Builder toBuilder()
public String getResourceId()
Unique identifier for the resource.
public String getResourceName()
Name of the resource.
public String getResourceType()
Resource type. For more information about resource types supported for the Oracle Cloud Infrastructure (OCI) provider, see Oracle Cloud Infrastructure Provider.
public Map<String,String> getAttributes()
Resource attribute values. Each value is represented as a key-value pair. Example: {"state": "AVAILABLE"}
public Date getTimeCreated()
The date and time when the stack was created. Format is defined by RFC3339. Example: 2022-07-25T21:10:29.600Z
public String getRegion()
Resource region. For information about regions, see Regions and Availability
Domains. Example:
us-phoenix-1
public String getResourceAddress()
Terraform resource address.
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.