Package com.oracle.bmc.ocvp.model
Class DatastoreAttachment.Builder
- java.lang.Object
-
- com.oracle.bmc.ocvp.model.DatastoreAttachment.Builder
-
- Enclosing class:
- DatastoreAttachment
public static class DatastoreAttachment.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DatastoreAttachment.Builder
blockVolumeId(String blockVolumeId)
The OCID of the Block Volume that belongs to the datastore.DatastoreAttachment
build()
DatastoreAttachment.Builder
copy(DatastoreAttachment model)
DatastoreAttachment.Builder
datastoreId(String datastoreId)
The OCIDs of the Datastore that ESXi host is attached to.DatastoreAttachment.Builder
ipAddress(String ipAddress)
The IP address of datastore attachment.DatastoreAttachment.Builder
port(Integer port)
The port of datastore attachment.DatastoreAttachment.Builder
volumeIqn(String volumeIqn)
An IQN of the Block Storage Volume.
-
-
-
Method Detail
-
volumeIqn
public DatastoreAttachment.Builder volumeIqn(String volumeIqn)
An IQN of the Block Storage Volume.- Parameters:
volumeIqn
- the value to set- Returns:
- this builder
-
blockVolumeId
public DatastoreAttachment.Builder blockVolumeId(String blockVolumeId)
The OCID of the Block Volume that belongs to the datastore.- Parameters:
blockVolumeId
- the value to set- Returns:
- this builder
-
datastoreId
public DatastoreAttachment.Builder datastoreId(String datastoreId)
The OCIDs of the Datastore that ESXi host is attached to.- Parameters:
datastoreId
- the value to set- Returns:
- this builder
-
ipAddress
public DatastoreAttachment.Builder ipAddress(String ipAddress)
The IP address of datastore attachment.- Parameters:
ipAddress
- the value to set- Returns:
- this builder
-
port
public DatastoreAttachment.Builder port(Integer port)
The port of datastore attachment.- Parameters:
port
- the value to set- Returns:
- this builder
-
build
public DatastoreAttachment build()
-
copy
public DatastoreAttachment.Builder copy(DatastoreAttachment model)
-
-