@Generated(value="OracleSDKGenerator", comments="API Version: 20200601") public final class AssociableEntity extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Entity details including whether or not it is eligible for association with the source.
Note: Objects should always be created or deserialized using the AssociableEntity.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 AssociableEntity.Builder
, which maintain a
set of all explicitly set fields called AssociableEntity.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 |
AssociableEntity.Builder |
static class |
AssociableEntity.EligibilityStatus
This field indicates whether the entity is (in)eligible to be associated with this source.
|
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
AssociableEntity(String entityId,
String entityName,
String entityTypeName,
String entityTypeDisplayName,
String host,
String agentId,
AssociableEntity.EligibilityStatus eligibilityStatus,
String ineligibilityDetails)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static AssociableEntity.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getAgentId()
The OCID of the Management Agent.
|
AssociableEntity.EligibilityStatus |
getEligibilityStatus()
This field indicates whether the entity is (in)eligible to be associated with this source.
|
String |
getEntityId()
The entity OCID.
|
String |
getEntityName()
The name of the entity.
|
String |
getEntityTypeDisplayName()
The display name of the entity type.
|
String |
getEntityTypeName()
The type name of the entity.
|
String |
getHost()
The entity host.
|
String |
getIneligibilityDetails()
The reason the entity is not eligible for association.
|
int |
hashCode() |
AssociableEntity.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"entityId","entityName","entityTypeName","entityTypeDisplayName","host","agentId","eligibilityStatus","ineligibilityDetails"}) public AssociableEntity(String entityId, String entityName, String entityTypeName, String entityTypeDisplayName, String host, String agentId, AssociableEntity.EligibilityStatus eligibilityStatus, String ineligibilityDetails)
public static AssociableEntity.Builder builder()
Create a new builder.
public AssociableEntity.Builder toBuilder()
public String getEntityId()
The entity OCID.
public String getEntityName()
The name of the entity.
public String getEntityTypeName()
The type name of the entity.
public String getEntityTypeDisplayName()
The display name of the entity type.
public String getHost()
The entity host.
public String getAgentId()
The OCID of the Management Agent.
public AssociableEntity.EligibilityStatus getEligibilityStatus()
This field indicates whether the entity is (in)eligible to be associated with this source.
public String getIneligibilityDetails()
The reason the entity is not eligible for association.
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.