public static final class SizeParams.Builder
extends java.lang.Object
SizeParams
.Constructor and Description |
---|
SizeParams.Builder()
Constructor with parameters for the required properties of
SizeParams . |
Modifier and Type | Method and Description |
---|---|
SizeParams |
build() |
SizeParams.Builder |
setApproximateDownloadSize(java.lang.Long approximateDownloadSize)
A best guess as to the total amount of data that must be transferred to download
the OVF package.
|
SizeParams.Builder |
setApproximateFlatDeploymentSize(java.lang.Long approximateFlatDeploymentSize)
A best guess as to the total amount of space required to deploy the OVF package
if using flat disks.
|
SizeParams.Builder |
setApproximateSparseDeploymentSize(java.lang.Long approximateSparseDeploymentSize)
A best guess as to the total amount of space required to deploy the OVF package
using sparse disks.
|
SizeParams.Builder |
setType(java.lang.String type)
Unique identifier describing the type of the OVF parameters.
|
SizeParams.Builder |
setVariableDiskSize(java.lang.Boolean variableDiskSize)
Whether the OVF uses variable disk sizes.
|
public SizeParams.Builder()
SizeParams
.public SizeParams.Builder setApproximateDownloadSize(java.lang.Long approximateDownloadSize)
This may be inaccurate due to disk compression etc.
This property is not used in the input parameters when deploying an OVF package. This property is optional in the result when retrieving information about an OVF package. It will benull
if there is insufficient information to provide
a proper estimate.approximateDownloadSize
- New value for the property.public SizeParams.Builder setApproximateFlatDeploymentSize(java.lang.Long approximateFlatDeploymentSize)
null
if there is insufficient information to provide
a proper estimate.approximateFlatDeploymentSize
- New value for the property.public SizeParams.Builder setApproximateSparseDeploymentSize(java.lang.Long approximateSparseDeploymentSize)
null
if there is insufficient information to provide
a proper estimate.approximateSparseDeploymentSize
- New value for the property.public SizeParams.Builder setVariableDiskSize(java.lang.Boolean variableDiskSize)
For empty disks, rather than specifying a fixed virtual disk capacity, the capacity may be given using a reference to a ovf:Property element in a ovf:ProductSection element in OVF package.
This property is not used in the input parameters when deploying an OVF package. This property is optional in the result when retrieving information about an OVF package. Ifnull
or false, the OVF does not use variable disk sizes.variableDiskSize
- New value for the property.public SizeParams.Builder setType(java.lang.String type)
type
- New value for the property.public SizeParams build()