Class 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 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).
    • Method Detail

      • 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 class com.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 class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel