@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
).
Modifier and Type | Class and Description |
---|---|
static class |
Byoipv6CidrDetails.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
Byoipv6CidrDetails(String byoipv6RangeId,
String ipv6CidrBlock)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static Byoipv6CidrDetails.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getByoipv6RangeId()
The OCID of
the
ByoipRange resource to which the CIDR block belongs. |
String |
getIpv6CidrBlock()
An IPv6 CIDR block required to create a VCN with a BYOIP prefix.
|
int |
hashCode() |
Byoipv6CidrDetails.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"byoipv6RangeId","ipv6CidrBlock"}) public Byoipv6CidrDetails(String byoipv6RangeId, String ipv6CidrBlock)
public static Byoipv6CidrDetails.Builder builder()
Create a new builder.
public Byoipv6CidrDetails.Builder toBuilder()
public String getByoipv6RangeId()
The OCID of
the ByoipRange
resource to which the CIDR block belongs.
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
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2024. All rights reserved.