Package com.oracle.bmc.logging.model
Class UnifiedAgentConfiguration.Builder
- java.lang.Object
-
- com.oracle.bmc.logging.model.UnifiedAgentConfiguration.Builder
-
- Enclosing class:
- UnifiedAgentConfiguration
public static class UnifiedAgentConfiguration.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
id
public UnifiedAgentConfiguration.Builder id(String id)
The OCID of the resource.- Parameters:
id
- the value to set- Returns:
- this builder
-
compartmentId
public UnifiedAgentConfiguration.Builder compartmentId(String compartmentId)
The OCID of the compartment that the resource belongs to.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
displayName
public UnifiedAgentConfiguration.Builder displayName(String displayName)
The user-friendly display name.This must be unique within the enclosing resource, and it’s changeable. Avoid entering confidential information.
- Parameters:
displayName
- the value to set- Returns:
- this builder
-
description
public UnifiedAgentConfiguration.Builder description(String description)
Description for this resource.- Parameters:
description
- the value to set- Returns:
- this builder
-
definedTags
public UnifiedAgentConfiguration.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
Example: {"Operations": {"CostCenter": "42"}}
- Parameters:
definedTags
- the value to set- Returns:
- this builder
-
freeformTags
public UnifiedAgentConfiguration.Builder freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {“Department”: “Finance”}
- Parameters:
freeformTags
- the value to set- Returns:
- this builder
-
timeCreated
public UnifiedAgentConfiguration.Builder timeCreated(Date timeCreated)
Time the resource was created.- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeLastModified
public UnifiedAgentConfiguration.Builder timeLastModified(Date timeLastModified)
Time the resource was last modified.- Parameters:
timeLastModified
- the value to set- Returns:
- this builder
-
lifecycleState
public UnifiedAgentConfiguration.Builder lifecycleState(LogLifecycleState lifecycleState)
The pipeline state.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
isEnabled
public UnifiedAgentConfiguration.Builder isEnabled(Boolean isEnabled)
Whether or not this resource is currently enabled.- Parameters:
isEnabled
- the value to set- Returns:
- this builder
-
configurationState
public UnifiedAgentConfiguration.Builder configurationState(UnifiedAgentServiceConfigurationStates configurationState)
State of unified agent service configuration.- Parameters:
configurationState
- the value to set- Returns:
- this builder
-
serviceConfiguration
public UnifiedAgentConfiguration.Builder serviceConfiguration(UnifiedAgentServiceConfigurationDetails serviceConfiguration)
-
groupAssociation
public UnifiedAgentConfiguration.Builder groupAssociation(GroupAssociationDetails groupAssociation)
-
build
public UnifiedAgentConfiguration build()
-
copy
public UnifiedAgentConfiguration.Builder copy(UnifiedAgentConfiguration model)
-
-