Class ScriptSummary.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • id

        public 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
      • displayName

        public 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
      • contentType

        public ScriptSummary.Builder contentType​(ContentTypes contentType)
        Content type of the script.
        Parameters:
        contentType - the value to set
        Returns:
        this builder
      • timeCreated

        public 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
      • timeUpdated

        public 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
      • freeformTags

        public 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
      • definedTags

        public 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