@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class InstancePoolPlacementSecondaryVnicSubnet extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
The secondary VNIC object for the placement configuration for an instance pool.
Note: Objects should always be created or deserialized using the InstancePoolPlacementSecondaryVnicSubnet.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 InstancePoolPlacementSecondaryVnicSubnet.Builder
, which maintain a
set of all explicitly set fields called InstancePoolPlacementSecondaryVnicSubnet.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 |
InstancePoolPlacementSecondaryVnicSubnet.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
InstancePoolPlacementSecondaryVnicSubnet(String displayName,
Boolean isAssignIpv6Ip,
List<InstancePoolPlacementIpv6AddressIpv6SubnetCidrDetails> ipv6AddressIpv6SubnetCidrPairDetails,
String subnetId)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static InstancePoolPlacementSecondaryVnicSubnet.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getDisplayName()
The display name of the VNIC.
|
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() |
InstancePoolPlacementSecondaryVnicSubnet.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"displayName","isAssignIpv6Ip","ipv6AddressIpv6SubnetCidrPairDetails","subnetId"}) public InstancePoolPlacementSecondaryVnicSubnet(String displayName, Boolean isAssignIpv6Ip, List<InstancePoolPlacementIpv6AddressIpv6SubnetCidrDetails> ipv6AddressIpv6SubnetCidrPairDetails, String subnetId)
public static InstancePoolPlacementSecondaryVnicSubnet.Builder builder()
Create a new builder.
public InstancePoolPlacementSecondaryVnicSubnet.Builder toBuilder()
public String getDisplayName()
The display name of the VNIC. This is also used to match against the instance configuration defined secondary VNIC.
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.