Class OlvmInitialization
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.cloudmigrations.model.OlvmInitialization
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20220919") public final class OlvmInitialization extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelType representing initialization configuration of a virtual machine.
Note: Objects should always be created or deserialized using theOlvmInitialization.Builder. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of theOlvmInitialization.Builder, which maintain a set of all explicitly set fields calledOlvmInitialization.Builder.__explicitlySet__. ThehashCode()andequals(Object)methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOlvmInitialization.Builderstatic classOlvmInitialization.CloudInitNetworkProtocolDefines the values for the cloud-init protocol.
-
Constructor Summary
Constructors Constructor Description OlvmInitialization(String activeDirectoryOu, OlvmInitialization.CloudInitNetworkProtocol cloudInitNetworkProtocol, OlvmConfiguration configuration, String customScript, String dnsSearch, String dnsServers, String domain, String hostName, String inputLocale, List<OlvmNicConfiguration> nicConfigurations, String orgName, Boolean isRegenerateIds, Boolean isRegenerateSshKeys, String systemLocale, String timezone, String uiLanguage, String userLocale, String username, String windowsLicenseKey)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OlvmInitialization.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetActiveDirectoryOu()Active Directory Organizational Unit.OlvmInitialization.CloudInitNetworkProtocolgetCloudInitNetworkProtocol()Defines the values for the cloud-init protocol.OlvmConfigurationgetConfiguration()StringgetCustomScript()Custom script that will be run when the VM starts.StringgetDnsSearch()DNS Search of the virtual machine.StringgetDnsServers()DNS Servers of the virtual machine.StringgetDomain()Domain of the virtual machine.StringgetHostName()Host name of the virtual machine.StringgetInputLocale()Input locale of the virtual machine.BooleangetIsRegenerateIds()Indicates if new IDs should be regenerated.BooleangetIsRegenerateSshKeys()Indicates if new SSH Keys should be regenerated.List<OlvmNicConfiguration>getNicConfigurations()The configuration of a virtual network interface.StringgetOrgName()Organization name.StringgetSystemLocale()System locale of the virtual machine.StringgetTimezone()Timezone of the virtual machine.StringgetUiLanguage()UI Language of the virtual machine.StringgetUserLocale()User Locale of the virtual machine.StringgetUsername()User name of the virtual machine.StringgetWindowsLicenseKey()Windows License Key of the virtual machine.inthashCode()OlvmInitialization.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
OlvmInitialization
@Deprecated @ConstructorProperties({"activeDirectoryOu","cloudInitNetworkProtocol","configuration","customScript","dnsSearch","dnsServers","domain","hostName","inputLocale","nicConfigurations","orgName","isRegenerateIds","isRegenerateSshKeys","systemLocale","timezone","uiLanguage","userLocale","username","windowsLicenseKey"}) public OlvmInitialization(String activeDirectoryOu, OlvmInitialization.CloudInitNetworkProtocol cloudInitNetworkProtocol, OlvmConfiguration configuration, String customScript, String dnsSearch, String dnsServers, String domain, String hostName, String inputLocale, List<OlvmNicConfiguration> nicConfigurations, String orgName, Boolean isRegenerateIds, Boolean isRegenerateSshKeys, String systemLocale, String timezone, String uiLanguage, String userLocale, String username, String windowsLicenseKey)
Deprecated.
-
-
Method Detail
-
builder
public static OlvmInitialization.Builder builder()
Create a new builder.
-
toBuilder
public OlvmInitialization.Builder toBuilder()
-
getActiveDirectoryOu
public String getActiveDirectoryOu()
Active Directory Organizational Unit.- Returns:
- the value
-
getCloudInitNetworkProtocol
public OlvmInitialization.CloudInitNetworkProtocol getCloudInitNetworkProtocol()
Defines the values for the cloud-init protocol.This protocol decides how the cloud-init network parameters are formatted before being passed to the virtual machine in order to be processed by cloud-init.
- Returns:
- the value
-
getConfiguration
public OlvmConfiguration getConfiguration()
-
getCustomScript
public String getCustomScript()
Custom script that will be run when the VM starts.- Returns:
- the value
-
getDnsSearch
public String getDnsSearch()
DNS Search of the virtual machine.- Returns:
- the value
-
getDnsServers
public String getDnsServers()
DNS Servers of the virtual machine.- Returns:
- the value
-
getDomain
public String getDomain()
Domain of the virtual machine.- Returns:
- the value
-
getHostName
public String getHostName()
Host name of the virtual machine.- Returns:
- the value
-
getInputLocale
public String getInputLocale()
Input locale of the virtual machine.- Returns:
- the value
-
getNicConfigurations
public List<OlvmNicConfiguration> getNicConfigurations()
The configuration of a virtual network interface.- Returns:
- the value
-
getOrgName
public String getOrgName()
Organization name.- Returns:
- the value
-
getIsRegenerateIds
public Boolean getIsRegenerateIds()
Indicates if new IDs should be regenerated.- Returns:
- the value
-
getIsRegenerateSshKeys
public Boolean getIsRegenerateSshKeys()
Indicates if new SSH Keys should be regenerated.- Returns:
- the value
-
getSystemLocale
public String getSystemLocale()
System locale of the virtual machine.- Returns:
- the value
-
getTimezone
public String getTimezone()
Timezone of the virtual machine.- Returns:
- the value
-
getUiLanguage
public String getUiLanguage()
UI Language of the virtual machine.- Returns:
- the value
-
getUserLocale
public String getUserLocale()
User Locale of the virtual machine.- Returns:
- the value
-
getUsername
public String getUsername()
User name of the virtual machine.- Returns:
- the value
-
getWindowsLicenseKey
public String getWindowsLicenseKey()
Windows License Key of the virtual machine.- Returns:
- the value
-
toString
public String toString()
- Overrides:
toStringin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Parameters:
includeByteArrayContents- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCodein classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-