Class AddVcnIpv6CidrDetails
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.vnmonitoring.model.AddVcnIpv6CidrDetails
-
@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 theAddVcnIpv6CidrDetails.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 theAddVcnIpv6CidrDetails.Builder
, which maintain a set of all explicitly set fields calledAddVcnIpv6CidrDetails.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).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AddVcnIpv6CidrDetails.Builder
-
Constructor Summary
Constructors Constructor Description AddVcnIpv6CidrDetails(String ipv6PrivateCidrBlock, Boolean isOracleGuaAllocationEnabled, Byoipv6CidrDetails byoipv6CidrDetail)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Constructor Detail
-
AddVcnIpv6CidrDetails
@Deprecated @ConstructorProperties({"ipv6PrivateCidrBlock","isOracleGuaAllocationEnabled","byoipv6CidrDetail"}) public AddVcnIpv6CidrDetails(String ipv6PrivateCidrBlock, Boolean isOracleGuaAllocationEnabled, Byoipv6CidrDetails byoipv6CidrDetail)
Deprecated.
-
-
Method Detail
-
builder
public static AddVcnIpv6CidrDetails.Builder builder()
Create a new builder.
-
toBuilder
public AddVcnIpv6CidrDetails.Builder toBuilder()
-
getIpv6PrivateCidrBlock
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
- Returns:
- the value
-
getIsOracleGuaAllocationEnabled
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.
- Returns:
- the value
-
getByoipv6CidrDetail
public Byoipv6CidrDetails getByoipv6CidrDetail()
-
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
-
-