public static class ManagementAgentSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ManagementAgentSummary.Builder |
availabilityStatus(AvailabilityStatus availabilityStatus)
The current availability status of managementAgent
|
ManagementAgentSummary |
build() |
ManagementAgentSummary.Builder |
compartmentId(String compartmentId)
Compartment Identifier
|
ManagementAgentSummary.Builder |
copy(ManagementAgentSummary model) |
ManagementAgentSummary.Builder |
dataSourceSummaryList(List<DataSourceSummaryItem> dataSourceSummaryList)
list of dataSources summaries associated with the agent
|
ManagementAgentSummary.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
ManagementAgentSummary.Builder |
displayName(String displayName)
Management Agent Name
|
ManagementAgentSummary.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
ManagementAgentSummary.Builder |
host(String host)
Management Agent host machine name
|
ManagementAgentSummary.Builder |
hostId(String hostId)
Host resource ocid
|
ManagementAgentSummary.Builder |
id(String id)
agent identifier
|
ManagementAgentSummary.Builder |
installKeyId(String installKeyId)
agent install key identifier
|
ManagementAgentSummary.Builder |
installType(InstallTypes installType)
The install type, either AGENT or GATEWAY
|
ManagementAgentSummary.Builder |
isAgentAutoUpgradable(Boolean isAgentAutoUpgradable)
true if the agent can be upgraded automatically; false if it must be upgraded manually.
|
ManagementAgentSummary.Builder |
isCustomerDeployed(Boolean isCustomerDeployed)
true, if the agent image is manually downloaded and installed.
|
ManagementAgentSummary.Builder |
lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.
|
ManagementAgentSummary.Builder |
lifecycleState(LifecycleStates lifecycleState)
The current state of managementAgent
|
ManagementAgentSummary.Builder |
platformName(String platformName)
Platform Name
|
ManagementAgentSummary.Builder |
platformType(PlatformTypes platformType)
Platform Type
|
ManagementAgentSummary.Builder |
platformVersion(String platformVersion)
Platform Version
|
ManagementAgentSummary.Builder |
pluginList(List<ManagementAgentPluginDetails> pluginList)
list of managementAgentPlugins associated with the agent
|
ManagementAgentSummary.Builder |
resourceArtifactVersion(String resourceArtifactVersion)
Version of the deployment artifact instantiated by this Management Agent.
|
ManagementAgentSummary.Builder |
timeCreated(Date timeCreated)
The time the Management Agent was created.
|
ManagementAgentSummary.Builder |
timeLastHeartbeat(Date timeLastHeartbeat)
The time the Management Agent has last recorded its heartbeat.
|
ManagementAgentSummary.Builder |
timeUpdated(Date timeUpdated)
The time the Management Agent was last updated.
|
ManagementAgentSummary.Builder |
version(String version)
Management Agent Version
|
public ManagementAgentSummary.Builder id(String id)
agent identifier
id
- the value to setpublic ManagementAgentSummary.Builder installKeyId(String installKeyId)
agent install key identifier
installKeyId
- the value to setpublic ManagementAgentSummary.Builder displayName(String displayName)
Management Agent Name
displayName
- the value to setpublic ManagementAgentSummary.Builder platformType(PlatformTypes platformType)
Platform Type
platformType
- the value to setpublic ManagementAgentSummary.Builder platformName(String platformName)
Platform Name
platformName
- the value to setpublic ManagementAgentSummary.Builder platformVersion(String platformVersion)
Platform Version
platformVersion
- the value to setpublic ManagementAgentSummary.Builder version(String version)
Management Agent Version
version
- the value to setpublic ManagementAgentSummary.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 ManagementAgentSummary.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 ManagementAgentSummary.Builder timeCreated(Date timeCreated)
The time the Management Agent was created. An RFC3339 formatted datetime string
timeCreated
- the value to setpublic ManagementAgentSummary.Builder timeUpdated(Date timeUpdated)
The time the Management Agent was last updated. An RFC3339 formatted datetime string
timeUpdated
- the value to setpublic ManagementAgentSummary.Builder host(String host)
Management Agent host machine name
host
- the value to setpublic ManagementAgentSummary.Builder hostId(String hostId)
Host resource ocid
hostId
- the value to setpublic ManagementAgentSummary.Builder pluginList(List<ManagementAgentPluginDetails> pluginList)
list of managementAgentPlugins associated with the agent
pluginList
- the value to setpublic ManagementAgentSummary.Builder compartmentId(String compartmentId)
Compartment Identifier
compartmentId
- the value to setpublic ManagementAgentSummary.Builder timeLastHeartbeat(Date timeLastHeartbeat)
The time the Management Agent has last recorded its heartbeat. An RFC3339 formatted datetime string
timeLastHeartbeat
- the value to setpublic ManagementAgentSummary.Builder availabilityStatus(AvailabilityStatus availabilityStatus)
The current availability status of managementAgent
availabilityStatus
- the value to setpublic ManagementAgentSummary.Builder lifecycleState(LifecycleStates lifecycleState)
The current state of managementAgent
lifecycleState
- the value to setpublic ManagementAgentSummary.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 ManagementAgentSummary.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 ManagementAgentSummary.Builder installType(InstallTypes installType)
The install type, either AGENT or GATEWAY
installType
- the value to setpublic ManagementAgentSummary.Builder dataSourceSummaryList(List<DataSourceSummaryItem> dataSourceSummaryList)
list of dataSources summaries associated with the agent
dataSourceSummaryList
- the value to setpublic ManagementAgentSummary.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 ManagementAgentSummary.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 ManagementAgentSummary build()
public ManagementAgentSummary.Builder copy(ManagementAgentSummary model)
Copyright © 2016–2024. All rights reserved.