Class UpdatePublicIpDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.vnmonitoring.model.UpdatePublicIpDetails.Builder
-
- Enclosing class:
- UpdatePublicIpDetails
public static class UpdatePublicIpDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdatePublicIpDetails
build()
UpdatePublicIpDetails.Builder
copy(UpdatePublicIpDetails model)
UpdatePublicIpDetails.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.UpdatePublicIpDetails.Builder
displayName(String displayName)
A user-friendly name.UpdatePublicIpDetails.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.UpdatePublicIpDetails.Builder
privateIpId(String privateIpId)
The OCID of the private IP to assign the public IP to.
-
-
-
Method Detail
-
definedTags
public UpdatePublicIpDetails.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 UpdatePublicIpDetails.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 UpdatePublicIpDetails.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
-
privateIpId
public UpdatePublicIpDetails.Builder privateIpId(String privateIpId)
The OCID of the private IP to assign the public IP to.- If the public IP is already assigned to a different private IP, it will be unassigned and then reassigned to the specified private IP. * If you set this field to an empty string, the public IP will be unassigned from the private IP it is currently assigned to.
- Parameters:
privateIpId
- the value to set- Returns:
- this builder
-
build
public UpdatePublicIpDetails build()
-
copy
public UpdatePublicIpDetails.Builder copy(UpdatePublicIpDetails model)
-
-