@Generated(value="OracleSDKGenerator", comments="API Version: 20210217") public final class EndpointSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Summary of an endpoint.
Note: Objects should always be created or deserialized using the EndpointSummary.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 EndpointSummary.Builder
, which maintain a
set of all explicitly set fields called ExplicitlySetBmcModel.__explicitlySet__
. The hashCode()
and
equals(Object)
methods are implemented to take ExplicitlySetBmcModel.__explicitlySet__
into account.
The constructor, on the other hand, does not set ExplicitlySetBmcModel.__explicitlySet__
(since the
constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
EndpointSummary.Builder |
Constructor and Description |
---|
EndpointSummary(String id,
String description,
String displayName,
String compartmentId,
Date timeCreated,
Date timeUpdated,
Map<String,String> freeformTags,
Map<String,Map<String,Object>> definedTags,
Endpoint.LifecycleState lifecycleState,
String stateMessage)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static EndpointSummary.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getCompartmentId()
Compartment Identifier
|
Map<String,Map<String,Object>> |
getDefinedTags()
Usage of predefined tag keys.
|
String |
getDescription()
Registry description
|
String |
getDisplayName()
Data Connectivity Management Endpoint display name; endpoints can be renamed.
|
Map<String,String> |
getFreeformTags()
Simple key-value pair that is applied without any predefined name, type, or scope.
|
String |
getId()
A unique identifier that is immutable on creation.
|
Endpoint.LifecycleState |
getLifecycleState()
The current state of the endpoint.
|
String |
getStateMessage()
A message describing the current state in more detail.
|
Date |
getTimeCreated()
Time when the Data Connectivity Management registry was created.
|
Date |
getTimeUpdated()
Time when the Data Connectivity Management registry was updated.
|
int |
hashCode() |
EndpointSummary.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"id","description","displayName","compartmentId","timeCreated","timeUpdated","freeformTags","definedTags","lifecycleState","stateMessage"}) public EndpointSummary(String id, String description, String displayName, String compartmentId, Date timeCreated, Date timeUpdated, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, Endpoint.LifecycleState lifecycleState, String stateMessage)
public static EndpointSummary.Builder builder()
Create a new builder.
public EndpointSummary.Builder toBuilder()
public String getId()
A unique identifier that is immutable on creation.
public String getDescription()
Registry description
public String getDisplayName()
Data Connectivity Management Endpoint display name; endpoints can be renamed.
public String getCompartmentId()
Compartment Identifier
public Date getTimeCreated()
Time when the Data Connectivity Management registry was created. An RFC3339 formatted datetime string.
public Date getTimeUpdated()
Time when the Data Connectivity Management registry was updated. An RFC3339 formatted datetime string.
public Map<String,String> getFreeformTags()
Simple key-value pair that is applied without any predefined name, type, or scope. Exists
only for cross-compatibility. Example: {"bar-key": "value"}
public Map<String,Map<String,Object>> getDefinedTags()
Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: {"foo-namespace": {"bar-key": "value"}}
public Endpoint.LifecycleState getLifecycleState()
The current state of the endpoint.
public String getStateMessage()
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
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–2023. All rights reserved.