Class ManagementAgentSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.managementagent.model.ManagementAgentSummary.Builder
-
- Enclosing class:
- ManagementAgentSummary
public static class ManagementAgentSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ManagementAgentSummary.BuilderavailabilityStatus(AvailabilityStatus availabilityStatus)The current availability status of managementAgentManagementAgentSummarybuild()ManagementAgentSummary.BuildercompartmentId(String compartmentId)Compartment IdentifierManagementAgentSummary.Buildercopy(ManagementAgentSummary model)ManagementAgentSummary.BuilderdataSourceSummaryList(List<DataSourceSummaryItem> dataSourceSummaryList)list of dataSources summaries associated with the agentManagementAgentSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.ManagementAgentSummary.BuilderdisplayName(String displayName)Management Agent NameManagementAgentSummary.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.ManagementAgentSummary.Builderhost(String host)Management Agent host machine nameManagementAgentSummary.BuilderhostId(String hostId)Host resource ocidManagementAgentSummary.Builderid(String id)agent identifierManagementAgentSummary.BuilderinstallKeyId(String installKeyId)agent install key identifierManagementAgentSummary.BuilderinstallType(InstallTypes installType)The install type, either AGENT or GATEWAYManagementAgentSummary.BuilderisAgentAutoUpgradable(Boolean isAgentAutoUpgradable)true if the agent can be upgraded automatically; false if it must be upgraded manually.ManagementAgentSummary.BuilderisCustomerDeployed(Boolean isCustomerDeployed)true, if the agent image is manually downloaded and installed.ManagementAgentSummary.BuilderlatestSupportedVersion(String latestSupportedVersion)The latest supported management agent versionManagementAgentSummary.BuilderlifecycleDetails(String lifecycleDetails)A message describing the current state in more detail.ManagementAgentSummary.BuilderlifecycleState(LifecycleStates lifecycleState)The current state of managementAgentManagementAgentSummary.BuilderplatformName(String platformName)Platform NameManagementAgentSummary.BuilderplatformType(PlatformTypes platformType)Platform TypeManagementAgentSummary.BuilderplatformVersion(String platformVersion)Platform VersionManagementAgentSummary.BuilderpluginList(List<ManagementAgentPluginDetails> pluginList)list of managementAgentPlugins associated with the agentManagementAgentSummary.BuilderresourceArtifactVersion(String resourceArtifactVersion)Version of the deployment artifact instantiated by this Management Agent.ManagementAgentSummary.BuildersystemTags(Map<String,Map<String,Object>> systemTags)Usage of system tag keys.ManagementAgentSummary.BuildertimeCreated(Date timeCreated)The time the Management Agent was created.ManagementAgentSummary.BuildertimeLastHeartbeat(Date timeLastHeartbeat)The time the Management Agent has last recorded its heartbeat.ManagementAgentSummary.BuildertimeUpdated(Date timeUpdated)The time the Management Agent was last updated.ManagementAgentSummary.Builderversion(String version)Management Agent Version
-
-
-
Method Detail
-
id
public ManagementAgentSummary.Builder id(String id)
agent identifier- Parameters:
id- the value to set- Returns:
- this builder
-
installKeyId
public ManagementAgentSummary.Builder installKeyId(String installKeyId)
agent install key identifier- Parameters:
installKeyId- the value to set- Returns:
- this builder
-
displayName
public ManagementAgentSummary.Builder displayName(String displayName)
Management Agent Name- Parameters:
displayName- the value to set- Returns:
- this builder
-
platformType
public ManagementAgentSummary.Builder platformType(PlatformTypes platformType)
Platform Type- Parameters:
platformType- the value to set- Returns:
- this builder
-
platformName
public ManagementAgentSummary.Builder platformName(String platformName)
Platform Name- Parameters:
platformName- the value to set- Returns:
- this builder
-
platformVersion
public ManagementAgentSummary.Builder platformVersion(String platformVersion)
Platform Version- Parameters:
platformVersion- the value to set- Returns:
- this builder
-
version
public ManagementAgentSummary.Builder version(String version)
Management Agent Version- Parameters:
version- the value to set- Returns:
- this builder
-
resourceArtifactVersion
public 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
- Parameters:
resourceArtifactVersion- the value to set- Returns:
- this builder
-
isAgentAutoUpgradable
public 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.
- Parameters:
isAgentAutoUpgradable- the value to set- Returns:
- this builder
-
timeCreated
public ManagementAgentSummary.Builder timeCreated(Date timeCreated)
The time the Management Agent was created.An RFC3339 formatted datetime string
- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
timeUpdated
public ManagementAgentSummary.Builder timeUpdated(Date timeUpdated)
The time the Management Agent was last updated.An RFC3339 formatted datetime string
- Parameters:
timeUpdated- the value to set- Returns:
- this builder
-
host
public ManagementAgentSummary.Builder host(String host)
Management Agent host machine name- Parameters:
host- the value to set- Returns:
- this builder
-
hostId
public ManagementAgentSummary.Builder hostId(String hostId)
Host resource ocid- Parameters:
hostId- the value to set- Returns:
- this builder
-
pluginList
public ManagementAgentSummary.Builder pluginList(List<ManagementAgentPluginDetails> pluginList)
list of managementAgentPlugins associated with the agent- Parameters:
pluginList- the value to set- Returns:
- this builder
-
compartmentId
public ManagementAgentSummary.Builder compartmentId(String compartmentId)
Compartment Identifier- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
timeLastHeartbeat
public ManagementAgentSummary.Builder timeLastHeartbeat(Date timeLastHeartbeat)
The time the Management Agent has last recorded its heartbeat.An RFC3339 formatted datetime string
- Parameters:
timeLastHeartbeat- the value to set- Returns:
- this builder
-
availabilityStatus
public ManagementAgentSummary.Builder availabilityStatus(AvailabilityStatus availabilityStatus)
The current availability status of managementAgent- Parameters:
availabilityStatus- the value to set- Returns:
- this builder
-
lifecycleState
public ManagementAgentSummary.Builder lifecycleState(LifecycleStates lifecycleState)
The current state of managementAgent- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
lifecycleDetails
public 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.
- Parameters:
lifecycleDetails- the value to set- Returns:
- this builder
-
isCustomerDeployed
public 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.
- Parameters:
isCustomerDeployed- the value to set- Returns:
- this builder
-
installType
public ManagementAgentSummary.Builder installType(InstallTypes installType)
The install type, either AGENT or GATEWAY- Parameters:
installType- the value to set- Returns:
- this builder
-
latestSupportedVersion
public ManagementAgentSummary.Builder latestSupportedVersion(String latestSupportedVersion)
The latest supported management agent version- Parameters:
latestSupportedVersion- the value to set- Returns:
- this builder
-
dataSourceSummaryList
public ManagementAgentSummary.Builder dataSourceSummaryList(List<DataSourceSummaryItem> dataSourceSummaryList)
list of dataSources summaries associated with the agent- Parameters:
dataSourceSummaryList- the value to set- Returns:
- this builder
-
freeformTags
public 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”}
- Parameters:
freeformTags- the value to set- Returns:
- this builder
-
definedTags
public 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”}}
- Parameters:
definedTags- the value to set- Returns:
- this builder
-
systemTags
public ManagementAgentSummary.Builder systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.These predefined keys are scoped to namespaces. Example: { “orcl-cloud”: { “free-tier-retained”: “true” } }
- Parameters:
systemTags- the value to set- Returns:
- this builder
-
build
public ManagementAgentSummary build()
-
copy
public ManagementAgentSummary.Builder copy(ManagementAgentSummary model)
-
-