public static final class DraftImportResult.Builder
extends java.lang.Object
DraftImportResult.| Constructor and Description |
|---|
Builder(DraftImportResult.Status status)
Constructor with parameters for the required properties of
DraftImportResult. |
| Modifier and Type | Method and Description |
|---|---|
DraftImportResult |
build() |
DraftImportResult.Builder |
setDraft(java.lang.String draft)
This identifier refers to the commit action of importing the desired
configuration document.
|
DraftImportResult.Builder |
setError(LocalizableMessage error)
Localized message describing the error encountered while importing desired
configuration.
|
DraftImportResult.Builder |
setWarnings(java.util.List<LocalizableMessage> warnings)
Any issues found during the import are reported in this list.
|
public Builder(DraftImportResult.Status status)
DraftImportResult.public DraftImportResult.Builder setDraft(java.lang.String draft)
getStatus() is DraftImportResult.Status.OK.draft - 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: com.vmware.esx.settings.draft. When
methods return a value of this class as a return value, the property will be an
identifier for the resource type: com.vmware.esx.settings.draft.public DraftImportResult.Builder setError(LocalizableMessage error)
getStatus() is DraftImportResult.Status.ERROR.error - New value for the property.public DraftImportResult.Builder setWarnings(java.util.List<LocalizableMessage> warnings)
warnings - New value for the property.public DraftImportResult build()