Class PatchSummary.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • modelType

        public PatchSummary.Builder modelType​(String modelType)
        The object type.
        Parameters:
        modelType - the value to set
        Returns:
        this builder
      • modelVersion

        public PatchSummary.Builder modelVersion​(String modelVersion)
        The object’s model version.
        Parameters:
        modelVersion - the value to set
        Returns:
        this builder
      • name

        public PatchSummary.Builder name​(String name)
        Free form text without any restriction on permitted characters.

        Name can have letters, numbers, and special characters. The value is editable and is restricted to 1000 characters.

        Parameters:
        name - the value to set
        Returns:
        this builder
      • description

        public PatchSummary.Builder description​(String description)
        Detailed description for the object.
        Parameters:
        description - the value to set
        Returns:
        this builder
      • objectVersion

        public PatchSummary.Builder objectVersion​(Integer objectVersion)
        The version of the object that is used to track changes in the object instance.
        Parameters:
        objectVersion - the value to set
        Returns:
        this builder
      • objectStatus

        public PatchSummary.Builder objectStatus​(Integer objectStatus)
        The status of an object that can be set to value 1 for shallow references across objects, other values reserved.
        Parameters:
        objectStatus - the value to set
        Returns:
        this builder
      • identifier

        public PatchSummary.Builder identifier​(String identifier)
        Value can only contain upper case letters, underscore, and numbers.

        It should begin with upper case letter or underscore. The value can be modified.

        Parameters:
        identifier - the value to set
        Returns:
        this builder
      • timePatched

        public PatchSummary.Builder timePatched​(Date timePatched)
        The date and time the patch was applied, in the timestamp format defined by RFC3339.
        Parameters:
        timePatched - the value to set
        Returns:
        this builder
      • errorMessages

        public PatchSummary.Builder errorMessages​(Map<String,​String> errorMessages)
        The errors encountered while applying the patch, if any.
        Parameters:
        errorMessages - the value to set
        Returns:
        this builder
      • applicationVersion

        public PatchSummary.Builder applicationVersion​(Integer applicationVersion)
        The application version of the patch.
        Parameters:
        applicationVersion - the value to set
        Returns:
        this builder
      • patchType

        public PatchSummary.Builder patchType​(PatchSummary.PatchType patchType)
        The type of the patch applied or being applied on the application.
        Parameters:
        patchType - the value to set
        Returns:
        this builder
      • patchStatus

        public PatchSummary.Builder patchStatus​(PatchSummary.PatchStatus patchStatus)
        Status of the patch applied or being applied on the application
        Parameters:
        patchStatus - the value to set
        Returns:
        this builder
      • dependentObjectMetadata

        public PatchSummary.Builder dependentObjectMetadata​(List<PatchObjectMetadata> dependentObjectMetadata)
        List of dependent objects in this patch.
        Parameters:
        dependentObjectMetadata - the value to set
        Returns:
        this builder
      • patchObjectMetadata

        public PatchSummary.Builder patchObjectMetadata​(List<PatchObjectMetadata> patchObjectMetadata)
        List of objects that are published or unpublished in this patch.
        Parameters:
        patchObjectMetadata - the value to set
        Returns:
        this builder
      • keyMap

        public PatchSummary.Builder keyMap​(Map<String,​String> keyMap)
        A key map.

        If provided, key is replaced with generated key. This structure provides mapping between user provided key and generated key.

        Parameters:
        keyMap - the value to set
        Returns:
        this builder