Class ManagementPolicyAction


  • public final class ManagementPolicyAction
    extends Object
    Actions are applied to the filtered blobs when the execution condition is met.
    • Constructor Detail

      • ManagementPolicyAction

        public ManagementPolicyAction()
    • Method Detail

      • baseBlob

        public ManagementPolicyBaseBlob baseBlob()
        Get the baseBlob property: The management policy action for base blob.
        Returns:
        the baseBlob value.
      • withBaseBlob

        public ManagementPolicyAction withBaseBlob​(ManagementPolicyBaseBlob baseBlob)
        Set the baseBlob property: The management policy action for base blob.
        Parameters:
        baseBlob - the baseBlob value to set.
        Returns:
        the ManagementPolicyAction object itself.
      • snapshot

        public ManagementPolicySnapShot snapshot()
        Get the snapshot property: The management policy action for snapshot.
        Returns:
        the snapshot value.
      • withSnapshot

        public ManagementPolicyAction withSnapshot​(ManagementPolicySnapShot snapshot)
        Set the snapshot property: The management policy action for snapshot.
        Parameters:
        snapshot - the snapshot value to set.
        Returns:
        the ManagementPolicyAction object itself.
      • version

        public ManagementPolicyVersion version()
        Get the version property: The management policy action for version.
        Returns:
        the version value.
      • withVersion

        public ManagementPolicyAction withVersion​(ManagementPolicyVersion version)
        Set the version property: The management policy action for version.
        Parameters:
        version - the version value to set.
        Returns:
        the ManagementPolicyAction object itself.
      • validate

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