@Generated(value="OracleSDKGenerator", comments="API Version: 20200430") public final class Reference extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Reference contains application configuration information.
Note: Objects should always be created or deserialized using the Reference.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 Reference.Builder
, which maintain a
set of all explicitly set fields called Reference.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 |
Reference.Builder |
static class |
Reference.Type
The type of reference object.
|
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
Reference(String key,
String name,
String identifier,
String identifierPath,
String description,
Reference.Type type,
Object targetObject,
String applicationKey,
List<ReferenceUsedBy> usedBy,
List<ChildReference> childReferences)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static Reference.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getApplicationKey()
The application key of the reference object.
|
List<ChildReference> |
getChildReferences()
List of references that are dependent on this reference.
|
String |
getDescription()
The description of reference object.
|
String |
getIdentifier()
The identifier of reference object.
|
String |
getIdentifierPath()
The identifier path of reference object.
|
String |
getKey()
The reference’s key, key of the object that is being used by a published object or its
dependents.
|
String |
getName()
The name of reference object.
|
Object |
getTargetObject()
The new reference object to use instead of the original reference.
|
Reference.Type |
getType()
The type of reference object.
|
List<ReferenceUsedBy> |
getUsedBy()
List of published objects where this is used.
|
int |
hashCode() |
Reference.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"key","name","identifier","identifierPath","description","type","targetObject","applicationKey","usedBy","childReferences"}) public Reference(String key, String name, String identifier, String identifierPath, String description, Reference.Type type, Object targetObject, String applicationKey, List<ReferenceUsedBy> usedBy, List<ChildReference> childReferences)
public static Reference.Builder builder()
Create a new builder.
public Reference.Builder toBuilder()
public String getKey()
The reference’s key, key of the object that is being used by a published object or its dependents.
public String getName()
The name of reference object.
public String getIdentifier()
The identifier of reference object.
public String getIdentifierPath()
The identifier path of reference object.
public String getDescription()
The description of reference object.
public Reference.Type getType()
The type of reference object.
public Object getTargetObject()
The new reference object to use instead of the original reference. For example, this can be a data asset reference.
public String getApplicationKey()
The application key of the reference object.
public List<ReferenceUsedBy> getUsedBy()
List of published objects where this is used.
public List<ChildReference> getChildReferences()
List of references that are dependent on this reference.
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.