public static class HostDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
HostDetails.Builder |
agentIdentifier(String agentIdentifier)
The identifier of the agent.
|
HostDetails |
build() |
HostDetails.Builder |
compartmentId(String compartmentId)
The OCID
of the compartment.
|
HostDetails.Builder |
copy(HostDetails model) |
HostDetails.Builder |
hostDisplayName(String hostDisplayName)
The user-friendly name for the host.
|
HostDetails.Builder |
hostName(String hostName)
The host name.
|
HostDetails.Builder |
id(String id)
The OCID
of the host.
|
HostDetails.Builder |
platformType(HostDetails.PlatformType platformType)
Platform type.
|
public HostDetails.Builder id(String id)
The OCID of the host.
id
- the value to setpublic HostDetails.Builder compartmentId(String compartmentId)
The OCID of the compartment.
compartmentId
- the value to setpublic HostDetails.Builder hostName(String hostName)
The host name. The host name is unique amongst the hosts managed by the same management agent.
hostName
- the value to setpublic HostDetails.Builder hostDisplayName(String hostDisplayName)
The user-friendly name for the host. The name does not have to be unique.
hostDisplayName
- the value to setpublic 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].
platformType
- the value to setpublic HostDetails.Builder agentIdentifier(String agentIdentifier)
The identifier of the agent.
agentIdentifier
- the value to setpublic HostDetails build()
public HostDetails.Builder copy(HostDetails model)
Copyright © 2016–2024. All rights reserved.