VMware vSphere Automation SDK for .NET 7.0.0.1
vmware::esx::settings::TaskInfo::Builder Class Reference

Builder class for TaskInfo. More...

List of all members.

Public Member Functions

 Builder (vmware.vapi.std.LocalizableMessage description, string service, string operation, vmware.cis.task.Status status, bool cancelable)
 Constructor with parameters for the required properties of TaskInfo.
Builder SetProgress (vmware.cis.task.Progress progress)
 Progress of the operation.
Builder SetSubtasks (global::System.Collections.Generic.Dictionary< string, vmware.esx.settings.TaskInfo > subtasks)
 Information about the subtasks that this task contains.
Builder SetNotifications (vmware.esx.settings.Notifications notifications)
 Notifications to the user.
Builder SetResult (vmware.vapi.data.IDataValue result)
 Task result.
Builder SetParent (string parent)
 Parent of the current task.
Builder SetTarget (vmware.vapi.std.DynamicID target)
 Identifier of the target created by the operation or an existing one the operation performed on.
Builder SetError (vmware.vapi.bindings.ApiError error)
 Description of the error if the operation status is "FAILED".
Builder SetStartTime (global::System.DateTimeOffset?startTime)
 Time when the operation is started.
Builder SetEndTime (global::System.DateTimeOffset?endTime)
 Time when the operation is completed.
Builder SetUser (string user)
 Name of the user who performed the operation.
TaskInfo Build ()

Detailed Description

Builder class for TaskInfo.


Constructor & Destructor Documentation

vmware::esx::settings::TaskInfo::Builder::Builder ( vmware.vapi.std.LocalizableMessage  description,
string  service,
string  operation,
vmware.cis.task.Status  status,
bool  cancelable 
) [inline]

Constructor with parameters for the required properties of TaskInfo.


Member Function Documentation

TaskInfo vmware::esx::settings::TaskInfo::Builder::Build ( ) [inline]
Builder vmware::esx::settings::TaskInfo::Builder::SetEndTime ( global::System.DateTimeOffset?  endTime) [inline]

Time when the operation is completed.

Builder vmware::esx::settings::TaskInfo::Builder::SetError ( vmware.vapi.bindings.ApiError  error) [inline]

Description of the error if the operation status is "FAILED".

Builder vmware::esx::settings::TaskInfo::Builder::SetNotifications ( vmware.esx.settings.Notifications  notifications) [inline]

Notifications to the user.

Builder vmware::esx::settings::TaskInfo::Builder::SetParent ( string  parent) [inline]

Parent of the current task.

When clients pass a value of this class as a parameter, the field must be an identifier for the resource type: com.vmware.cis.task . When methods return a value of this class as a result, the field will be an identifier for the resource type: com.vmware.cis.task .

Builder vmware::esx::settings::TaskInfo::Builder::SetProgress ( vmware.cis.task.Progress  progress) [inline]

Progress of the operation.

Builder vmware::esx::settings::TaskInfo::Builder::SetResult ( vmware.vapi.data.IDataValue  result) [inline]

Task result.

Builder vmware::esx::settings::TaskInfo::Builder::SetStartTime ( global::System.DateTimeOffset?  startTime) [inline]

Time when the operation is started.

Builder vmware::esx::settings::TaskInfo::Builder::SetSubtasks ( global::System.Collections.Generic.Dictionary< string, vmware.esx.settings.TaskInfo subtasks) [inline]

Information about the subtasks that this task contains.

When clients pass a value of this class as a parameter, the key in the field map must be an identifier for the resource type: com.vmware.cis.task . When methods return a value of this class as a result, the key in the field map will be an identifier for the resource type: com.vmware.cis.task .

Builder vmware::esx::settings::TaskInfo::Builder::SetTarget ( vmware.vapi.std.DynamicID  target) [inline]

Identifier of the target created by the operation or an existing one the operation performed on.

Builder vmware::esx::settings::TaskInfo::Builder::SetUser ( string  user) [inline]

Name of the user who performed the operation.


The documentation for this class was generated from the following file: