public static class ScriptSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ScriptSummary |
build() |
ScriptSummary.Builder |
contentType(ContentTypes contentType)
Content type of the script.
|
ScriptSummary.Builder |
copy(ScriptSummary model) |
ScriptSummary.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
ScriptSummary.Builder |
displayName(String displayName)
Unique name that can be edited.
|
ScriptSummary.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
ScriptSummary.Builder |
id(String id)
The OCID of the
script.
|
ScriptSummary.Builder |
monitorStatusCountMap(MonitorStatusCountMap monitorStatusCountMap) |
ScriptSummary.Builder |
timeCreated(Date timeCreated)
The time the resource was created, expressed in RFC
3339 timestamp format.
|
ScriptSummary.Builder |
timeUpdated(Date timeUpdated)
The time the resource was updated, expressed in RFC
3339 timestamp format.
|
public ScriptSummary.Builder id(String id)
The OCID of the script. scriptId is mandatory for creation of SCRIPTED_BROWSER and SCRIPTED_REST monitor types. For other monitor types, it should be set to null.
id
- the value to setpublic ScriptSummary.Builder displayName(String displayName)
Unique name that can be edited. The name should not contain any confidential information.
displayName
- the value to setpublic ScriptSummary.Builder contentType(ContentTypes contentType)
Content type of the script.
contentType
- the value to setpublic ScriptSummary.Builder monitorStatusCountMap(MonitorStatusCountMap monitorStatusCountMap)
public ScriptSummary.Builder timeCreated(Date timeCreated)
The time the resource was created, expressed in RFC
3339 timestamp format. Example: 2020-02-12T22:47:12.613Z
timeCreated
- the value to setpublic ScriptSummary.Builder timeUpdated(Date timeUpdated)
The time the resource was updated, expressed in RFC
3339 timestamp format. Example: 2020-02-13T22:47:12.613Z
timeUpdated
- the value to setpublic ScriptSummary.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 ScriptSummary.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 ScriptSummary build()
public ScriptSummary.Builder copy(ScriptSummary model)
Copyright © 2016–2024. All rights reserved.