Class ScriptSummary.Builder
- java.lang.Object
- 
- com.oracle.bmc.apmsynthetics.model.ScriptSummary.Builder
 
- 
- Enclosing class:
- ScriptSummary
 
 public static class ScriptSummary.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ScriptSummarybuild()ScriptSummary.BuildercontentType(ContentTypes contentType)Content type of the script.ScriptSummary.Buildercopy(ScriptSummary model)ScriptSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.ScriptSummary.BuilderdisplayName(String displayName)Unique name that can be edited.ScriptSummary.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.ScriptSummary.Builderid(String id)The OCID of the script.ScriptSummary.BuildermonitorStatusCountMap(MonitorStatusCountMap monitorStatusCountMap)ScriptSummary.BuildertimeCreated(Date timeCreated)The time the resource was created, expressed in RFC 3339 timestamp format.ScriptSummary.BuildertimeUpdated(Date timeUpdated)The time the resource was updated, expressed in RFC 3339 timestamp format.
 
- 
- 
- 
Method Detail- 
idpublic 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
 
 - 
displayNamepublic 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
 
 - 
contentTypepublic ScriptSummary.Builder contentType(ContentTypes contentType) Content type of the script.- Parameters:
- contentType- the value to set
- Returns:
- this builder
 
 - 
monitorStatusCountMappublic ScriptSummary.Builder monitorStatusCountMap(MonitorStatusCountMap monitorStatusCountMap) 
 - 
timeCreatedpublic 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
 
 - 
timeUpdatedpublic 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
 
 - 
freeformTagspublic 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
 
 - 
definedTagspublic 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
 
 - 
buildpublic ScriptSummary build() 
 - 
copypublic ScriptSummary.Builder copy(ScriptSummary model) 
 
- 
 
-