Package com.oracle.bmc.cloudbridge.model
Class Agent.Builder
- java.lang.Object
- 
- com.oracle.bmc.cloudbridge.model.Agent.Builder
 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description Agent.BuilderagentPubKey(String agentPubKey)Resource principal public key.Agent.BuilderagentType(Agent.AgentType agentType)Type of the Agent.Agent.BuilderagentVersion(String agentVersion)Agent identifier.Agentbuild()Agent.BuildercompartmentId(String compartmentId)Compartment identifier.Agent.Buildercopy(Agent model)Agent.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)The defined tags associated with this resource, if any.Agent.BuilderdisplayName(String displayName)Agent identifier, can be renamed.Agent.BuilderenvironmentId(String environmentId)Environment identifier.Agent.BuilderfreeformTags(Map<String,String> freeformTags)The freeform tags associated with this resource, if any.Agent.BuilderheartBeatStatus(Agent.HeartBeatStatus heartBeatStatus)The current heartbeat status of the Agent based on its timeLastSyncReceived value.Agent.Builderid(String id)Unique identifier that is immutable on creation.Agent.BuilderlifecycleDetails(String lifecycleDetails)A message describing the current state of the Agent in more detail.Agent.BuilderlifecycleState(Agent.LifecycleState lifecycleState)The current state of the Agent.Agent.BuilderosVersion(String osVersion)OS version.Agent.BuilderpluginList(List<PluginSummary> pluginList)List of plugins associated with the agent.Agent.BuildersystemTags(Map<String,Map<String,Object>> systemTags)The system tags associated with this resource, if any.Agent.BuildertimeCreated(Date timeCreated)The time when the Agent was created.Agent.BuildertimeExpireAgentKeyInMs(Date timeExpireAgentKeyInMs)The time since epoch for when the public key will expire.Agent.BuildertimeLastSyncReceived(Date timeLastSyncReceived)The time when the last heartbeat of the Agent was noted.Agent.BuildertimeUpdated(Date timeUpdated)The time when the Agent was updated.
 
- 
- 
- 
Method Detail- 
idpublic Agent.Builder id(String id) Unique identifier that is immutable on creation.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic Agent.Builder displayName(String displayName) Agent identifier, can be renamed.- Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic Agent.Builder compartmentId(String compartmentId) Compartment identifier.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
agentTypepublic Agent.Builder agentType(Agent.AgentType agentType) Type of the Agent.- Parameters:
- agentType- the value to set
- Returns:
- this builder
 
 - 
agentVersionpublic Agent.Builder agentVersion(String agentVersion) Agent identifier.- Parameters:
- agentVersion- the value to set
- Returns:
- this builder
 
 - 
osVersionpublic Agent.Builder osVersion(String osVersion) OS version.- Parameters:
- osVersion- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic Agent.Builder timeCreated(Date timeCreated) The time when the Agent was created.An RFC3339 formatted datetime string. - Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
timeUpdatedpublic Agent.Builder timeUpdated(Date timeUpdated) The time when the Agent was updated.An RFC3339 formatted datetime string. - Parameters:
- timeUpdated- the value to set
- Returns:
- this builder
 
 - 
timeLastSyncReceivedpublic Agent.Builder timeLastSyncReceived(Date timeLastSyncReceived) The time when the last heartbeat of the Agent was noted.An RFC3339 formatted datetime string. - Parameters:
- timeLastSyncReceived- the value to set
- Returns:
- this builder
 
 - 
heartBeatStatuspublic Agent.Builder heartBeatStatus(Agent.HeartBeatStatus heartBeatStatus) The current heartbeat status of the Agent based on its timeLastSyncReceived value.- Parameters:
- heartBeatStatus- the value to set
- Returns:
- this builder
 
 - 
environmentIdpublic Agent.Builder environmentId(String environmentId) Environment identifier.- Parameters:
- environmentId- the value to set
- Returns:
- this builder
 
 - 
agentPubKeypublic Agent.Builder agentPubKey(String agentPubKey) Resource principal public key.- Parameters:
- agentPubKey- the value to set
- Returns:
- this builder
 
 - 
timeExpireAgentKeyInMspublic Agent.Builder timeExpireAgentKeyInMs(Date timeExpireAgentKeyInMs) The time since epoch for when the public key will expire.An RFC3339 formatted datetime string. - Parameters:
- timeExpireAgentKeyInMs- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic Agent.Builder lifecycleState(Agent.LifecycleState lifecycleState) The current state of the Agent.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
lifecycleDetailspublic Agent.Builder lifecycleDetails(String lifecycleDetails) A message describing the current state of the Agent in more detail.For example, it can be used to provide actionable information for a resource in Failed state. - Parameters:
- lifecycleDetails- the value to set
- Returns:
- this builder
 
 - 
pluginListpublic Agent.Builder pluginList(List<PluginSummary> pluginList) List of plugins associated with the agent.- Parameters:
- pluginList- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic Agent.Builder freeformTags(Map<String,String> freeformTags) The freeform tags associated with this resource, if any.Each tag is a simple key-value pair with no predefined name, type, or namespace/scope. For more information, see Resource Tags. Example: {“Department”: “Finance”} - Parameters:
- freeformTags- the value to set
- Returns:
- this builder
 
 - 
definedTagspublic Agent.Builder definedTags(Map<String,Map<String,Object>> definedTags) The defined tags associated with this resource, if any.Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {“Operations”: {“CostCenter”: “42”}} - Parameters:
- definedTags- the value to set
- Returns:
- this builder
 
 - 
systemTagspublic Agent.Builder systemTags(Map<String,Map<String,Object>> systemTags) The system tags associated with this resource, if any.The system tags are set by Oracle cloud infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {orcl-cloud: {free-tier-retain: true}} - Parameters:
- systemTags- the value to set
- Returns:
- this builder
 
 - 
buildpublic Agent build() 
 - 
copypublic Agent.Builder copy(Agent model) 
 
- 
 
-