Class ManagementPolicySnapShot

java.lang.Object
com.azure.resourcemanager.storage.models.ManagementPolicySnapShot

public final class ManagementPolicySnapShot extends Object
Management policy action for snapshot.
  • Constructor Details

    • ManagementPolicySnapShot

      public ManagementPolicySnapShot()
  • Method Details

    • tierToCool

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

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

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

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

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

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

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