Package com.oracle.bmc.core.model
Class InstancePoolPlacementPrimarySubnet
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.core.model.InstancePoolPlacementPrimarySubnet
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class InstancePoolPlacementPrimarySubnet extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Details about the IPv6 primary subnet.
Note: Objects should always be created or deserialized using theInstancePoolPlacementPrimarySubnet.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 theInstancePoolPlacementPrimarySubnet.Builder
, which maintain a set of all explicitly set fields calledInstancePoolPlacementPrimarySubnet.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
InstancePoolPlacementPrimarySubnet.Builder
-
Constructor Summary
Constructors Constructor Description InstancePoolPlacementPrimarySubnet(Boolean isAssignIpv6Ip, List<InstancePoolPlacementIpv6AddressIpv6SubnetCidrDetails> ipv6AddressIpv6SubnetCidrPairDetails, String subnetId)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static InstancePoolPlacementPrimarySubnet.Builder
builder()
Create a new builder.boolean
equals(Object o)
List<InstancePoolPlacementIpv6AddressIpv6SubnetCidrDetails>
getIpv6AddressIpv6SubnetCidrPairDetails()
A list of IPv6 prefix ranges from which the VNIC should be assigned an IPv6 address.Boolean
getIsAssignIpv6Ip()
Whether to allocate an IPv6 address at instance and VNIC creation from an IPv6 enabled subnet.String
getSubnetId()
The subnet OCID for the secondary VNIC.int
hashCode()
InstancePoolPlacementPrimarySubnet.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
InstancePoolPlacementPrimarySubnet
@Deprecated @ConstructorProperties({"isAssignIpv6Ip","ipv6AddressIpv6SubnetCidrPairDetails","subnetId"}) public InstancePoolPlacementPrimarySubnet(Boolean isAssignIpv6Ip, List<InstancePoolPlacementIpv6AddressIpv6SubnetCidrDetails> ipv6AddressIpv6SubnetCidrPairDetails, String subnetId)
Deprecated.
-
-
Method Detail
-
builder
public static InstancePoolPlacementPrimarySubnet.Builder builder()
Create a new builder.
-
toBuilder
public InstancePoolPlacementPrimarySubnet.Builder toBuilder()
-
getIsAssignIpv6Ip
public Boolean getIsAssignIpv6Ip()
Whether to allocate an IPv6 address at instance and VNIC creation from an IPv6 enabled subnet.Default: False. When provided you may optionally provide an IPv6 prefix ( ipv6SubnetCidr) of your choice to assign the IPv6 address from. If ipv6SubnetCidr is not provided then an IPv6 prefix is chosen for you.
- Returns:
- the value
-
getIpv6AddressIpv6SubnetCidrPairDetails
public List<InstancePoolPlacementIpv6AddressIpv6SubnetCidrDetails> getIpv6AddressIpv6SubnetCidrPairDetails()
A list of IPv6 prefix ranges from which the VNIC should be assigned an IPv6 address.You can provide only the prefix ranges and OCI will select an available address from the range. You can optionally choose to leave the prefix range empty and instead provide the specific IPv6 address that should be used from within that range.
- 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
-
-