Class Byoipv6CidrDetails


  • @Generated(value="OracleSDKGenerator",
               comments="API Version: 20160918")
    public final class Byoipv6CidrDetails
    extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
    The list of one or more BYOIPv6 prefixes for the VCN that meets the following criteria: - The prefix must be from a BYOIPv6 range.
    • The IPv6 prefixes must be valid. - Multiple prefix must not overlap each other or the on-premises network prefix. - The number of prefixes must not exceed the limit of IPv6 prefixes allowed to a VCN.
      Note: Objects should always be created or deserialized using the Byoipv6CidrDetails.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 Byoipv6CidrDetails.Builder, which maintain a set of all explicitly set fields called Byoipv6CidrDetails.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

      • getByoipv6RangeId

        public String getByoipv6RangeId()
        The OCID of the ByoipRange resource to which the CIDR block belongs.
        Returns:
        the value
      • getIpv6CidrBlock

        public String getIpv6CidrBlock()
        An IPv6 prefix required to create a VCN with a BYOIP prefix.

        It could be the whole prefix identified in byoipv6RangeId, or a subrange. Example: 2001:0db8:0123::/48

        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