public static final class DeploymentOptionParams.Builder
extends java.lang.Object
DeploymentOptionParams
.Constructor and Description |
---|
DeploymentOptionParams.Builder()
Constructor with parameters for the required properties of
DeploymentOptionParams . |
Modifier and Type | Method and Description |
---|---|
DeploymentOptionParams |
build() |
DeploymentOptionParams.Builder |
setDeploymentOptions(java.util.List<DeploymentOption> deploymentOptions)
List of deployment options. |
DeploymentOptionParams.Builder |
setSelectedKey(java.lang.String selectedKey)
The selected deployment option.
|
DeploymentOptionParams.Builder |
setType(java.lang.String type)
Unique identifier describing the type of the OVF parameters.
|
public DeploymentOptionParams.Builder()
DeploymentOptionParams
.public DeploymentOptionParams.Builder setDeploymentOptions(java.util.List<DeploymentOption> deploymentOptions)
List
of deployment options. This property corresponds to the
ovf:Configuration elements of the ovf:DeploymentOptionSection in the
specification. It is a discrete set of intended resource allocation
configurations from which one can be selected.
This property is not used in the input parameters when deploying an OVF package.
This property will always be present in the result when retrieving information
about an OVF package.deploymentOptions
- New value for the property.public DeploymentOptionParams.Builder setSelectedKey(java.lang.String selectedKey)
DeploymentOption
in the list in the getDeploymentOptions()
property with a matching value in the DeploymentOption.getKey()
property.
This property is optional in the input parameters when deploying an OVF package.
If null
the server will use the default deployment configuration,
usually it's the first one in DeploymentOptionParams.getDeploymentOptions()
List
. This property is optional in the result when retrieving
information about an OVF package. The value will be set only if it is specified
with the optional ovf:default attribute.selectedKey
- New value for the property.public DeploymentOptionParams.Builder setType(java.lang.String type)
type
- New value for the property.public DeploymentOptionParams build()