Class SubnetEndpoint.Builder
- java.lang.Object
-
- com.oracle.bmc.vnmonitoring.model.SubnetEndpoint.Builder
-
- Enclosing class:
- SubnetEndpoint
public static class SubnetEndpoint.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SubnetEndpoint.Builder
address(String address)
The IPv4 address of the Endpoint.SubnetEndpoint
build()
SubnetEndpoint.Builder
copy(SubnetEndpoint model)
SubnetEndpoint.Builder
subnetId(String subnetId)
The OCID of the subnet containing the IP address.
-
-
-
Method Detail
-
address
public SubnetEndpoint.Builder address(String address)
The IPv4 address of the Endpoint.- Parameters:
address
- the value to set- Returns:
- this builder
-
subnetId
public SubnetEndpoint.Builder subnetId(String subnetId)
The OCID of the subnet containing the IP address.This can be used to disambiguate which subnet is intended, in case the IP address is used in more than one subnet (when there are subnets with overlapping IP ranges).
- Parameters:
subnetId
- the value to set- Returns:
- this builder
-
build
public SubnetEndpoint build()
-
copy
public SubnetEndpoint.Builder copy(SubnetEndpoint model)
-
-