Class RetentionLease


public class RetentionLease extends SerializableEntity
A valid retention lease prevents automated systems from deleting a pipeline run.
  • Constructor Details

    • RetentionLease

      public RetentionLease()
  • Method Details

    • getCreatedOn

      public String getCreatedOn()
    • setCreatedOn

      public void setCreatedOn(String createdOn)
    • getDefinitionId

      public int getDefinitionId()
    • setDefinitionId

      public void setDefinitionId(int definitionId)
    • getLeaseId

      public int getLeaseId()
    • setLeaseId

      public void setLeaseId(int leaseId)
    • getOwnerId

      public String getOwnerId()
    • setOwnerId

      public void setOwnerId(String ownerId)
    • isProtectPipeline

      public boolean isProtectPipeline()
    • setProtectPipeline

      public void setProtectPipeline(boolean protectPipeline)
    • getRunId

      public int getRunId()
    • setRunId

      public void setRunId(int runId)
    • getValidUntil

      public String getValidUntil()
    • setValidUntil

      public void setValidUntil(String validUntil)