public static final class LibraryItemTypes.OvfSummary.Builder
extends java.lang.Object
LibraryItemTypes.OvfSummary
.Constructor and Description |
---|
Builder(java.util.List<java.lang.String> eULAs)
Constructor with parameters for the required properties of
LibraryItemTypes.OvfSummary . |
Modifier and Type | Method and Description |
---|---|
LibraryItemTypes.OvfSummary |
build() |
LibraryItemTypes.OvfSummary.Builder |
setAdditionalParams(java.util.List<Structure> additionalParams)
Additional OVF parameters which can be specified for the deployment target.
|
LibraryItemTypes.OvfSummary.Builder |
setAnnotation(java.lang.String annotation)
Default annotation for the virtual machine or virtual appliance.
|
LibraryItemTypes.OvfSummary.Builder |
setName(java.lang.String name)
Default name for the virtual machine or virtual appliance.
|
LibraryItemTypes.OvfSummary.Builder |
setNetworks(java.util.List<java.lang.String> networks)
Section identifiers for sections of type ovf:NetworkSection in the OVF
descriptor.
|
LibraryItemTypes.OvfSummary.Builder |
setStorageGroups(java.util.List<java.lang.String> storageGroups)
Section identifiers for sections of type vmw:StorageGroupSection in the OVF
descriptor.
|
public Builder(java.util.List<java.lang.String> eULAs)
LibraryItemTypes.OvfSummary
.public LibraryItemTypes.OvfSummary.Builder setName(java.lang.String name)
null
, the OVF descriptor did not specify a name.name
- New value for the property.public LibraryItemTypes.OvfSummary.Builder setAnnotation(java.lang.String annotation)
null
, the OVF descriptor did not specify an annotation.annotation
- New value for the property.public LibraryItemTypes.OvfSummary.Builder setNetworks(java.util.List<java.lang.String> networks)
LibraryItemTypes.ResourcePoolDeploymentSpec.getNetworkMappings()
.
If null
, the OVF descriptor did not specify any networks.networks
- New value for the property.public LibraryItemTypes.OvfSummary.Builder setStorageGroups(java.util.List<java.lang.String> storageGroups)
LibraryItemTypes.ResourcePoolDeploymentSpec.getStorageMappings()
.
If null
, the OVF descriptor did not specify any storage groups.storageGroups
- New value for the property.public LibraryItemTypes.OvfSummary.Builder setAdditionalParams(java.util.List<Structure> additionalParams)
LibraryItemTypes.ResourcePoolDeploymentSpec.getAdditionalParameters()
for the deploy()
method.
If null
, the OVF descriptor does not require addtional parameters or
does not have additional parameters suitable for the deployment target.additionalParams
- New value for the property.
When clients pass a value of this class as a parameter, the property must
contain all the properties defined in OvfParams
.
When methods return a value of this class as a return value, the property will
contain all the properties defined in OvfParams
.public LibraryItemTypes.OvfSummary build()