org.virtualbox_7_0
Class ICloudProfile

java.lang.Object
  extended by org.virtualbox_7_0.IUnknown
      extended by org.virtualbox_7_0.ICloudProfile

public class ICloudProfile
extends IUnknown


Field Summary
 
Fields inherited from class org.virtualbox_7_0.IUnknown
obj, objMgr, port
 
Constructor Summary
ICloudProfile(java.lang.String wrapped, org.virtualbox_7_0.ObjectRefManager objMgr, org.virtualbox_7_0.jaxws.VboxPortType port)
           
 
Method Summary
 ICloudClient createCloudClient()
          Creates a cloud client for this cloud profile.
 java.lang.String getName()
          Returns the profile name.
 java.util.List<java.lang.String> getProperties(java.lang.String names, Holder<java.util.List<java.lang.String>> returnNames)
          Returns values for a group of properties in one call.
 java.lang.String getProperty(java.lang.String name)
          Returns the value of the cloud profile property with the given name.
 java.lang.String getProviderId()
          Returns provider identifier tied with this profile.
static ICloudProfile queryInterface(IUnknown obj)
           
 void remove()
          Deletes a profile.
 void setName(java.lang.String value)
          Returns the profile name.
 void setProperties(java.util.List<java.lang.String> names, java.util.List<java.lang.String> values)
          Updates profile, changing/adding/removing properties.
 void setProperty(java.lang.String name, java.lang.String value)
          Sets the value of the cloud profile property with the given name.
 
Methods inherited from class org.virtualbox_7_0.IUnknown
getObjMgr, getRemoteWSPort, getWrapped, releaseRemote
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ICloudProfile

public ICloudProfile(java.lang.String wrapped,
                     org.virtualbox_7_0.ObjectRefManager objMgr,
                     org.virtualbox_7_0.jaxws.VboxPortType port)
Method Detail

getName

public java.lang.String getName()
Returns the profile name.

Returns:
String

setName

public void setName(java.lang.String value)
Returns the profile name.

Parameters:
value - String

getProviderId

public java.lang.String getProviderId()
Returns provider identifier tied with this profile.

Returns:
String

queryInterface

public static ICloudProfile queryInterface(IUnknown obj)

getProperty

public java.lang.String getProperty(java.lang.String name)
Returns the value of the cloud profile property with the given name. If the requested data name does not exist, this function will succeed and return an empty string in the value argument.

Parameters:
name - Name of the property to get.
Returns:
Current property value. Expected result codes:
E_INVALIDARGname is null or empty.

setProperty

public void setProperty(java.lang.String name,
                        java.lang.String value)
Sets the value of the cloud profile property with the given name. Setting the property value to null or an empty string is equivalent to deleting the existing value.

Parameters:
name - Name of the property to set.
value - Property value to set. Expected result codes:
E_INVALIDARGname is null or empty.

getProperties

public java.util.List<java.lang.String> getProperties(java.lang.String names,
                                                      Holder<java.util.List<java.lang.String>> returnNames)
Returns values for a group of properties in one call. The names of the properties to get are specified using the names argument which is a list of comma-separated property names or an empty string if all properties are to be returned.The method returns two arrays, the array of property names corresponding to the names argument and the current values of these properties. Both arrays have the same number of elements with each element at the given index in the first array corresponds to an element at the same index in the second array.

Parameters:
names - Names of properties to get.
returnNames - Names of returned properties.
Returns:
Values of returned properties. NOTE: Currently the value of this argument is ignored and the method always returns all existing properties.

setProperties

public void setProperties(java.util.List<java.lang.String> names,
                          java.util.List<java.lang.String> values)
Updates profile, changing/adding/removing properties. The names of the properties to set are passed in the names array along with the new values for them in the values array. Both arrays have the same number of elements with each element at the given index in the first array corresponding to an element at the same index in the second array. If there is at least one property name in names that is not valid, the method will fail before changing the values of any other properties from the names array. Using this method oversetProperty(String,String)is preferred if you need to set several properties at once since it is more efficient. Setting the property value to null or an empty string is equivalent to deleting the existing value.

Parameters:
names - Names of properties.
values - Values of set properties.

remove

public void remove()
Deletes a profile.


createCloudClient

public ICloudClient createCloudClient()
Creates a cloud client for this cloud profile.

Returns:
The cloud client object reference.