Class HostProperties

    • Constructor Detail

      • HostProperties

        public HostProperties()
    • Method Detail

      • setSockets

        public void setSockets​(Integer sockets)

        The number of sockets on the Dedicated host.

        Parameters:
        sockets - The number of sockets on the Dedicated host.
      • getSockets

        public Integer getSockets()

        The number of sockets on the Dedicated host.

        Returns:
        The number of sockets on the Dedicated host.
      • withSockets

        public HostProperties withSockets​(Integer sockets)

        The number of sockets on the Dedicated host.

        Parameters:
        sockets - The number of sockets on the Dedicated host.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setCores

        public void setCores​(Integer cores)

        The number of cores on the Dedicated host.

        Parameters:
        cores - The number of cores on the Dedicated host.
      • getCores

        public Integer getCores()

        The number of cores on the Dedicated host.

        Returns:
        The number of cores on the Dedicated host.
      • withCores

        public HostProperties withCores​(Integer cores)

        The number of cores on the Dedicated host.

        Parameters:
        cores - The number of cores on the Dedicated host.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setTotalVCpus

        public void setTotalVCpus​(Integer totalVCpus)

        The number of vCPUs on the Dedicated host.

        Parameters:
        totalVCpus - The number of vCPUs on the Dedicated host.
      • getTotalVCpus

        public Integer getTotalVCpus()

        The number of vCPUs on the Dedicated host.

        Returns:
        The number of vCPUs on the Dedicated host.
      • withTotalVCpus

        public HostProperties withTotalVCpus​(Integer totalVCpus)

        The number of vCPUs on the Dedicated host.

        Parameters:
        totalVCpus - The number of vCPUs on the Dedicated host.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setInstanceType

        public void setInstanceType​(String instanceType)

        The instance type size that the Dedicated host supports (for example, m3.medium).

        Parameters:
        instanceType - The instance type size that the Dedicated host supports (for example, m3.medium).
      • getInstanceType

        public String getInstanceType()

        The instance type size that the Dedicated host supports (for example, m3.medium).

        Returns:
        The instance type size that the Dedicated host supports (for example, m3.medium).
      • withInstanceType

        public HostProperties withInstanceType​(String instanceType)

        The instance type size that the Dedicated host supports (for example, m3.medium).

        Parameters:
        instanceType - The instance type size that the Dedicated host supports (for example, m3.medium).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object