public static class CreateMonitoredResourceTaskDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CreateMonitoredResourceTaskDetails |
build() |
CreateMonitoredResourceTaskDetails.Builder |
compartmentId(String compartmentId)
The OCID of the
compartment identifier.
|
CreateMonitoredResourceTaskDetails.Builder |
copy(CreateMonitoredResourceTaskDetails model) |
CreateMonitoredResourceTaskDetails.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
CreateMonitoredResourceTaskDetails.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
CreateMonitoredResourceTaskDetails.Builder |
name(String name)
Name of the task.
|
CreateMonitoredResourceTaskDetails.Builder |
taskDetails(MonitoredResourceTaskDetails taskDetails) |
public CreateMonitoredResourceTaskDetails.Builder compartmentId(String compartmentId)
The OCID of the compartment identifier.
compartmentId
- the value to setpublic CreateMonitoredResourceTaskDetails.Builder name(String name)
Name of the task. If not provided by default the following names will be taken OCI tasks
name
- the value to setpublic CreateMonitoredResourceTaskDetails.Builder taskDetails(MonitoredResourceTaskDetails taskDetails)
public CreateMonitoredResourceTaskDetails.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 CreateMonitoredResourceTaskDetails.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 CreateMonitoredResourceTaskDetails build()
public CreateMonitoredResourceTaskDetails.Builder copy(CreateMonitoredResourceTaskDetails model)
Copyright © 2016–2024. All rights reserved.