public static final class DatacenterTypes.CreateSpec.Builder
extends java.lang.Object
DatacenterTypes.CreateSpec
.Constructor and Description |
---|
Builder(java.lang.String name)
Constructor with parameters for the required properties of
DatacenterTypes.CreateSpec . |
Modifier and Type | Method and Description |
---|---|
DatacenterTypes.CreateSpec |
build() |
DatacenterTypes.CreateSpec.Builder |
setFolder(java.lang.String folder)
Datacenter folder in which the new datacenter should be created.
|
public Builder(java.lang.String name)
DatacenterTypes.CreateSpec
.public DatacenterTypes.CreateSpec.Builder setFolder(java.lang.String folder)
null
, the system will attempt to choose a suitable folder for the datacenter;
if a folder cannot be chosen, the datacenter creation operation will fail.folder
- New value for the property.
When clients pass a value of this class as a parameter, the property must be an
identifier for the resource type: Folder
. When methods return a value of
this class as a return value, the property will be an identifier for the
resource type: Folder
.public DatacenterTypes.CreateSpec build()