org.jclouds.vcloud.domain
Class GuestCustomizationSection
java.lang.Object
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.
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)
|
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
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)
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-2011 jclouds. All Rights Reserved.