Class Script
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.platform_services.catalog_management.v1.model.Script
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class Script extends com.ibm.cloud.sdk.core.service.model.GenericModelScript information.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classScript.BuilderBuilder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringdeleteScript()Gets the deleteScript.java.lang.Stringinstructions()Gets the instructions.Script.BuildernewBuilder()New builder.java.lang.Stringscope()Gets the scope.java.lang.Stringscript()Gets the script.java.lang.StringscriptPermission()Gets the scriptPermission.
-
-
-
Method Detail
-
newBuilder
public Script.Builder newBuilder()
New builder.- Returns:
- a Script builder
-
instructions
public java.lang.String instructions()
Gets the instructions. Instruction on step and by whom (role) that are needed to take place to prepare the target for installing this version.- Returns:
- the instructions
-
script
public java.lang.String script()
Gets the script. Optional script that needs to be run post any pre-condition script.- Returns:
- the script
-
scriptPermission
public java.lang.String scriptPermission()
Gets the scriptPermission. Optional iam permissions that are required on the target cluster to run this script.- Returns:
- the scriptPermission
-
deleteScript
public java.lang.String deleteScript()
Gets the deleteScript. Optional script that if run will remove the installed version.- Returns:
- the deleteScript
-
scope
public java.lang.String scope()
Gets the scope. Optional value indicating if this script is scoped to a namespace or the entire cluster.- Returns:
- the scope
-
-