public static class ManagementAgent.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ManagementAgent.Builder |
availabilityStatus(AvailabilityStatus availabilityStatus)
The current availability status of managementAgent
|
ManagementAgent |
build() |
ManagementAgent.Builder |
compartmentId(String compartmentId)
Compartment Identifier
|
ManagementAgent.Builder |
copy(ManagementAgent model) |
ManagementAgent.Builder |
dataSourceList(List<DataSource> dataSourceList)
list of dataSources associated with the agent
|
ManagementAgent.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
ManagementAgent.Builder |
displayName(String displayName)
Management Agent Name
|
ManagementAgent.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
ManagementAgent.Builder |
host(String host)
Management Agent host machine name
|
ManagementAgent.Builder |
hostId(String hostId)
Host resource ocid
|
ManagementAgent.Builder |
id(String id)
agent identifier
|
ManagementAgent.Builder |
installKeyId(String installKeyId)
agent install key identifier
|
ManagementAgent.Builder |
installPath(String installPath)
Path where Management Agent is installed
|
ManagementAgent.Builder |
installType(InstallTypes installType)
The install type, either AGENT or GATEWAY
|
ManagementAgent.Builder |
isAgentAutoUpgradable(Boolean isAgentAutoUpgradable)
true if the agent can be upgraded automatically; false if it must be upgraded manually.
|
ManagementAgent.Builder |
isCustomerDeployed(Boolean isCustomerDeployed)
true, if the agent image is manually downloaded and installed.
|
ManagementAgent.Builder |
lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.
|
ManagementAgent.Builder |
lifecycleState(LifecycleStates lifecycleState)
The current state of managementAgent
|
ManagementAgent.Builder |
managementAgentProperties(List<ManagementAgentProperty> managementAgentProperties)
Additional properties for this Management Agent
|
ManagementAgent.Builder |
platformName(String platformName)
Platform Name
|
ManagementAgent.Builder |
platformType(PlatformTypes platformType)
Platform Type
|
ManagementAgent.Builder |
platformVersion(String platformVersion)
Platform Version
|
ManagementAgent.Builder |
pluginList(List<ManagementAgentPluginDetails> pluginList)
list of managementAgentPlugins associated with the agent
|
ManagementAgent.Builder |
resourceArtifactVersion(String resourceArtifactVersion)
Version of the deployment artifact instantiated by this Management Agent.
|
ManagementAgent.Builder |
timeCreated(Date timeCreated)
The time the Management Agent was created.
|
ManagementAgent.Builder |
timeLastHeartbeat(Date timeLastHeartbeat)
The time the Management Agent has last recorded its health status in telemetry.
|
ManagementAgent.Builder |
timeUpdated(Date timeUpdated)
The time the Management Agent was updated.
|
ManagementAgent.Builder |
version(String version)
Management Agent Version
|
public ManagementAgent.Builder id(String id)
agent identifier
id
- the value to setpublic ManagementAgent.Builder installKeyId(String installKeyId)
agent install key identifier
installKeyId
- the value to setpublic ManagementAgent.Builder displayName(String displayName)
Management Agent Name
displayName
- the value to setpublic ManagementAgent.Builder platformType(PlatformTypes platformType)
Platform Type
platformType
- the value to setpublic ManagementAgent.Builder platformName(String platformName)
Platform Name
platformName
- the value to setpublic ManagementAgent.Builder platformVersion(String platformVersion)
Platform Version
platformVersion
- the value to setpublic ManagementAgent.Builder version(String version)
Management Agent Version
version
- the value to setpublic ManagementAgent.Builder resourceArtifactVersion(String resourceArtifactVersion)
Version of the deployment artifact instantiated by this Management Agent. The format for Standalone resourceMode is YYMMDD.HHMM, and the format for other modes (whose artifacts are based upon Standalone but can advance independently) is YYMMDD.HHMM.VVVVVVVVVVVV. VVVVVVVVVVVV is always a numeric value between 000000000000 and 999999999999
resourceArtifactVersion
- the value to setpublic ManagementAgent.Builder host(String host)
Management Agent host machine name
host
- the value to setpublic ManagementAgent.Builder hostId(String hostId)
Host resource ocid
hostId
- the value to setpublic ManagementAgent.Builder installPath(String installPath)
Path where Management Agent is installed
installPath
- the value to setpublic ManagementAgent.Builder pluginList(List<ManagementAgentPluginDetails> pluginList)
list of managementAgentPlugins associated with the agent
pluginList
- the value to setpublic ManagementAgent.Builder compartmentId(String compartmentId)
Compartment Identifier
compartmentId
- the value to setpublic ManagementAgent.Builder isAgentAutoUpgradable(Boolean isAgentAutoUpgradable)
true if the agent can be upgraded automatically; false if it must be upgraded manually. This flag is derived from the tenancy level auto upgrade preference.
isAgentAutoUpgradable
- the value to setpublic ManagementAgent.Builder timeCreated(Date timeCreated)
The time the Management Agent was created. An RFC3339 formatted datetime string
timeCreated
- the value to setpublic ManagementAgent.Builder timeUpdated(Date timeUpdated)
The time the Management Agent was updated. An RFC3339 formatted datetime string
timeUpdated
- the value to setpublic ManagementAgent.Builder timeLastHeartbeat(Date timeLastHeartbeat)
The time the Management Agent has last recorded its health status in telemetry. This value will be null if the agent has not recorded its health status in last 7 days. An RFC3339 formatted datetime string
timeLastHeartbeat
- the value to setpublic ManagementAgent.Builder availabilityStatus(AvailabilityStatus availabilityStatus)
The current availability status of managementAgent
availabilityStatus
- the value to setpublic ManagementAgent.Builder lifecycleState(LifecycleStates lifecycleState)
The current state of managementAgent
lifecycleState
- the value to setpublic ManagementAgent.Builder lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
lifecycleDetails
- the value to setpublic ManagementAgent.Builder isCustomerDeployed(Boolean isCustomerDeployed)
true, if the agent image is manually downloaded and installed. false, if the agent is deployed as a plugin in Oracle Cloud Agent.
isCustomerDeployed
- the value to setpublic ManagementAgent.Builder installType(InstallTypes installType)
The install type, either AGENT or GATEWAY
installType
- the value to setpublic ManagementAgent.Builder managementAgentProperties(List<ManagementAgentProperty> managementAgentProperties)
Additional properties for this Management Agent
managementAgentProperties
- the value to setpublic ManagementAgent.Builder dataSourceList(List<DataSource> dataSourceList)
list of dataSources associated with the agent
dataSourceList
- the value to setpublic ManagementAgent.Builder freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope. Exists
for cross-compatibility only. Example: {"bar-key": "value"}
freeformTags
- the value to setpublic ManagementAgent.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource. Each key is predefined and scoped to a namespace.
Example: {"foo-namespace": {"bar-key": "value"}}
definedTags
- the value to setpublic ManagementAgent build()
public ManagementAgent.Builder copy(ManagementAgent model)
Copyright © 2016–2024. All rights reserved.