public static final class CheckOutsTypes.CheckOutSpec.Builder
extends java.lang.Object
CheckOutsTypes.CheckOutSpec
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
CheckOutsTypes.CheckOutSpec . |
Modifier and Type | Method and Description |
---|---|
CheckOutsTypes.CheckOutSpec |
build() |
CheckOutsTypes.CheckOutSpec.Builder |
setName(java.lang.String name)
Name of the virtual machine to check out of the library item.
|
CheckOutsTypes.CheckOutSpec.Builder |
setPlacement(CheckOutsTypes.PlacementSpec placement)
Information used to place the checked out virtual machine.
|
CheckOutsTypes.CheckOutSpec.Builder |
setPoweredOn(java.lang.Boolean poweredOn)
Specifies whether the virtual machine should be powered on after check out.
|
public Builder()
CheckOutsTypes.CheckOutSpec
.public CheckOutsTypes.CheckOutSpec.Builder setName(java.lang.String name)
null
, the system will choose a suitable name for the virtual machine.name
- New value for the property.public CheckOutsTypes.CheckOutSpec.Builder setPlacement(CheckOutsTypes.PlacementSpec placement)
null
, the system will place the virtual machine on a suitable resource.
If specified, each property will be used for placement. If the properties result in disjoint placement, the operation will fail. If the properties along with the placement values of the source virtual machine template result in disjoint placement, the operation will fail.
placement
- New value for the property.public CheckOutsTypes.CheckOutSpec.Builder setPoweredOn(java.lang.Boolean poweredOn)
null
, the virtual machine will not be powered on after check out.poweredOn
- New value for the property.public CheckOutsTypes.CheckOutSpec build()