Class TargetCopySetting


  • public final class TargetCopySetting
    extends Object
    TargetCopySetting Target copy settings.
    • Constructor Detail

      • TargetCopySetting

        public TargetCopySetting()
    • Method Detail

      • copyAfter

        public CopyOption copyAfter()
        Get the copyAfter property: CopyOption It can be CustomCopyOption or ImmediateCopyOption.
        Returns:
        the copyAfter value.
      • withCopyAfter

        public TargetCopySetting withCopyAfter​(CopyOption copyAfter)
        Set the copyAfter property: CopyOption It can be CustomCopyOption or ImmediateCopyOption.
        Parameters:
        copyAfter - the copyAfter value to set.
        Returns:
        the TargetCopySetting object itself.
      • dataStore

        public DataStoreInfoBase dataStore()
        Get the dataStore property: DataStoreInfoBase Info of target datastore.
        Returns:
        the dataStore value.
      • withDataStore

        public TargetCopySetting withDataStore​(DataStoreInfoBase dataStore)
        Set the dataStore property: DataStoreInfoBase Info of target datastore.
        Parameters:
        dataStore - the dataStore value to set.
        Returns:
        the TargetCopySetting object itself.
      • validate

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