Class Script

  • All Implemented Interfaces:
    com.ibm.cloud.sdk.core.service.model.ObjectModel

    public class Script
    extends com.ibm.cloud.sdk.core.service.model.GenericModel
    Script information.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  Script.Builder
      Builder.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String deleteScript()
      Gets the deleteScript.
      java.lang.String instructions()
      Gets the instructions.
      Script.Builder newBuilder()
      New builder.
      java.lang.String scope()
      Gets the scope.
      java.lang.String script()
      Gets the script.
      java.lang.String scriptPermission()
      Gets the scriptPermission.
      • Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel

        equals, hashCode, toString
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • 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