org.jclouds.vcloud.domain
Class GuestCustomizationSection

java.lang.Object
  extended by org.jclouds.vcloud.domain.GuestCustomizationSection

public class GuestCustomizationSection
extends Object

The GuestCustomization of a Vm contains customization parameters for the guest operating system of the virtual machine.


Field Summary
protected  String adminPassword
           
protected  Boolean adminPasswordAuto
           
protected  Boolean adminPasswordEnabled
           
protected  Boolean changeSid
           
protected  String computerName
           
protected  String customizationScript
           
protected  String domainName
           
protected  String domainUserName
           
protected  String domainUserPassword
           
protected  ReferenceType edit
           
protected  Boolean enabled
           
protected  URI href
           
protected  String info
           
protected  Boolean joinDomainEnabled
           
protected  Boolean resetPasswordRequired
           
protected  String type
           
protected  Boolean useOrgSettings
           
protected  String virtualMachineId
           
 
Constructor Summary
GuestCustomizationSection(String type, URI href, String info, Boolean enabled, Boolean changeSid, String virtualMachineId, Boolean joinDomainEnabled, Boolean useOrgSettings, String domainName, String domainUserName, String domainUserPassword, Boolean adminPasswordEnabled, Boolean adminPasswordAuto, String adminPassword, Boolean resetPasswordRequired, String customizationScript, String computerName, ReferenceType edit)
           
GuestCustomizationSection(URI href)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getAdminPassword()
           
 Boolean getAdminPasswordAuto()
           
 Boolean getAdminPasswordEnabled()
           
 Boolean getChangeSid()
           
 String getComputerName()
           
 String getCustomizationScript()
           
 String getDomainName()
           
 String getDomainUserName()
           
 String getDomainUserPassword()
           
 ReferenceType getEdit()
           
 URI getHref()
           
 String getInfo()
           
 Boolean getJoinDomainEnabled()
           
 Boolean getResetPasswordRequired()
           
 String getType()
           
 String getVirtualMachineId()
           
 int hashCode()
           
 Boolean isAdminPasswordAuto()
           
 Boolean isAdminPasswordEnabled()
           
 Boolean isEnabled()
           
 Boolean isJoinDomainEnabled()
           
 Boolean isResetPasswordRequired()
           
 void setAdminPassword(String adminPassword)
           
 void setAdminPasswordAuto(Boolean adminPasswordAuto)
           
 void setAdminPasswordEnabled(Boolean adminPasswordEnabled)
           
 void setChangeSid(Boolean changeSid)
           
 void setComputerName(String computerName)
           
 void setCustomizationScript(String customizationScript)
           
 void setDomainName(String domainName)
           
 void setDomainUserName(String domainUserName)
           
 void setDomainUserPassword(String domainUserPassword)
           
 void setEnabled(Boolean enabled)
           
 void setInfo(String info)
           
 void setJoinDomainEnabled(Boolean joinDomainEnabled)
           
 void setResetPasswordRequired(Boolean resetPasswordRequired)
           
 void setUseOrgSettings(Boolean useOrgSettings)
           
 void setVirtualMachineId(String virtualMachineId)
           
 Boolean shouldChangeSid()
           
 Boolean shouldUseOrgSettings()
           
 String toString()
           
 Boolean useOrgSettings()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

type

protected final String type

href

protected final URI href

info

protected String info

enabled

protected Boolean enabled

changeSid

protected Boolean changeSid

virtualMachineId

protected String virtualMachineId

joinDomainEnabled

protected Boolean joinDomainEnabled

useOrgSettings

protected Boolean useOrgSettings

domainName

protected String domainName

domainUserName

protected String domainUserName

domainUserPassword

protected String domainUserPassword

adminPasswordEnabled

protected Boolean adminPasswordEnabled

adminPasswordAuto

protected Boolean adminPasswordAuto

adminPassword

protected String adminPassword

resetPasswordRequired

protected Boolean resetPasswordRequired

customizationScript

protected String customizationScript

computerName

protected String computerName

edit

protected final ReferenceType edit
Constructor Detail

GuestCustomizationSection

public GuestCustomizationSection(URI href)

GuestCustomizationSection

public GuestCustomizationSection(String type,
                                 URI href,
                                 String info,
                                 Boolean enabled,
                                 Boolean changeSid,
                                 String virtualMachineId,
                                 Boolean joinDomainEnabled,
                                 Boolean useOrgSettings,
                                 String domainName,
                                 String domainUserName,
                                 String domainUserPassword,
                                 Boolean adminPasswordEnabled,
                                 Boolean adminPasswordAuto,
                                 String adminPassword,
                                 Boolean resetPasswordRequired,
                                 String customizationScript,
                                 String computerName,
                                 ReferenceType edit)
Method Detail

getType

public String getType()
Returns:
media type of this section

getHref

public URI getHref()
Returns:
URL to access this section

getInfo

public String getInfo()
Returns:

isEnabled

public Boolean isEnabled()
Returns:
if true, to enable guest customization at power on

shouldChangeSid

public Boolean shouldChangeSid()
Returns:
if true, customization will run sysprep to change the Windows SID for this virtual machine

getVirtualMachineId

public String getVirtualMachineId()
Returns:
unique identifier for this virtual machine

isJoinDomainEnabled

public Boolean isJoinDomainEnabled()
Returns:
if true, this virtual machine can join a Windows domain

useOrgSettings

public Boolean useOrgSettings()
Returns:
if true, this virtual machine uses the containing organization’s default values for Windows domain name, domain user name, and domain user password

getDomainName

public String getDomainName()
Returns:
if UseOrgSettings is false, specifies the Windows domain to join

getDomainUserName

public String getDomainUserName()
Returns:
if UseOrgSettings is false, specifies the Windows domain user name

getDomainUserPassword

public String getDomainUserPassword()
Returns:
if UseOrgSettings is false, specifies the Windows domain user’s password

isAdminPasswordEnabled

public Boolean isAdminPasswordEnabled()
Returns:
true if the guest OS allows use of a local administrator password

isAdminPasswordAuto

public Boolean isAdminPasswordAuto()
Returns:
true if the local administrator password should be automatically generated

getAdminPassword

public String getAdminPassword()
Returns:
local administrator password for this virtual machine

isResetPasswordRequired

public Boolean isResetPasswordRequired()
Returns:
if true, the local administrator must reset his password on first use

getCustomizationScript

public String getCustomizationScript()
Returns:
the customization script to run

getComputerName

public String getComputerName()
Returns:
name of this virtual machine in DNS or Windows domain

getEdit

public ReferenceType getEdit()
Returns:
edit link

toString

public String toString()
Overrides:
toString in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

setEnabled

public void setEnabled(Boolean enabled)

getChangeSid

public Boolean getChangeSid()

setChangeSid

public void setChangeSid(Boolean changeSid)

getJoinDomainEnabled

public Boolean getJoinDomainEnabled()

setJoinDomainEnabled

public void setJoinDomainEnabled(Boolean joinDomainEnabled)

shouldUseOrgSettings

public Boolean shouldUseOrgSettings()

setUseOrgSettings

public void setUseOrgSettings(Boolean useOrgSettings)

getAdminPasswordEnabled

public Boolean getAdminPasswordEnabled()

setAdminPasswordEnabled

public void setAdminPasswordEnabled(Boolean adminPasswordEnabled)

getAdminPasswordAuto

public Boolean getAdminPasswordAuto()

setAdminPasswordAuto

public void setAdminPasswordAuto(Boolean adminPasswordAuto)

getResetPasswordRequired

public Boolean getResetPasswordRequired()

setResetPasswordRequired

public void setResetPasswordRequired(Boolean resetPasswordRequired)

setInfo

public void setInfo(String info)

setVirtualMachineId

public void setVirtualMachineId(String virtualMachineId)

setDomainName

public void setDomainName(String domainName)

setDomainUserName

public void setDomainUserName(String domainUserName)

setDomainUserPassword

public void setDomainUserPassword(String domainUserPassword)

setAdminPassword

public void setAdminPassword(String adminPassword)

setCustomizationScript

public void setCustomizationScript(String customizationScript)

setComputerName

public void setComputerName(String computerName)


Copyright © 2009-2012 jclouds. All Rights Reserved.