Class CreateIpv6Details.Builder
- java.lang.Object
-
- com.oracle.bmc.vnmonitoring.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.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)Simple key-value pair that is applied without any predefined name, type or scope.CreateIpv6Details.BuilderipAddress(String ipAddress)An IPv6 address of your choice.CreateIpv6Details.BuilderisInternetAccessAllowed(Boolean isInternetAccessAllowed)Whether the IPv6 can be used for internet communication.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. Example: {“foo-namespace”: {“bar-key”: “value”}}
- 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)
Simple key-value pair that is applied without any predefined name, type or scope.Exists for cross-compatibility only. Example: {“bar-key”: “value”}
- 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
-
isInternetAccessAllowed
public CreateIpv6Details.Builder isInternetAccessAllowed(Boolean isInternetAccessAllowed)
Whether the IPv6 can be used for internet communication.Allowed by default for an IPv6 in a public subnet. Never allowed for an IPv6 in a private subnet. If the value is true, the IPv6 uses its public IP address for internet communication.
If isInternetAccessAllowed is set to false, the resulting publicIpAddress attribute for the Ipv6 is null.
Example: true
- Parameters:
isInternetAccessAllowed- 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
-
build
public CreateIpv6Details build()
-
copy
public CreateIpv6Details.Builder copy(CreateIpv6Details model)
-
-