@Generated(value="OracleSDKGenerator", comments="API Version: 20180418") public final class PrivateEndpointDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Optional parameters if a private stream pool is requested.
Note: Objects should always be created or deserialized using the PrivateEndpointDetails.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 PrivateEndpointDetails.Builder
, which maintain a
set of all explicitly set fields called PrivateEndpointDetails.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 |
PrivateEndpointDetails.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
PrivateEndpointDetails(String subnetId,
String privateEndpointIp,
List<String> nsgIds)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static PrivateEndpointDetails.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
List<String> |
getNsgIds()
The optional list of network security groups to be used with the private endpoint of the
stream pool.
|
String |
getPrivateEndpointIp()
The optional private IP you want to be associated with your private stream pool.
|
String |
getSubnetId()
If specified, the stream pool will be private and only accessible from inside that subnet.
|
int |
hashCode() |
PrivateEndpointDetails.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"subnetId","privateEndpointIp","nsgIds"}) public PrivateEndpointDetails(String subnetId, String privateEndpointIp, List<String> nsgIds)
public static PrivateEndpointDetails.Builder builder()
Create a new builder.
public PrivateEndpointDetails.Builder toBuilder()
public String getSubnetId()
If specified, the stream pool will be private and only accessible from inside that subnet. Producing-to and consuming-from a stream inside a private stream pool can also only be done from inside the subnet. That value cannot be changed.
public String getPrivateEndpointIp()
The optional private IP you want to be associated with your private stream pool. That parameter can only be specified when the subnetId parameter is set. It cannot be changed. The private IP needs to be part of the CIDR range of the specified subnetId or the creation will fail. If not specified a random IP inside the subnet will be chosen. After the stream pool is created, a custom FQDN, pointing to this private IP, is created. The FQDN is then used to access the service instead of the private IP.
public List<String> getNsgIds()
The optional list of network security groups to be used with the private endpoint of the stream pool. That value cannot be changed.
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.