Class ManagementPolicyVersion


  • public final class ManagementPolicyVersion
    extends Object
    Management policy action for blob version.
    • Constructor Detail

      • ManagementPolicyVersion

        public ManagementPolicyVersion()
    • Method Detail

      • tierToCool

        public DateAfterCreation tierToCool()
        Get the tierToCool property: The function to tier blob version to cool storage. Support blob version currently at Hot tier.
        Returns:
        the tierToCool value.
      • withTierToCool

        public ManagementPolicyVersion withTierToCool​(DateAfterCreation tierToCool)
        Set the tierToCool property: The function to tier blob version to cool storage. Support blob version currently at Hot tier.
        Parameters:
        tierToCool - the tierToCool value to set.
        Returns:
        the ManagementPolicyVersion object itself.
      • tierToArchive

        public DateAfterCreation tierToArchive()
        Get the tierToArchive property: The function to tier blob version to archive storage. Support blob version currently at Hot or Cool tier.
        Returns:
        the tierToArchive value.
      • withTierToArchive

        public ManagementPolicyVersion withTierToArchive​(DateAfterCreation tierToArchive)
        Set the tierToArchive property: The function to tier blob version to archive storage. Support blob version currently at Hot or Cool tier.
        Parameters:
        tierToArchive - the tierToArchive value to set.
        Returns:
        the ManagementPolicyVersion object itself.
      • delete

        public DateAfterCreation delete()
        Get the delete property: The function to delete the blob version.
        Returns:
        the delete value.
      • withDelete

        public ManagementPolicyVersion withDelete​(DateAfterCreation delete)
        Set the delete property: The function to delete the blob version.
        Parameters:
        delete - the delete value to set.
        Returns:
        the ManagementPolicyVersion object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.