Class Checkpoint


  • public final class Checkpoint
    extends Object
    Defines the resource properties.
    • Constructor Detail

      • Checkpoint

        public Checkpoint()
    • Method Detail

      • parentCheckpointId

        public String parentCheckpointId()
        Get the parentCheckpointId property: Gets ID of parent of the checkpoint.
        Returns:
        the parentCheckpointId value.
      • withParentCheckpointId

        public Checkpoint withParentCheckpointId​(String parentCheckpointId)
        Set the parentCheckpointId property: Gets ID of parent of the checkpoint.
        Parameters:
        parentCheckpointId - the parentCheckpointId value to set.
        Returns:
        the Checkpoint object itself.
      • checkpointId

        public String checkpointId()
        Get the checkpointId property: Gets ID of the checkpoint.
        Returns:
        the checkpointId value.
      • withCheckpointId

        public Checkpoint withCheckpointId​(String checkpointId)
        Set the checkpointId property: Gets ID of the checkpoint.
        Parameters:
        checkpointId - the checkpointId value to set.
        Returns:
        the Checkpoint object itself.
      • name

        public String name()
        Get the name property: Gets name of the checkpoint.
        Returns:
        the name value.
      • withName

        public Checkpoint withName​(String name)
        Set the name property: Gets name of the checkpoint.
        Parameters:
        name - the name value to set.
        Returns:
        the Checkpoint object itself.
      • description

        public String description()
        Get the description property: Gets description of the checkpoint.
        Returns:
        the description value.
      • withDescription

        public Checkpoint withDescription​(String description)
        Set the description property: Gets description of the checkpoint.
        Parameters:
        description - the description value to set.
        Returns:
        the Checkpoint object itself.
      • validate

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