public static class MonitoredResourceTaskSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
public MonitoredResourceTaskSummary.Builder id(String id)
Task identifier OCID.
id
- the value to setpublic MonitoredResourceTaskSummary.Builder name(String name)
Name of the task.
name
- the value to setpublic MonitoredResourceTaskSummary.Builder taskDetails(MonitoredResourceTaskDetails taskDetails)
public MonitoredResourceTaskSummary.Builder workRequestIds(List<String> workRequestIds)
Identifiers OCID for work requests submitted for this task.
workRequestIds
- the value to setpublic MonitoredResourceTaskSummary.Builder timeCreated(Date timeCreated)
The date and time when the stack monitoring resource task was created, expressed in RFC 3339 timestamp format.
timeCreated
- the value to setpublic MonitoredResourceTaskSummary.Builder timeUpdated(Date timeUpdated)
The date and time when the stack monitoring resource task was last updated, expressed in RFC 3339 timestamp format.
timeUpdated
- the value to setpublic MonitoredResourceTaskSummary.Builder lifecycleState(MonitoredResourceTaskLifecycleState lifecycleState)
The current state of the stack monitoring resource task.
lifecycleState
- the value to setpublic MonitoredResourceTaskSummary.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"}
freeformTags
- the value to setpublic MonitoredResourceTaskSummary.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"}}
definedTags
- the value to setpublic MonitoredResourceTaskSummary.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"}}
systemTags
- the value to setpublic MonitoredResourceTaskSummary build()
public MonitoredResourceTaskSummary.Builder copy(MonitoredResourceTaskSummary model)
Copyright © 2016–2024. All rights reserved.