Package com.oracle.bmc.core.model
Class InstancePoolPlacementSecondaryVnicSubnet.Builder
- java.lang.Object
-
- com.oracle.bmc.core.model.InstancePoolPlacementSecondaryVnicSubnet.Builder
-
- Enclosing class:
- InstancePoolPlacementSecondaryVnicSubnet
public static class InstancePoolPlacementSecondaryVnicSubnet.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InstancePoolPlacementSecondaryVnicSubnet
build()
InstancePoolPlacementSecondaryVnicSubnet.Builder
copy(InstancePoolPlacementSecondaryVnicSubnet model)
InstancePoolPlacementSecondaryVnicSubnet.Builder
displayName(String displayName)
The display name of the VNIC.InstancePoolPlacementSecondaryVnicSubnet.Builder
ipv6AddressIpv6SubnetCidrPairDetails(List<InstancePoolPlacementIpv6AddressIpv6SubnetCidrDetails> ipv6AddressIpv6SubnetCidrPairDetails)
A list of IPv6 prefix ranges from which the VNIC should be assigned an IPv6 address.InstancePoolPlacementSecondaryVnicSubnet.Builder
isAssignIpv6Ip(Boolean isAssignIpv6Ip)
Whether to allocate an IPv6 address at instance and VNIC creation from an IPv6 enabled subnet.InstancePoolPlacementSecondaryVnicSubnet.Builder
subnetId(String subnetId)
The subnet OCID for the secondary VNIC.
-
-
-
Method Detail
-
displayName
public InstancePoolPlacementSecondaryVnicSubnet.Builder displayName(String displayName)
The display name of the VNIC.This is also used to match against the instance configuration defined secondary VNIC.
- Parameters:
displayName
- the value to set- Returns:
- this builder
-
isAssignIpv6Ip
public InstancePoolPlacementSecondaryVnicSubnet.Builder isAssignIpv6Ip(Boolean isAssignIpv6Ip)
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.
- Parameters:
isAssignIpv6Ip
- the value to set- Returns:
- this builder
-
ipv6AddressIpv6SubnetCidrPairDetails
public InstancePoolPlacementSecondaryVnicSubnet.Builder ipv6AddressIpv6SubnetCidrPairDetails(List<InstancePoolPlacementIpv6AddressIpv6SubnetCidrDetails> ipv6AddressIpv6SubnetCidrPairDetails)
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.
- Parameters:
ipv6AddressIpv6SubnetCidrPairDetails
- the value to set- Returns:
- this builder
-
subnetId
public InstancePoolPlacementSecondaryVnicSubnet.Builder subnetId(String subnetId)
The subnet OCID for the secondary VNIC.- Parameters:
subnetId
- the value to set- Returns:
- this builder
-
build
public InstancePoolPlacementSecondaryVnicSubnet build()
-
copy
public InstancePoolPlacementSecondaryVnicSubnet.Builder copy(InstancePoolPlacementSecondaryVnicSubnet model)
-
-