@Generated(value="OracleSDKGenerator", comments="API Version: 20220915") public final class NetworkDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Network details for the database system.
Note: Objects should always be created or deserialized using the NetworkDetails.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 NetworkDetails.Builder
, which maintain a
set of all explicitly set fields called NetworkDetails.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 |
NetworkDetails.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
NetworkDetails(String subnetId,
String primaryDbEndpointPrivateIp,
List<String> nsgIds,
Boolean isReaderEndpointEnabled)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static NetworkDetails.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Boolean |
getIsReaderEndpointEnabled()
Specifies if the reader endpoint is enabled on the dbSystem.
|
List<String> |
getNsgIds()
List of customer Network Security Group
OCIDs associated
with the database system.
|
String |
getPrimaryDbEndpointPrivateIp()
Private IP in customer subnet.
|
String |
getSubnetId()
The OCID of the
customer subnet associated with the database system.
|
int |
hashCode() |
NetworkDetails.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"subnetId","primaryDbEndpointPrivateIp","nsgIds","isReaderEndpointEnabled"}) public NetworkDetails(String subnetId, String primaryDbEndpointPrivateIp, List<String> nsgIds, Boolean isReaderEndpointEnabled)
public static NetworkDetails.Builder builder()
Create a new builder.
public NetworkDetails.Builder toBuilder()
public String getSubnetId()
The OCID of the customer subnet associated with the database system.
public String getPrimaryDbEndpointPrivateIp()
Private IP in customer subnet. The value is optional. If the IP is not provided, the IP will be chosen from the available IP addresses from the specified subnet.
public List<String> getNsgIds()
List of customer Network Security Group OCIDs associated with the database system.
public Boolean getIsReaderEndpointEnabled()
Specifies if the reader endpoint is enabled on the dbSystem.
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.