Class TaskRecordSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.fleetappsmanagement.model.TaskRecordSummary.Builder
-
- Enclosing class:
- TaskRecordSummary
public static class TaskRecordSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TaskRecordSummarybuild()TaskRecordSummary.BuildercompartmentId(String compartmentId)OCID of the compartment to which the resource belongs to.TaskRecordSummary.Buildercopy(TaskRecordSummary model)TaskRecordSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.TaskRecordSummary.Builderdescription(String description)A user-friendly description.TaskRecordSummary.Builderdetails(Details details)TaskRecordSummary.BuilderdisplayName(String displayName)A user-friendly name.TaskRecordSummary.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.TaskRecordSummary.Builderid(String id)The OCID of the resource.TaskRecordSummary.BuilderlifecycleDetails(String lifecycleDetails)A message describing the current state in more detail.TaskRecordSummary.BuilderlifecycleState(TaskRecord.LifecycleState lifecycleState)The current state of the task record.TaskRecordSummary.BuilderresourceRegion(String resourceRegion)Associated regionTaskRecordSummary.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.TaskRecordSummary.BuildertimeCreated(Date timeCreated)The time this resource was created.TaskRecordSummary.BuildertimeUpdated(Date timeUpdated)The time this resource was last updated.TaskRecordSummary.Buildertype(TaskRecord.Type type)Task type.TaskRecordSummary.Builderversion(String version)The version of the task record.
-
-
-
Method Detail
-
id
public TaskRecordSummary.Builder id(String id)
The OCID of the resource.- Parameters:
id- the value to set- Returns:
- this builder
-
displayName
public TaskRecordSummary.Builder displayName(String displayName)
A user-friendly name.Does not have to be unique, and it’s changeable. Avoid entering confidential information.
Example: My new resource
- Parameters:
displayName- the value to set- Returns:
- this builder
-
description
public TaskRecordSummary.Builder description(String description)
A user-friendly description.To provide some insight about the resource. Avoid entering confidential information.
- Parameters:
description- the value to set- Returns:
- this builder
-
type
public TaskRecordSummary.Builder type(TaskRecord.Type type)
Task type.- Parameters:
type- the value to set- Returns:
- this builder
-
lifecycleState
public TaskRecordSummary.Builder lifecycleState(TaskRecord.LifecycleState lifecycleState)
The current state of the task record.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
timeCreated
public TaskRecordSummary.Builder timeCreated(Date timeCreated)
The time this resource was created.An RFC3339 formatted datetime string.
- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
timeUpdated
public TaskRecordSummary.Builder timeUpdated(Date timeUpdated)
The time this resource was last updated.An RFC3339 formatted datetime string.
- Parameters:
timeUpdated- the value to set- Returns:
- this builder
-
details
public TaskRecordSummary.Builder details(Details details)
-
lifecycleDetails
public TaskRecordSummary.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
-
version
public TaskRecordSummary.Builder version(String version)
The version of the task record.- Parameters:
version- the value to set- Returns:
- this builder
-
compartmentId
public TaskRecordSummary.Builder compartmentId(String compartmentId)
OCID of the compartment to which the resource belongs to.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
resourceRegion
public TaskRecordSummary.Builder resourceRegion(String resourceRegion)
Associated region- Parameters:
resourceRegion- the value to set- Returns:
- this builder
-
freeformTags
public TaskRecordSummary.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 TaskRecordSummary.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 TaskRecordSummary.Builder systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.Each key is predefined and scoped to a namespace. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}
- Parameters:
systemTags- the value to set- Returns:
- this builder
-
build
public TaskRecordSummary build()
-
copy
public TaskRecordSummary.Builder copy(TaskRecordSummary model)
-
-