Package com.oracle.bmc.filestorage.model
Class Endpoint.Builder
- java.lang.Object
-
- com.oracle.bmc.filestorage.model.Endpoint.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Endpointbuild()Endpoint.Buildercopy(Endpoint model)Endpoint.Builderhostname(String hostname)Name of the DNS server.Endpoint.Builderport(Long port)Port of the DNS server.
-
-
-
Method Detail
-
hostname
public Endpoint.Builder hostname(String hostname)
Name of the DNS server.- Parameters:
hostname- the value to set- Returns:
- this builder
-
port
public Endpoint.Builder port(Long port)
Port of the DNS server.- Parameters:
port- the value to set- Returns:
- this builder
-
build
public Endpoint build()
-
copy
public Endpoint.Builder copy(Endpoint model)
-
-