Class SourceLifeCycle

java.lang.Object
com.azure.resourcemanager.dataprotection.models.SourceLifeCycle

public final class SourceLifeCycle extends Object
SourceLifeCycle

Source LifeCycle.

  • Constructor Details

    • SourceLifeCycle

      public SourceLifeCycle()
      Creates an instance of SourceLifeCycle class.
  • Method Details

    • deleteAfter

      public DeleteOption deleteAfter()
      Get the deleteAfter property: DeleteOption

      Delete Option.

      Returns:
      the deleteAfter value.
    • withDeleteAfter

      public SourceLifeCycle withDeleteAfter(DeleteOption deleteAfter)
      Set the deleteAfter property: DeleteOption

      Delete Option.

      Parameters:
      deleteAfter - the deleteAfter value to set.
      Returns:
      the SourceLifeCycle object itself.
    • sourceDataStore

      public DataStoreInfoBase sourceDataStore()
      Get the sourceDataStore property: DataStoreInfoBase

      DataStoreInfo base.

      Returns:
      the sourceDataStore value.
    • withSourceDataStore

      public SourceLifeCycle withSourceDataStore(DataStoreInfoBase sourceDataStore)
      Set the sourceDataStore property: DataStoreInfoBase

      DataStoreInfo base.

      Parameters:
      sourceDataStore - the sourceDataStore value to set.
      Returns:
      the SourceLifeCycle object itself.
    • targetDataStoreCopySettings

      public List<TargetCopySetting> targetDataStoreCopySettings()
      Get the targetDataStoreCopySettings property: The targetDataStoreCopySettings property.
      Returns:
      the targetDataStoreCopySettings value.
    • withTargetDataStoreCopySettings

      public SourceLifeCycle withTargetDataStoreCopySettings(List<TargetCopySetting> targetDataStoreCopySettings)
      Set the targetDataStoreCopySettings property: The targetDataStoreCopySettings property.
      Parameters:
      targetDataStoreCopySettings - the targetDataStoreCopySettings value to set.
      Returns:
      the SourceLifeCycle object itself.
    • validate

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