public static final class DeploymentOption.Builder
extends java.lang.Object
DeploymentOption
.Constructor and Description |
---|
DeploymentOption.Builder()
Constructor with parameters for the required properties of
DeploymentOption . |
Modifier and Type | Method and Description |
---|---|
DeploymentOption |
build() |
DeploymentOption.Builder |
setDefaultChoice(java.lang.Boolean defaultChoice)
A
boolean flag indicates whether this deployment option is the default
choice. |
DeploymentOption.Builder |
setDescription(java.lang.String description)
A localizable description for the deployment option.
|
DeploymentOption.Builder |
setKey(java.lang.String key)
The key of the deployment option, corresponding to the ovf:id attribute in the
OVF descriptor.
|
DeploymentOption.Builder |
setLabel(java.lang.String label)
A localizable label for the deployment option.
|
public DeploymentOption.Builder()
DeploymentOption
.public DeploymentOption.Builder setKey(java.lang.String key)
key
- New value for the property.public DeploymentOption.Builder setLabel(java.lang.String label)
label
- New value for the property.public DeploymentOption.Builder setDescription(java.lang.String description)
description
- New value for the property.public DeploymentOption.Builder setDefaultChoice(java.lang.Boolean defaultChoice)
boolean
flag indicates whether this deployment option is the default
choice.
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. If null
or false, it is not the default.defaultChoice
- New value for the property.public DeploymentOption build()