Class UpdateIpv6Details.Builder
- java.lang.Object
-
- com.oracle.bmc.vnmonitoring.model.UpdateIpv6Details.Builder
-
- Enclosing class:
- UpdateIpv6Details
public static class UpdateIpv6Details.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateIpv6Detailsbuild()UpdateIpv6Details.Buildercopy(UpdateIpv6Details model)UpdateIpv6Details.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.UpdateIpv6Details.BuilderdisplayName(String displayName)A user-friendly name.UpdateIpv6Details.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.UpdateIpv6Details.BuilderisInternetAccessAllowed(Boolean isInternetAccessAllowed)Whether the IPv6 can be used for internet communication.UpdateIpv6Details.BuildervnicId(String vnicId)The OCID of the VNIC to reassign the IPv6 to.
-
-
-
Method Detail
-
definedTags
public UpdateIpv6Details.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 UpdateIpv6Details.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 UpdateIpv6Details.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
-
isInternetAccessAllowed
public UpdateIpv6Details.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 you switch this from true to false, the publicIpAddress attribute for the IPv6 becomes null.
Example: false
- Parameters:
isInternetAccessAllowed- the value to set- Returns:
- this builder
-
vnicId
public UpdateIpv6Details.Builder vnicId(String vnicId)
The OCID of the VNIC to reassign the IPv6 to.The VNIC must be in the same subnet as the current VNIC.
- Parameters:
vnicId- the value to set- Returns:
- this builder
-
build
public UpdateIpv6Details build()
-
copy
public UpdateIpv6Details.Builder copy(UpdateIpv6Details model)
-
-