Class CreateIpv6Details.Builder
- java.lang.Object
-
- com.oracle.bmc.core.model.CreateIpv6Details.Builder
-
- Enclosing class:
- CreateIpv6Details
public static class CreateIpv6Details.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateIpv6Detailsbuild()CreateIpv6Details.BuildercidrPrefixLength(Integer cidrPrefixLength)Length of cidr range.CreateIpv6Details.Buildercopy(CreateIpv6Details model)CreateIpv6Details.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.CreateIpv6Details.BuilderdisplayName(String displayName)A user-friendly name.CreateIpv6Details.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.CreateIpv6Details.BuilderipAddress(String ipAddress)An IPv6 address of your choice.CreateIpv6Details.Builderipv6SubnetCidr(String ipv6SubnetCidr)The IPv6 prefix allocated to the subnet.CreateIpv6Details.Builderlifetime(CreateIpv6Details.Lifetime lifetime)Lifetime of the IP address.CreateIpv6Details.BuilderrouteTableId(String routeTableId)The OCID of the route table the IP address or VNIC will use.CreateIpv6Details.BuildersubnetId(String subnetId)The OCID of the subnet from which the IPv6 is to be drawn.CreateIpv6Details.BuildervnicId(String vnicId)The OCID of the VNIC to assign the IPv6 to.
-
-
-
Method Detail
-
definedTags
public CreateIpv6Details.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
Example: {"Operations": {"CostCenter": "42"}}
- Parameters:
definedTags- the value to set- Returns:
- this builder
-
displayName
public CreateIpv6Details.Builder displayName(String displayName)
A user-friendly name.Does not have to be unique, and it’s changeable. Avoid entering confidential information.
- Parameters:
displayName- the value to set- Returns:
- this builder
-
freeformTags
public CreateIpv6Details.Builder freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.
Example: {"Department": "Finance"}
- Parameters:
freeformTags- the value to set- Returns:
- this builder
-
ipAddress
public CreateIpv6Details.Builder ipAddress(String ipAddress)
An IPv6 address of your choice.Must be an available IP address within the subnet’s CIDR. If you don’t specify a value, Oracle automatically assigns an IPv6 address from the subnet. The subnet is the one that contains the VNIC you specify in vnicId.
Example: 2001:DB8::
- Parameters:
ipAddress- the value to set- Returns:
- this builder
-
cidrPrefixLength
public CreateIpv6Details.Builder cidrPrefixLength(Integer cidrPrefixLength)
Length of cidr range.Optional field to specify flexible cidr.
- Parameters:
cidrPrefixLength- the value to set- Returns:
- this builder
-
vnicId
public CreateIpv6Details.Builder vnicId(String vnicId)
The OCID of the VNIC to assign the IPv6 to.The IPv6 will be in the VNIC’s subnet.
- Parameters:
vnicId- the value to set- Returns:
- this builder
-
subnetId
public CreateIpv6Details.Builder subnetId(String subnetId)
The OCID of the subnet from which the IPv6 is to be drawn.The IP address, if supplied, must be valid for the given subnet, only valid for reserved IPs currently.
- Parameters:
subnetId- the value to set- Returns:
- this builder
-
lifetime
public CreateIpv6Details.Builder lifetime(CreateIpv6Details.Lifetime lifetime)
Lifetime of the IP address.There are two types of IPs: - Ephemeral - Reserved
- Parameters:
lifetime- the value to set- Returns:
- this builder
-
routeTableId
public CreateIpv6Details.Builder routeTableId(String routeTableId)
The OCID of the route table the IP address or VNIC will use.For more information, see Per-resource Routing.
- Parameters:
routeTableId- the value to set- Returns:
- this builder
-
ipv6SubnetCidr
public CreateIpv6Details.Builder ipv6SubnetCidr(String ipv6SubnetCidr)
The IPv6 prefix allocated to the subnet.This is required if more than one IPv6 prefix exists on the subnet.
- Parameters:
ipv6SubnetCidr- the value to set- Returns:
- this builder
-
build
public CreateIpv6Details build()
-
copy
public CreateIpv6Details.Builder copy(CreateIpv6Details model)
-
-