Class ProcessSet.Builder
- java.lang.Object
-
- com.oracle.bmc.stackmonitoring.model.ProcessSet.Builder
-
- Enclosing class:
- ProcessSet
public static class ProcessSet.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProcessSetbuild()ProcessSet.BuildercompartmentId(String compartmentId)The OCID of the compartment.ProcessSet.Buildercopy(ProcessSet model)ProcessSet.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.ProcessSet.BuilderdisplayName(String displayName)Name of the Process Set.ProcessSet.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.ProcessSet.Builderid(String id)The OCID of the Process Set.ProcessSet.BuilderlifecycleState(LifecycleState lifecycleState)The current state of the Resource.ProcessSet.Builderrevision(String revision)The current revision of the Process Set.ProcessSet.Builderspecification(ProcessSetSpecification specification)ProcessSet.BuildersystemTags(Map<String,Map<String,Object>> systemTags)Usage of system tag keys.ProcessSet.BuildertimeCreated(Date timeCreated)The time the process set was created.ProcessSet.BuildertimeUpdated(Date timeUpdated)The time the process set was last updated.
-
-
-
Method Detail
-
id
public ProcessSet.Builder id(String id)
The OCID of the Process Set.- Parameters:
id- the value to set- Returns:
- this builder
-
compartmentId
public ProcessSet.Builder compartmentId(String compartmentId)
The OCID of the compartment.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
lifecycleState
public ProcessSet.Builder lifecycleState(LifecycleState lifecycleState)
The current state of the Resource.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
displayName
public ProcessSet.Builder displayName(String displayName)
Name of the Process Set.- Parameters:
displayName- the value to set- Returns:
- this builder
-
specification
public ProcessSet.Builder specification(ProcessSetSpecification specification)
-
timeCreated
public ProcessSet.Builder timeCreated(Date timeCreated)
The time the process set was created.An RFC3339 formatted datetime string.
- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
timeUpdated
public ProcessSet.Builder timeUpdated(Date timeUpdated)
The time the process set was last updated.An RFC3339 formatted datetime string.
- Parameters:
timeUpdated- the value to set- Returns:
- this builder
-
revision
public ProcessSet.Builder revision(String revision)
The current revision of the Process Set.- Parameters:
revision- the value to set- Returns:
- this builder
-
freeformTags
public ProcessSet.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 ProcessSet.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 ProcessSet.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 ProcessSet build()
-
copy
public ProcessSet.Builder copy(ProcessSet model)
-
-