Class Update.Builder

  • Enclosing class:
    Update

    public static class Update.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • id

        public Update.Builder id​(String id)
        The OCID of the maintenance update.
        Parameters:
        id - the value to set
        Returns:
        this builder
      • description

        public Update.Builder description​(String description)
        Details of the maintenance update package.
        Parameters:
        description - the value to set
        Returns:
        this builder
      • lastAction

        public Update.Builder lastAction​(Update.LastAction lastAction)
        The previous update action performed.
        Parameters:
        lastAction - the value to set
        Returns:
        this builder
      • availableActions

        public Update.Builder availableActions​(List<Update.AvailableActions> availableActions)
        The possible actions performed by the update operation on the infrastructure components.
        Parameters:
        availableActions - the value to set
        Returns:
        this builder
      • updateType

        public Update.Builder updateType​(Update.UpdateType updateType)
        The type of cloud VM cluster maintenance update.
        Parameters:
        updateType - the value to set
        Returns:
        this builder
      • lifecycleDetails

        public Update.Builder lifecycleDetails​(String lifecycleDetails)
        Descriptive text providing additional details about the lifecycle state.
        Parameters:
        lifecycleDetails - the value to set
        Returns:
        this builder
      • lifecycleState

        public Update.Builder lifecycleState​(Update.LifecycleState lifecycleState)
        The current state of the maintenance update.

        Dependent on value of lastAction.

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

        public Update.Builder timeReleased​(Date timeReleased)
        The date and time the maintenance update was released.
        Parameters:
        timeReleased - the value to set
        Returns:
        this builder
      • version

        public Update.Builder version​(String version)
        The version of the maintenance update package.
        Parameters:
        version - the value to set
        Returns:
        this builder
      • build

        public Update build()