Package com.oracle.bmc.cloudbridge.model
Class Plugin.Builder
- java.lang.Object
-
- com.oracle.bmc.cloudbridge.model.Plugin.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Plugin.Builder
agentId(String agentId)
Agent identifier.Plugin
build()
Plugin.Builder
copy(Plugin model)
Plugin.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
The defined tags associated with this resource, if any.Plugin.Builder
desiredState(Plugin.DesiredState desiredState)
State to which the customer wants the plugin to move to.Plugin.Builder
freeformTags(Map<String,String> freeformTags)
The freeform tags associated with this resource, if any.Plugin.Builder
lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.Plugin.Builder
lifecycleState(Plugin.LifecycleState lifecycleState)
The current state of the plugin.Plugin.Builder
name(String name)
Plugin identifier, which can be renamed.Plugin.Builder
pluginVersion(String pluginVersion)
Plugin version.Plugin.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
The system tags associated with this resource, if any.Plugin.Builder
timeCreated(Date timeCreated)
The time when the Agent was created.Plugin.Builder
timeUpdated(Date timeUpdated)
The time when the Agent was updated.
-
-
-
Method Detail
-
name
public Plugin.Builder name(String name)
Plugin identifier, which can be renamed.- Parameters:
name
- the value to set- Returns:
- this builder
-
agentId
public Plugin.Builder agentId(String agentId)
Agent identifier.- Parameters:
agentId
- the value to set- Returns:
- this builder
-
pluginVersion
public Plugin.Builder pluginVersion(String pluginVersion)
Plugin version.- Parameters:
pluginVersion
- the value to set- Returns:
- this builder
-
desiredState
public Plugin.Builder desiredState(Plugin.DesiredState desiredState)
State to which the customer wants the plugin to move to.- Parameters:
desiredState
- the value to set- Returns:
- this builder
-
timeCreated
public Plugin.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
-
timeUpdated
public Plugin.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
-
lifecycleState
public Plugin.Builder lifecycleState(Plugin.LifecycleState lifecycleState)
The current state of the plugin.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
lifecycleDetails
public Plugin.Builder lifecycleDetails(String lifecycleDetails)
A message describing the current state 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
-
freeformTags
public Plugin.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
-
definedTags
public Plugin.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
-
systemTags
public Plugin.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
-
build
public Plugin build()
-
copy
public Plugin.Builder copy(Plugin model)
-
-