Class ComputeInstanceEndpoint.Builder
- java.lang.Object
-
- com.oracle.bmc.vnmonitoring.model.ComputeInstanceEndpoint.Builder
-
- Enclosing class:
- ComputeInstanceEndpoint
public static class ComputeInstanceEndpoint.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ComputeInstanceEndpoint.Builder
address(String address)
The IPv4 address of the COMPUTE_INSTANCE-type Endpoint object.ComputeInstanceEndpoint
build()
ComputeInstanceEndpoint.Builder
copy(ComputeInstanceEndpoint model)
ComputeInstanceEndpoint.Builder
instanceId(String instanceId)
The OCID of the compute instance.ComputeInstanceEndpoint.Builder
vnicId(String vnicId)
The OCID of the VNIC attached to the compute instance.
-
-
-
Method Detail
-
address
public ComputeInstanceEndpoint.Builder address(String address)
The IPv4 address of the COMPUTE_INSTANCE-type Endpoint object.- Parameters:
address
- the value to set- Returns:
- this builder
-
instanceId
public ComputeInstanceEndpoint.Builder instanceId(String instanceId)
The OCID of the compute instance.- Parameters:
instanceId
- the value to set- Returns:
- this builder
-
vnicId
public ComputeInstanceEndpoint.Builder vnicId(String vnicId)
The OCID of the VNIC attached to the compute instance.- Parameters:
vnicId
- the value to set- Returns:
- this builder
-
build
public ComputeInstanceEndpoint build()
-
copy
public ComputeInstanceEndpoint.Builder copy(ComputeInstanceEndpoint model)
-
-