public static class MonitoredResourceTask.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
MonitoredResourceTask |
build() |
MonitoredResourceTask.Builder |
compartmentId(String compartmentId)
The OCID of the
compartment identifier.
|
MonitoredResourceTask.Builder |
copy(MonitoredResourceTask model) |
MonitoredResourceTask.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
MonitoredResourceTask.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
MonitoredResourceTask.Builder |
id(String id)
Task identifier
OCID.
|
MonitoredResourceTask.Builder |
lifecycleState(MonitoredResourceTaskLifecycleState lifecycleState)
The current state of the stack monitoring resource task.
|
MonitoredResourceTask.Builder |
name(String name)
Name of the task.
|
MonitoredResourceTask.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.
|
MonitoredResourceTask.Builder |
taskDetails(MonitoredResourceTaskDetails taskDetails) |
MonitoredResourceTask.Builder |
tenantId(String tenantId)
The OCID of the
tenancy.
|
MonitoredResourceTask.Builder |
timeCreated(Date timeCreated)
The date and time when the stack monitoring resource task was created, expressed in RFC
3339 timestamp format.
|
MonitoredResourceTask.Builder |
timeUpdated(Date timeUpdated)
The date and time when the stack monitoring resource task was last updated, expressed in
RFC 3339 timestamp format.
|
MonitoredResourceTask.Builder |
workRequestIds(List<String> workRequestIds)
Identifiers
OCID for work
requests submitted for this task.
|
public MonitoredResourceTask.Builder id(String id)
Task identifier OCID.
id
- the value to setpublic MonitoredResourceTask.Builder name(String name)
Name of the task.
name
- the value to setpublic MonitoredResourceTask.Builder compartmentId(String compartmentId)
The OCID of the compartment identifier.
compartmentId
- the value to setpublic MonitoredResourceTask.Builder tenantId(String tenantId)
The OCID of the tenancy.
tenantId
- the value to setpublic MonitoredResourceTask.Builder taskDetails(MonitoredResourceTaskDetails taskDetails)
public MonitoredResourceTask.Builder workRequestIds(List<String> workRequestIds)
Identifiers OCID for work requests submitted for this task.
workRequestIds
- the value to setpublic MonitoredResourceTask.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 MonitoredResourceTask.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 MonitoredResourceTask.Builder lifecycleState(MonitoredResourceTaskLifecycleState lifecycleState)
The current state of the stack monitoring resource task.
lifecycleState
- the value to setpublic MonitoredResourceTask.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 MonitoredResourceTask.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 MonitoredResourceTask.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 MonitoredResourceTask build()
public MonitoredResourceTask.Builder copy(MonitoredResourceTask model)
Copyright © 2016–2024. All rights reserved.