Class AddVcnIpv6CidrDetails


  • @Generated(value="OracleSDKGenerator",
               comments="API Version: 20160918")
    public final class AddVcnIpv6CidrDetails
    extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
    Details used when adding a ULA or private IPv6 prefix or an IPv6 GUA assigned by Oracle or a BYOIPv6 prefix.

    You can add only one of these per request.
    Note: Objects should always be created or deserialized using the AddVcnIpv6CidrDetails.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 AddVcnIpv6CidrDetails.Builder, which maintain a set of all explicitly set fields called AddVcnIpv6CidrDetails.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

      • getIpv6PrivateCidrBlock

        public String getIpv6PrivateCidrBlock()
        This field is not required and should only be specified if a ULA or private IPv6 prefix is desired for VCN’s private IP address space.

        SeeIPv6 Addresses.

        Example: 2001:0db8:0123::/48 or fd00:1000:0:1::/64

        Returns:
        the value
      • getIsOracleGuaAllocationEnabled

        public Boolean getIsOracleGuaAllocationEnabled()
        Indicates whether Oracle will allocate an IPv6 GUA.

        Only one prefix of /56 size can be allocated by Oracle as a GUA.

        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