Class Byoipv6CidrDetails
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.vnmonitoring.model.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 theByoipv6CidrDetails.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 theByoipv6CidrDetails.Builder
, which maintain a set of all explicitly set fields calledByoipv6CidrDetails.Builder.__explicitlySet__
. ThehashCode()
andequals(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).
- 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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Byoipv6CidrDetails.Builder
-
Constructor Summary
Constructors Constructor Description Byoipv6CidrDetails(String byoipv6RangeId, String ipv6CidrBlock)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Constructor Detail
-
Byoipv6CidrDetails
@Deprecated @ConstructorProperties({"byoipv6RangeId","ipv6CidrBlock"}) public Byoipv6CidrDetails(String byoipv6RangeId, String ipv6CidrBlock)
Deprecated.
-
-
Method Detail
-
builder
public static Byoipv6CidrDetails.Builder builder()
Create a new builder.
-
toBuilder
public Byoipv6CidrDetails.Builder toBuilder()
-
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 classcom.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 classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-