Package com.oracle.bmc.streaming.model
Class PrivateEndpointDetails
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.streaming.model.PrivateEndpointDetails
-
@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 thePrivateEndpointDetails.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 thePrivateEndpointDetails.Builder
, which maintain a set of all explicitly set fields calledPrivateEndpointDetails.Builder.__explicitlySet__
. ThehashCode()
andequals(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).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PrivateEndpointDetails.Builder
-
Constructor Summary
Constructors Constructor Description PrivateEndpointDetails(String subnetId, String privateEndpointIp, List<String> nsgIds)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Constructor Detail
-
PrivateEndpointDetails
@Deprecated @ConstructorProperties({"subnetId","privateEndpointIp","nsgIds"}) public PrivateEndpointDetails(String subnetId, String privateEndpointIp, List<String> nsgIds)
Deprecated.
-
-
Method Detail
-
builder
public static PrivateEndpointDetails.Builder builder()
Create a new builder.
-
toBuilder
public PrivateEndpointDetails.Builder toBuilder()
-
getSubnetId
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.
- Returns:
- the value
-
getPrivateEndpointIp
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.
- Returns:
- the value
-
getNsgIds
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.
- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-