@Generated(value="OracleSDKGenerator", comments="API Version: 20200630") public final class PeComanagedDatabaseConnectionDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Connection details of the private endpoints.
Note: Objects should always be created or deserialized using the PeComanagedDatabaseConnectionDetails.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 PeComanagedDatabaseConnectionDetails.Builder
, which maintain a
set of all explicitly set fields called PeComanagedDatabaseConnectionDetails.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 |
PeComanagedDatabaseConnectionDetails.Builder |
static class |
PeComanagedDatabaseConnectionDetails.Protocol
Protocol used for connection requests for private endpoint accssed database resource.
|
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
PeComanagedDatabaseConnectionDetails(List<PeComanagedDatabaseHostDetails> hosts,
PeComanagedDatabaseConnectionDetails.Protocol protocol,
String serviceName)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static PeComanagedDatabaseConnectionDetails.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
List<PeComanagedDatabaseHostDetails> |
getHosts()
List of hosts and port for private endpoint accessed database resource.
|
PeComanagedDatabaseConnectionDetails.Protocol |
getProtocol()
Protocol used for connection requests for private endpoint accssed database resource.
|
String |
getServiceName()
Database service name used for connection requests.
|
int |
hashCode() |
PeComanagedDatabaseConnectionDetails.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"hosts","protocol","serviceName"}) public PeComanagedDatabaseConnectionDetails(List<PeComanagedDatabaseHostDetails> hosts, PeComanagedDatabaseConnectionDetails.Protocol protocol, String serviceName)
public static PeComanagedDatabaseConnectionDetails.Builder builder()
Create a new builder.
public PeComanagedDatabaseConnectionDetails.Builder toBuilder()
public List<PeComanagedDatabaseHostDetails> getHosts()
List of hosts and port for private endpoint accessed database resource.
public PeComanagedDatabaseConnectionDetails.Protocol getProtocol()
Protocol used for connection requests for private endpoint accssed database resource.
public String getServiceName()
Database service name used for connection requests.
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.