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 CIDR blocks for the VCN that meets the following criteria: - The CIDR must from a BYOIPv6 range.
    • The IPv6 CIDR blocks must be valid. - Multiple CIDR blocks must not overlap each other or the on-premises network CIDR block. - The number of CIDR blocks must not exceed the limit of IPv6 CIDR blocks 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 CIDR block required to create a VCN with a BYOIP prefix.

        It could be the whole CIDR block 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