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