Record Class VmConfig
java.lang.Object
java.lang.Record
org.jenkinsci.plugins.proxmox.api.model.VmConfig
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionciuser()Returns the value of theciuserrecord component.cores()Returns the value of thecoresrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theipconfig0record component.memory()Returns the value of thememoryrecord component.Returns the value of thenameserverrecord component.Returns the value of thesearchdomainrecord component.sshkeys()Returns the value of thesshkeysrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
VmConfig
public VmConfig(Integer cores, Integer memory, String ciuser, String sshkeys, String ipconfig0, String nameserver, String searchdomain) Creates an instance of aVmConfigrecord class.- Parameters:
cores- the value for thecoresrecord componentmemory- the value for thememoryrecord componentciuser- the value for theciuserrecord componentsshkeys- the value for thesshkeysrecord componentipconfig0- the value for theipconfig0record componentnameserver- the value for thenameserverrecord componentsearchdomain- the value for thesearchdomainrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
cores
Returns the value of thecoresrecord component.- Returns:
- the value of the
coresrecord component
-
memory
Returns the value of thememoryrecord component.- Returns:
- the value of the
memoryrecord component
-
ciuser
Returns the value of theciuserrecord component.- Returns:
- the value of the
ciuserrecord component
-
sshkeys
Returns the value of thesshkeysrecord component.- Returns:
- the value of the
sshkeysrecord component
-
ipconfig0
Returns the value of theipconfig0record component.- Returns:
- the value of the
ipconfig0record component
-
nameserver
Returns the value of thenameserverrecord component.- Returns:
- the value of the
nameserverrecord component
-
searchdomain
Returns the value of thesearchdomainrecord component.- Returns:
- the value of the
searchdomainrecord component
-