Class RunSummary.Builder

  • Enclosing class:
    RunSummary

    public static class RunSummary.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • applicationId

        public RunSummary.Builder applicationId​(String applicationId)
        The application ID.
        Parameters:
        applicationId - the value to set
        Returns:
        this builder
      • compartmentId

        public RunSummary.Builder compartmentId​(String compartmentId)
        The OCID of a compartment.
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder
      • dataReadInBytes

        public RunSummary.Builder dataReadInBytes​(Long dataReadInBytes)
        The data read by the run in bytes.
        Parameters:
        dataReadInBytes - the value to set
        Returns:
        this builder
      • dataWrittenInBytes

        public RunSummary.Builder dataWrittenInBytes​(Long dataWrittenInBytes)
        The data written by the run in bytes.
        Parameters:
        dataWrittenInBytes - the value to set
        Returns:
        this builder
      • definedTags

        public RunSummary.Builder definedTags​(Map<String,​Map<String,​Object>> definedTags)
        Defined tags for this resource.

        Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {“Operations”: {“CostCenter”: “42”}}

        Parameters:
        definedTags - the value to set
        Returns:
        this builder
      • displayName

        public RunSummary.Builder displayName​(String displayName)
        A user-friendly name.

        This name is not necessarily unique.

        Parameters:
        displayName - the value to set
        Returns:
        this builder
      • freeformTags

        public RunSummary.Builder freeformTags​(Map<String,​String> freeformTags)
        Free-form tags for this resource.

        Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {“Department”: “Finance”}

        Parameters:
        freeformTags - the value to set
        Returns:
        this builder
      • id

        public RunSummary.Builder id​(String id)
        The ID of a run.
        Parameters:
        id - the value to set
        Returns:
        this builder
      • lifecycleDetails

        public RunSummary.Builder lifecycleDetails​(String lifecycleDetails)
        The detailed messages about the lifecycle state.
        Parameters:
        lifecycleDetails - the value to set
        Returns:
        this builder
      • lifecycleState

        public RunSummary.Builder lifecycleState​(RunLifecycleState lifecycleState)
        The current state of this run.
        Parameters:
        lifecycleState - the value to set
        Returns:
        this builder
      • opcRequestId

        public RunSummary.Builder opcRequestId​(String opcRequestId)
        Unique Oracle assigned identifier for the request.

        If you need to contact Oracle about a particular request, please provide the request ID.

        Parameters:
        opcRequestId - the value to set
        Returns:
        this builder
      • ownerPrincipalId

        public RunSummary.Builder ownerPrincipalId​(String ownerPrincipalId)
        The OCID of the user who created the resource.
        Parameters:
        ownerPrincipalId - the value to set
        Returns:
        this builder
      • ownerUserName

        public RunSummary.Builder ownerUserName​(String ownerUserName)
        The username of the user who created the resource.

        If the username of the owner does not exist, null will be returned and the caller should refer to the ownerPrincipalId value instead.

        Parameters:
        ownerUserName - the value to set
        Returns:
        this builder
      • poolId

        public RunSummary.Builder poolId​(String poolId)
        The OCID of a pool.

        Unique Id to indentify a dataflow pool resource.

        Parameters:
        poolId - the value to set
        Returns:
        this builder
      • runDurationInMilliseconds

        public RunSummary.Builder runDurationInMilliseconds​(Long runDurationInMilliseconds)
        The duration of the run in milliseconds.
        Parameters:
        runDurationInMilliseconds - the value to set
        Returns:
        this builder
      • totalOCpu

        public RunSummary.Builder totalOCpu​(Integer totalOCpu)
        The total number of oCPU requested by the run.
        Parameters:
        totalOCpu - the value to set
        Returns:
        this builder
      • timeCreated

        public RunSummary.Builder timeCreated​(Date timeCreated)
        The date and time the resource was created, expressed in RFC 3339 timestamp format.

        Example: 2018-04-03T21:10:29.600Z

        Parameters:
        timeCreated - the value to set
        Returns:
        this builder
      • timeUpdated

        public RunSummary.Builder timeUpdated​(Date timeUpdated)
        The date and time the resource was updated, expressed in RFC 3339 timestamp format.

        Example: 2018-04-03T21:10:29.600Z

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