Class ScriptSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.apmsynthetics.model.ScriptSummary.Builder
-
- Enclosing class:
- ScriptSummary
public static class ScriptSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
id
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.
- Parameters:
id
- the value to set- Returns:
- this builder
-
displayName
public ScriptSummary.Builder displayName(String displayName)
Unique name that can be edited.The name should not contain any confidential information.
- Parameters:
displayName
- the value to set- Returns:
- this builder
-
contentType
public ScriptSummary.Builder contentType(ContentTypes contentType)
Content type of the script.- Parameters:
contentType
- the value to set- Returns:
- this builder
-
monitorStatusCountMap
public ScriptSummary.Builder monitorStatusCountMap(MonitorStatusCountMap monitorStatusCountMap)
-
timeCreated
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
- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeUpdated
public ScriptSummary.Builder timeUpdated(Date timeUpdated)
The time the resource was updated, expressed in RFC 3339 timestamp format.Example: 2020-02-13T22:47:12.613Z
- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
freeformTags
public 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”}
- Parameters:
freeformTags
- the value to set- Returns:
- this builder
-
definedTags
public 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”}}
- Parameters:
definedTags
- the value to set- Returns:
- this builder
-
build
public ScriptSummary build()
-
copy
public ScriptSummary.Builder copy(ScriptSummary model)
-
-