@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 ExplicitlySetBmcModel.__explicitlySet__
. The hashCode()
and
equals(Object)
methods are implemented to take ExplicitlySetBmcModel.__explicitlySet__
into account.
The constructor, on the other hand, does not set ExplicitlySetBmcModel.__explicitlySet__
(since the
constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
AddVcnIpv6CidrDetails.Builder |
Constructor and Description |
---|
AddVcnIpv6CidrDetails(String ipv6PrivateCidrBlock,
Boolean isOracleGuaAllocationEnabled,
Byoipv6CidrDetails byoipv6CidrDetail)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static AddVcnIpv6CidrDetails.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Byoipv6CidrDetails |
getByoipv6CidrDetail() |
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.
|
Boolean |
getIsOracleGuaAllocationEnabled()
Indicates whether Oracle will allocate an IPv6 GUA.
|
int |
hashCode() |
AddVcnIpv6CidrDetails.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"ipv6PrivateCidrBlock","isOracleGuaAllocationEnabled","byoipv6CidrDetail"}) public AddVcnIpv6CidrDetails(String ipv6PrivateCidrBlock, Boolean isOracleGuaAllocationEnabled, Byoipv6CidrDetails byoipv6CidrDetail)
public static AddVcnIpv6CidrDetails.Builder builder()
Create a new builder.
public AddVcnIpv6CidrDetails.Builder toBuilder()
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
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.
public Byoipv6CidrDetails getByoipv6CidrDetail()
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–2023. All rights reserved.