Class EventSummary.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • eventSummary

        public EventSummary.Builder eventSummary​(String eventSummary)
        Summary of the event.
        Parameters:
        eventSummary - the value to set
        Returns:
        this builder
      • compartmentId

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

        public EventSummary.Builder resourceId​(String resourceId)
        The OCID of the managed instance or resource where the event occurred.
        Parameters:
        resourceId - the value to set
        Returns:
        this builder
      • timeCreated

        public EventSummary.Builder timeCreated​(Date timeCreated)
        The date and time that the event was created (in RFC 3339 format).

        Example: 2016-08-25T21:10:29.600Z

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

        public EventSummary.Builder timeUpdated​(Date timeUpdated)
        The date and time that the event was updated (in RFC 3339 format).

        Example: 2016-08-25T21:10:29.600Z

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

        public EventSummary.Builder timeOccurred​(Date timeOccurred)
        The date and time that the event occurred (in RFC 3339 format).

        Example: 2016-08-25T21:10:29.600Z

        Parameters:
        timeOccurred - the value to set
        Returns:
        this builder
      • lifecycleState

        public EventSummary.Builder lifecycleState​(Event.LifecycleState lifecycleState)
        The current state of the event.
        Parameters:
        lifecycleState - the value to set
        Returns:
        this builder
      • lifecycleDetails

        public EventSummary.Builder lifecycleDetails​(String lifecycleDetails)
        Describes the current state of the event in more detail.

        For example, the message can provide actionable information for a resource in the ‘FAILED’ state.

        Parameters:
        lifecycleDetails - the value to set
        Returns:
        this builder
      • isManagedByAutonomousLinux

        public EventSummary.Builder isManagedByAutonomousLinux​(Boolean isManagedByAutonomousLinux)
        Indicates whether the event occurred on a resource that is managed by the Autonomous Linux service.
        Parameters:
        isManagedByAutonomousLinux - the value to set
        Returns:
        this builder
      • freeformTags

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

        public EventSummary.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
      • systemTags

        public EventSummary.Builder systemTags​(Map<String,​Map<String,​Object>> systemTags)
        System tags for this resource.

        Each key is predefined and scoped to a namespace. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}

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