Class UpdateScriptDetails
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.apmsynthetics.model.UpdateScriptDetails
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20200630") public final class UpdateScriptDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelDetails of the request body used to update a script.Only Side, JavaScript and Playwright TypeScript content types are supported and content should be in Side, JavaScript and TypeScript formats only. 
 Note: Objects should always be created or deserialized using theUpdateScriptDetails.Builder. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of theUpdateScriptDetails.Builder, which maintain a set of all explicitly set fields calledUpdateScriptDetails.Builder.__explicitlySet__. ThehashCode()andequals(Object)methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classUpdateScriptDetails.Builder
 - 
Constructor SummaryConstructors Constructor Description UpdateScriptDetails(String displayName, ContentTypes contentType, String content, String contentFileName, List<ScriptParameter> parameters, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags)Deprecated.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UpdateScriptDetails.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetContent()The content of the script.StringgetContentFileName()File name of uploaded script content.ContentTypesgetContentType()Content type of script.Map<String,Map<String,Object>>getDefinedTags()Defined tags for this resource.StringgetDisplayName()Unique name that can be edited.Map<String,String>getFreeformTags()Simple key-value pair that is applied without any predefined name, type or scope.List<ScriptParameter>getParameters()List of script parameters.inthashCode()UpdateScriptDetails.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
 
- 
- 
- 
Constructor Detail- 
UpdateScriptDetails@Deprecated @ConstructorProperties({"displayName","contentType","content","contentFileName","parameters","freeformTags","definedTags"}) public UpdateScriptDetails(String displayName, ContentTypes contentType, String content, String contentFileName, List<ScriptParameter> parameters, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static UpdateScriptDetails.Builder builder() Create a new builder.
 - 
toBuilderpublic UpdateScriptDetails.Builder toBuilder() 
 - 
getDisplayNamepublic String getDisplayName() Unique name that can be edited.The name should not contain any confidential information. - Returns:
- the value
 
 - 
getContentTypepublic ContentTypes getContentType() Content type of script.- Returns:
- the value
 
 - 
getContentpublic String getContent() 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 - Returns:
- the value
 
 - 
getContentFileNamepublic String getContentFileName() File name of uploaded script content.- Returns:
- the value
 
 - 
getParameterspublic List<ScriptParameter> getParameters() List of script parameters.Example: [{“paramName”: “userid”, “paramValue”:“testuser”, “isSecret”: false}] - Returns:
- the value
 
 - 
getFreeformTagspublic Map<String,String> getFreeformTags() Simple key-value pair that is applied without any predefined name, type or scope.Exists for cross-compatibility only. Example: {“bar-key”: “value”} - Returns:
- the value
 
 - 
getDefinedTagspublic Map<String,Map<String,Object>> getDefinedTags() Defined tags for this resource.Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}} - Returns:
- the value
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
toStringpublic String toString(boolean includeByteArrayContents) Return a string representation of the object.- Parameters:
- includeByteArrayContents- true to include the full contents of byte arrays
- Returns:
- string representation
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 
- 
 
-