Class ClusterRestoreStatus.Builder

    • Constructor Detail

      • Builder

        public Builder()
        Constructor with parameters for the required properties of ClusterRestoreStatus.
    • Method Detail

      • setAllowedActions

        public ClusterRestoreStatus.Builder setAllowedActions​(java.util.List<java.lang.String> allowedActions)
        List of actions that are allowed. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
        Parameters:
        allowedActions - New value for the property.
      • setBackupTimestamp

        public ClusterRestoreStatus.Builder setBackupTimestamp​(java.lang.Long backupTimestamp)
        Timestamp when backup was initiated in epoch millisecond format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
        Parameters:
        backupTimestamp - New value for the property.
      • setEndpoints

        public ClusterRestoreStatus.Builder setEndpoints​(java.util.List<ResourceLink> endpoints)
        The list of allowed endpoints, based on the current state of the restore process This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
        Parameters:
        endpoints - New value for the property.
      • setId

        public ClusterRestoreStatus.Builder setId​(java.lang.String id)
        Unique id for backup request This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
        Parameters:
        id - New value for the property.
      • setInstructions

        public ClusterRestoreStatus.Builder setInstructions​(java.util.List<InstructionInfo> instructions)
        Instructions for users to reconcile Restore operations This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
        Parameters:
        instructions - New value for the property.
      • setNotAllowedActions

        public ClusterRestoreStatus.Builder setNotAllowedActions​(java.util.List<java.lang.String> notAllowedActions)
        Possible values are: List of actions that are not allowed This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
        Parameters:
        notAllowedActions - New value for the property.
      • setRestoreEndTime

        public ClusterRestoreStatus.Builder setRestoreEndTime​(java.lang.Long restoreEndTime)
        Timestamp when restore was completed in epoch millisecond format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
        Parameters:
        restoreEndTime - New value for the property.
      • setRestoreStartTime

        public ClusterRestoreStatus.Builder setRestoreStartTime​(java.lang.Long restoreStartTime)
        Timestamp when restore was started in epoch millisecond format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
        Parameters:
        restoreStartTime - New value for the property.
      • setTotalSteps

        public ClusterRestoreStatus.Builder setTotalSteps​(java.lang.Long totalSteps)
        Total number of steps in the entire restore process format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
        Parameters:
        totalSteps - New value for the property.