public class ICloudProfile extends IUnknown
Constructor and Description |
---|
ICloudProfile(java.lang.String wrapped,
org.virtualbox_6_0.ObjectRefManager objMgr,
org.virtualbox_6_0.jaxws.VboxPortType port) |
Modifier and Type | Method and Description |
---|---|
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.
|
getObjMgr, getRemoteWSPort, getWrapped, releaseRemote
public ICloudProfile(java.lang.String wrapped, org.virtualbox_6_0.ObjectRefManager objMgr, org.virtualbox_6_0.jaxws.VboxPortType port)
public java.lang.String getName()
public void setName(java.lang.String value)
value
- Stringpublic java.lang.String getProviderId()
public static ICloudProfile queryInterface(IUnknown obj)
public java.lang.String getProperty(java.lang.String name)
name
- Name of the property to get.E_INVALIDARG | name is null or empty. |
public void setProperty(java.lang.String name, java.lang.String value)
name
- Name of the property to set.value
- Property value to set.
Expected result codes:
E_INVALIDARG | name is null or empty. |
public java.util.List<java.lang.String> getProperties(java.lang.String names, Holder<java.util.List<java.lang.String>> returnNames)
names
- Names of properties to get.returnNames
- Names of returned properties.public void setProperties(java.util.List<java.lang.String> names, java.util.List<java.lang.String> values)
setProperty(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.names
- Names of properties.values
- Values of set properties.public void remove()
public ICloudClient createCloudClient()