Class Storage.Builder
- java.lang.Object
-
- com.oracle.bmc.cloudmigrations.model.Storage.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Storage.Builderaddress(String address)Address of storage domain.Storagebuild()Storage.Buildercomment(String comment)Free text containing comments about this object.Storage.Buildercopy(Storage model)Storage.BuilderdriverOptions(List<OlvmProperty> driverOptions)The options to be passed when creating a storage domain using a cinder driver.Storage.BuilderdriverSensitiveOptions(List<OlvmProperty> driverSensitiveOptions)The options containing sensitive information to be passed when creating a storage domain using a cinder driver.Storage.Builderid(String id)A unique identifier.Storage.BuilderisOverrideLuns(Boolean isOverrideLuns)Whether to override LUNsStorage.BuilderlogicalUnits(List<LogicalUnit> logicalUnits)Logical Units of the host storageStorage.BuildermountOptions(String mountOptions)Mount optionsStorage.BuildernfsRetrans(Integer nfsRetrans)The number of times to retry a request before attempting further recovery actions.Storage.BuildernfsTimeo(Integer nfsTimeo)The time in tenths of a second to wait for a response before retrying NFS requests.Storage.BuildernfsVersion(Storage.NfsVersion nfsVersion)Version of NFS used.Storage.Builderpassword(String password)Password of the host storage.Storage.Builderpaths(Integer paths)Paths of the host storage.Storage.Builderport(Integer port)Port of the host storage.Storage.Builderportal(String portal)Portal of the host storage.Storage.BuilderstorageDescription(String storageDescription)A human-readable description in plain text.Storage.Buildertarget(String target)Target of the host storage.Storage.Buildertype(Storage.Type type)Type representing a storage domain type.Storage.Builderusername(String username)Username of the host storage.Storage.BuildervfsType(String vfsType)Type of VFSStorage.BuildervolumeGroup(VolumeGroup volumeGroup)
-
-
-
Method Detail
-
id
public Storage.Builder id(String id)
A unique identifier.- Parameters:
id- the value to set- Returns:
- this builder
-
address
public Storage.Builder address(String address)
Address of storage domain.- Parameters:
address- the value to set- Returns:
- this builder
-
comment
public Storage.Builder comment(String comment)
Free text containing comments about this object.- Parameters:
comment- the value to set- Returns:
- this builder
-
storageDescription
public Storage.Builder storageDescription(String storageDescription)
A human-readable description in plain text.- Parameters:
storageDescription- the value to set- Returns:
- this builder
-
driverOptions
public Storage.Builder driverOptions(List<OlvmProperty> driverOptions)
The options to be passed when creating a storage domain using a cinder driver.- Parameters:
driverOptions- the value to set- Returns:
- this builder
-
driverSensitiveOptions
public Storage.Builder driverSensitiveOptions(List<OlvmProperty> driverSensitiveOptions)
The options containing sensitive information to be passed when creating a storage domain using a cinder driver.- Parameters:
driverSensitiveOptions- the value to set- Returns:
- this builder
-
logicalUnits
public Storage.Builder logicalUnits(List<LogicalUnit> logicalUnits)
Logical Units of the host storage- Parameters:
logicalUnits- the value to set- Returns:
- this builder
-
mountOptions
public Storage.Builder mountOptions(String mountOptions)
Mount options- Parameters:
mountOptions- the value to set- Returns:
- this builder
-
nfsRetrans
public Storage.Builder nfsRetrans(Integer nfsRetrans)
The number of times to retry a request before attempting further recovery actions.- Parameters:
nfsRetrans- the value to set- Returns:
- this builder
-
nfsTimeo
public Storage.Builder nfsTimeo(Integer nfsTimeo)
The time in tenths of a second to wait for a response before retrying NFS requests.- Parameters:
nfsTimeo- the value to set- Returns:
- this builder
-
nfsVersion
public Storage.Builder nfsVersion(Storage.NfsVersion nfsVersion)
Version of NFS used.- Parameters:
nfsVersion- the value to set- Returns:
- this builder
-
isOverrideLuns
public Storage.Builder isOverrideLuns(Boolean isOverrideLuns)
Whether to override LUNs- Parameters:
isOverrideLuns- the value to set- Returns:
- this builder
-
password
public Storage.Builder password(String password)
Password of the host storage.- Parameters:
password- the value to set- Returns:
- this builder
-
paths
public Storage.Builder paths(Integer paths)
Paths of the host storage.- Parameters:
paths- the value to set- Returns:
- this builder
-
port
public Storage.Builder port(Integer port)
Port of the host storage.- Parameters:
port- the value to set- Returns:
- this builder
-
portal
public Storage.Builder portal(String portal)
Portal of the host storage.- Parameters:
portal- the value to set- Returns:
- this builder
-
target
public Storage.Builder target(String target)
Target of the host storage.- Parameters:
target- the value to set- Returns:
- this builder
-
username
public Storage.Builder username(String username)
Username of the host storage.- Parameters:
username- the value to set- Returns:
- this builder
-
type
public Storage.Builder type(Storage.Type type)
Type representing a storage domain type.- Parameters:
type- the value to set- Returns:
- this builder
-
vfsType
public Storage.Builder vfsType(String vfsType)
Type of VFS- Parameters:
vfsType- the value to set- Returns:
- this builder
-
volumeGroup
public Storage.Builder volumeGroup(VolumeGroup volumeGroup)
-
build
public Storage build()
-
copy
public Storage.Builder copy(Storage model)
-
-