Class PrepareDataMoveRequest


  • public final class PrepareDataMoveRequest
    extends Object
    Prepare DataMove Request.
    • Constructor Detail

      • PrepareDataMoveRequest

        public PrepareDataMoveRequest()
    • Method Detail

      • targetResourceId

        public String targetResourceId()
        Get the targetResourceId property: ARM Id of target vault.
        Returns:
        the targetResourceId value.
      • withTargetResourceId

        public PrepareDataMoveRequest withTargetResourceId​(String targetResourceId)
        Set the targetResourceId property: ARM Id of target vault.
        Parameters:
        targetResourceId - the targetResourceId value to set.
        Returns:
        the PrepareDataMoveRequest object itself.
      • targetRegion

        public String targetRegion()
        Get the targetRegion property: Target Region.
        Returns:
        the targetRegion value.
      • withTargetRegion

        public PrepareDataMoveRequest withTargetRegion​(String targetRegion)
        Set the targetRegion property: Target Region.
        Parameters:
        targetRegion - the targetRegion value to set.
        Returns:
        the PrepareDataMoveRequest object itself.
      • dataMoveLevel

        public DataMoveLevel dataMoveLevel()
        Get the dataMoveLevel property: DataMove Level.
        Returns:
        the dataMoveLevel value.
      • withDataMoveLevel

        public PrepareDataMoveRequest withDataMoveLevel​(DataMoveLevel dataMoveLevel)
        Set the dataMoveLevel property: DataMove Level.
        Parameters:
        dataMoveLevel - the dataMoveLevel value to set.
        Returns:
        the PrepareDataMoveRequest object itself.
      • sourceContainerArmIds

        public List<String> sourceContainerArmIds()
        Get the sourceContainerArmIds property: Source Container ArmIds This needs to be populated only if DataMoveLevel is set to container.
        Returns:
        the sourceContainerArmIds value.
      • withSourceContainerArmIds

        public PrepareDataMoveRequest withSourceContainerArmIds​(List<String> sourceContainerArmIds)
        Set the sourceContainerArmIds property: Source Container ArmIds This needs to be populated only if DataMoveLevel is set to container.
        Parameters:
        sourceContainerArmIds - the sourceContainerArmIds value to set.
        Returns:
        the PrepareDataMoveRequest object itself.
      • ignoreMoved

        public Boolean ignoreMoved()
        Get the ignoreMoved property: Ignore the artifacts which are already moved.
        Returns:
        the ignoreMoved value.
      • withIgnoreMoved

        public PrepareDataMoveRequest withIgnoreMoved​(Boolean ignoreMoved)
        Set the ignoreMoved property: Ignore the artifacts which are already moved.
        Parameters:
        ignoreMoved - the ignoreMoved value to set.
        Returns:
        the PrepareDataMoveRequest object itself.
      • validate

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