Package org.azd.build.types
Class RetentionLease
java.lang.Object
org.azd.abstractions.serializer.SerializableEntity
org.azd.build.types.RetentionLease
A valid retention lease prevents automated systems from deleting a pipeline run.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
int
int
getRunId()
boolean
void
setCreatedOn
(String createdOn) void
setDefinitionId
(int definitionId) void
setLeaseId
(int leaseId) void
setOwnerId
(String ownerId) void
setProtectPipeline
(boolean protectPipeline) void
setRunId
(int runId) void
setValidUntil
(String validUntil) Methods inherited from class org.azd.abstractions.serializer.SerializableEntity
getResponse, toJsonTree, toString
-
Constructor Details
-
RetentionLease
public RetentionLease()
-
-
Method Details
-
getCreatedOn
-
setCreatedOn
-
getDefinitionId
public int getDefinitionId() -
setDefinitionId
public void setDefinitionId(int definitionId) -
getLeaseId
public int getLeaseId() -
setLeaseId
public void setLeaseId(int leaseId) -
getOwnerId
-
setOwnerId
-
isProtectPipeline
public boolean isProtectPipeline() -
setProtectPipeline
public void setProtectPipeline(boolean protectPipeline) -
getRunId
public int getRunId() -
setRunId
public void setRunId(int runId) -
getValidUntil
-
setValidUntil
-