Class UpdateLongTermBackupDetails.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • displayName

        public UpdateLongTermBackupDetails.Builder displayName​(String displayName)
        A user provided name for the long term backup.

        The ‘displayName’ does not have to be unique, and it can be modified. Avoid entering confidential information.

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

        public UpdateLongTermBackupDetails.Builder retentionPeriod​(List<RetentionPeriodValue> retentionPeriod)
        The maximum period to retain the long-term backup.

        Specify the retention period type and the duration for the long-term backup. If you have chosen the retention period type as ‘DAYS’, then specify a duration ranging from 90 days to 3650 days. If you have chosen the retention period type as ‘YEARS’, then specify a duration ranging from 1 year to 10 years.

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

        public UpdateLongTermBackupDetails.Builder freeformTags​(Map<String,​String> freeformTags)
        Simple key-value pair that is applied without any predefined name, type or scope.

        Exists for cross-compatibility only. Example: {“bar-key”: “value”}

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

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

        Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}. For more information, see Resource Tags

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