Class LogicalUnit.Builder
- java.lang.Object
-
- com.oracle.bmc.cloudmigrations.model.LogicalUnit.Builder
-
- Enclosing class:
- LogicalUnit
public static class LogicalUnit.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LogicalUnit.Builderaddress(String address)Address of the logical unit.LogicalUnitbuild()LogicalUnit.Buildercopy(LogicalUnit model)LogicalUnit.BuilderdiscardMaxSizeInBytes(Long discardMaxSizeInBytes)The maximum number of bytes that can be discarded by the logical unit???s underlying storage in a single operation.LogicalUnit.BuilderdiskId(String diskId)Disk ID of the logical unit.LogicalUnit.Builderid(String id)a unique identifier.LogicalUnit.BuilderisDiscardZeroesData(Boolean isDiscardZeroesData)True, if previously discarded blocks in the logical unit???s underlying storage are read back as zeros.LogicalUnit.BuilderlunMapping(Integer lunMapping)LUN MappingLogicalUnit.BuilderlunStatus(LogicalUnit.LunStatus lunStatus)LUN StatusLogicalUnit.Builderpassword(String password)Password of the logical unit.LogicalUnit.Builderpaths(Integer paths)Paths of the logical unit.LogicalUnit.Builderport(Integer port)Port of the logical unit.LogicalUnit.Builderportal(String portal)Portal of the logical unit.LogicalUnit.BuilderproductId(String productId)Product ID of the logical unit.LogicalUnit.Builderserial(String serial)Serial of the logical unit.LogicalUnit.Buildersize(Integer size)Size of the logical unit.LogicalUnit.BuilderstorageDomainId(String storageDomainId)Storage Domain ID of the logical unit.LogicalUnit.Buildertarget(String target)Target of the logical unit.LogicalUnit.Builderusername(String username)Username of the logical unit.LogicalUnit.BuildervendorId(String vendorId)Vendor ID of the logical unit.LogicalUnit.BuildervolumeGroupId(String volumeGroupId)Volume Group ID of the logical unit.
-
-
-
Method Detail
-
address
public LogicalUnit.Builder address(String address)
Address of the logical unit.- Parameters:
address- the value to set- Returns:
- this builder
-
discardMaxSizeInBytes
public LogicalUnit.Builder discardMaxSizeInBytes(Long discardMaxSizeInBytes)
The maximum number of bytes that can be discarded by the logical unit???s underlying storage in a single operation.- Parameters:
discardMaxSizeInBytes- the value to set- Returns:
- this builder
-
isDiscardZeroesData
public LogicalUnit.Builder isDiscardZeroesData(Boolean isDiscardZeroesData)
True, if previously discarded blocks in the logical unit???s underlying storage are read back as zeros.- Parameters:
isDiscardZeroesData- the value to set- Returns:
- this builder
-
diskId
public LogicalUnit.Builder diskId(String diskId)
Disk ID of the logical unit.- Parameters:
diskId- the value to set- Returns:
- this builder
-
id
public LogicalUnit.Builder id(String id)
a unique identifier.- Parameters:
id- the value to set- Returns:
- this builder
-
lunMapping
public LogicalUnit.Builder lunMapping(Integer lunMapping)
LUN Mapping- Parameters:
lunMapping- the value to set- Returns:
- this builder
-
lunStatus
public LogicalUnit.Builder lunStatus(LogicalUnit.LunStatus lunStatus)
LUN Status- Parameters:
lunStatus- the value to set- Returns:
- this builder
-
password
public LogicalUnit.Builder password(String password)
Password of the logical unit.- Parameters:
password- the value to set- Returns:
- this builder
-
paths
public LogicalUnit.Builder paths(Integer paths)
Paths of the logical unit.- Parameters:
paths- the value to set- Returns:
- this builder
-
port
public LogicalUnit.Builder port(Integer port)
Port of the logical unit.- Parameters:
port- the value to set- Returns:
- this builder
-
portal
public LogicalUnit.Builder portal(String portal)
Portal of the logical unit.- Parameters:
portal- the value to set- Returns:
- this builder
-
productId
public LogicalUnit.Builder productId(String productId)
Product ID of the logical unit.- Parameters:
productId- the value to set- Returns:
- this builder
-
serial
public LogicalUnit.Builder serial(String serial)
Serial of the logical unit.- Parameters:
serial- the value to set- Returns:
- this builder
-
size
public LogicalUnit.Builder size(Integer size)
Size of the logical unit.- Parameters:
size- the value to set- Returns:
- this builder
-
storageDomainId
public LogicalUnit.Builder storageDomainId(String storageDomainId)
Storage Domain ID of the logical unit.- Parameters:
storageDomainId- the value to set- Returns:
- this builder
-
target
public LogicalUnit.Builder target(String target)
Target of the logical unit.- Parameters:
target- the value to set- Returns:
- this builder
-
username
public LogicalUnit.Builder username(String username)
Username of the logical unit.- Parameters:
username- the value to set- Returns:
- this builder
-
vendorId
public LogicalUnit.Builder vendorId(String vendorId)
Vendor ID of the logical unit.- Parameters:
vendorId- the value to set- Returns:
- this builder
-
volumeGroupId
public LogicalUnit.Builder volumeGroupId(String volumeGroupId)
Volume Group ID of the logical unit.- Parameters:
volumeGroupId- the value to set- Returns:
- this builder
-
build
public LogicalUnit build()
-
copy
public LogicalUnit.Builder copy(LogicalUnit model)
-
-