Class HostDetails.Builder

  • Enclosing class:
    HostDetails

    public static class HostDetails.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • compartmentId

        public HostDetails.Builder compartmentId​(String compartmentId)
        The OCID of the compartment.
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder
      • hostName

        public HostDetails.Builder hostName​(String hostName)
        The host name.

        The host name is unique amongst the hosts managed by the same management agent.

        Parameters:
        hostName - the value to set
        Returns:
        this builder
      • hostDisplayName

        public HostDetails.Builder hostDisplayName​(String hostDisplayName)
        The user-friendly name for the host.

        The name does not have to be unique.

        Parameters:
        hostDisplayName - the value to set
        Returns:
        this builder
      • platformType

        public HostDetails.Builder platformType​(HostDetails.PlatformType platformType)
        Platform type.

        Supported platformType(s) for MACS-managed external host insight: [LINUX, SOLARIS, WINDOWS]. Supported platformType(s) for MACS-managed cloud host insight: [LINUX]. Supported platformType(s) for EM-managed external host insight: [LINUX, SOLARIS, SUNOS, ZLINUX, WINDOWS, AIX, HP-UX].

        Parameters:
        platformType - the value to set
        Returns:
        this builder
      • agentIdentifier

        public HostDetails.Builder agentIdentifier​(String agentIdentifier)
        The identifier of the agent.
        Parameters:
        agentIdentifier - the value to set
        Returns:
        this builder