Class UpdateScriptDetails.Builder
- java.lang.Object
- 
- com.oracle.bmc.apmsynthetics.model.UpdateScriptDetails.Builder
 
- 
- Enclosing class:
- UpdateScriptDetails
 
 public static class UpdateScriptDetails.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateScriptDetailsbuild()UpdateScriptDetails.Buildercontent(String content)The content of the script.UpdateScriptDetails.BuildercontentFileName(String contentFileName)File name of uploaded script content.UpdateScriptDetails.BuildercontentType(ContentTypes contentType)Content type of script.UpdateScriptDetails.Buildercopy(UpdateScriptDetails model)UpdateScriptDetails.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.UpdateScriptDetails.BuilderdisplayName(String displayName)Unique name that can be edited.UpdateScriptDetails.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.UpdateScriptDetails.Builderparameters(List<ScriptParameter> parameters)List of script parameters.
 
- 
- 
- 
Method Detail- 
displayNamepublic UpdateScriptDetails.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 UpdateScriptDetails.Builder contentType(ContentTypes contentType) Content type of script.- Parameters:
- contentType- the value to set
- Returns:
- this builder
 
 - 
contentpublic UpdateScriptDetails.Builder content(String content) The content of the script.It may contain custom-defined tags that can be used for setting dynamic parameters. The format to set dynamic parameters is: param name param value isParamValueSecret(true/false) param name param name param value - Parameters:
- content- the value to set
- Returns:
- this builder
 
 - 
contentFileNamepublic UpdateScriptDetails.Builder contentFileName(String contentFileName) File name of uploaded script content.- Parameters:
- contentFileName- the value to set
- Returns:
- this builder
 
 - 
parameterspublic UpdateScriptDetails.Builder parameters(List<ScriptParameter> parameters) List of script parameters.Example: [{“paramName”: “userid”, “paramValue”:“testuser”, “isSecret”: false}] - Parameters:
- parameters- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic UpdateScriptDetails.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 UpdateScriptDetails.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 UpdateScriptDetails build() 
 - 
copypublic UpdateScriptDetails.Builder copy(UpdateScriptDetails model) 
 
- 
 
-