@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 the InstancePoolPlacementPrimarySubnet.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 InstancePoolPlacementPrimarySubnet.Builder
, which maintain a
set of all explicitly set fields called InstancePoolPlacementPrimarySubnet.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 |
InstancePoolPlacementPrimarySubnet.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
InstancePoolPlacementPrimarySubnet(Boolean isAssignIpv6Ip,
List<InstancePoolPlacementIpv6AddressIpv6SubnetCidrDetails> ipv6AddressIpv6SubnetCidrPairDetails,
String subnetId)
Deprecated.
|
Modifier and Type | Method and 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.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"isAssignIpv6Ip","ipv6AddressIpv6SubnetCidrPairDetails","subnetId"}) public InstancePoolPlacementPrimarySubnet(Boolean isAssignIpv6Ip, List<InstancePoolPlacementIpv6AddressIpv6SubnetCidrDetails> ipv6AddressIpv6SubnetCidrPairDetails, String subnetId)
public static InstancePoolPlacementPrimarySubnet.Builder builder()
Create a new builder.
public InstancePoolPlacementPrimarySubnet.Builder toBuilder()
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.
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.
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.