Package com.oracle.bmc.core.model
Class UpdatePublicIpDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.core.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)
Free-form tags for this resource.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. For more information, see Resource Tags.
Example: {"Operations": {"CostCenter": "42"}}
- 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)
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
-
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)
-
-