public static final class ImportResult.Builder
extends java.lang.Object
ImportResult.| Constructor and Description |
|---|
Builder(ImportResult.Status status)
Constructor with parameters for the required properties of
ImportResult. |
| Modifier and Type | Method and Description |
|---|---|
ImportResult |
build() |
ImportResult.Builder |
setCommit(java.lang.String commit)
This identifier refers to the commit action of importing the desired
configuration document.
|
ImportResult.Builder |
setErrors(java.util.List<ValidationError> errors)
Lists all validation errors identified in the configuration document.
|
public Builder(ImportResult.Status status)
ImportResult.public ImportResult.Builder setCommit(java.lang.String commit)
getStatus() is ImportResult.Status.OK.commit - 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.commit. 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.commit.public ImportResult.Builder setErrors(java.util.List<ValidationError> errors)
#success is false.errors - New value for the property.public ImportResult build()