@Generated(value="org.jsonschema2pojo") public class BuildSpec extends Object implements KubernetesResource
Constructor and Description |
---|
BuildSpec()
No args constructor for use in serialization
|
BuildSpec(Long completionDeadlineSeconds,
Map<String,String> nodeSelector,
BuildOutput output,
BuildPostCommitSpec postCommit,
ResourceRequirements resources,
SourceRevision revision,
String serviceAccount,
BuildSource source,
BuildStrategy strategy,
List<BuildTriggerCause> triggeredBy) |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getAdditionalProperties() |
Long |
getCompletionDeadlineSeconds() |
Map<String,String> |
getNodeSelector() |
BuildOutput |
getOutput() |
BuildPostCommitSpec |
getPostCommit() |
ResourceRequirements |
getResources() |
SourceRevision |
getRevision() |
String |
getServiceAccount() |
BuildSource |
getSource() |
BuildStrategy |
getStrategy() |
List<BuildTriggerCause> |
getTriggeredBy() |
void |
setAdditionalProperty(String name,
Object value) |
void |
setCompletionDeadlineSeconds(Long completionDeadlineSeconds) |
void |
setNodeSelector(Map<String,String> nodeSelector) |
void |
setOutput(BuildOutput output) |
void |
setPostCommit(BuildPostCommitSpec postCommit) |
void |
setResources(ResourceRequirements resources) |
void |
setRevision(SourceRevision revision) |
void |
setServiceAccount(String serviceAccount) |
void |
setSource(BuildSource source) |
void |
setStrategy(BuildStrategy strategy) |
void |
setTriggeredBy(List<BuildTriggerCause> triggeredBy) |
public BuildSpec()
public BuildSpec(Long completionDeadlineSeconds, Map<String,String> nodeSelector, BuildOutput output, BuildPostCommitSpec postCommit, ResourceRequirements resources, SourceRevision revision, String serviceAccount, BuildSource source, BuildStrategy strategy, List<BuildTriggerCause> triggeredBy)
output
- completionDeadlineSeconds
- resources
- serviceAccount
- source
- postCommit
- strategy
- nodeSelector
- revision
- triggeredBy
- public Long getCompletionDeadlineSeconds()
public void setCompletionDeadlineSeconds(Long completionDeadlineSeconds)
completionDeadlineSeconds
- The completionDeadlineSecondspublic void setNodeSelector(Map<String,String> nodeSelector)
nodeSelector
- The nodeSelectorpublic BuildOutput getOutput()
public void setOutput(BuildOutput output)
output
- The outputpublic BuildPostCommitSpec getPostCommit()
public void setPostCommit(BuildPostCommitSpec postCommit)
postCommit
- The postCommitpublic ResourceRequirements getResources()
public void setResources(ResourceRequirements resources)
resources
- The resourcespublic SourceRevision getRevision()
public void setRevision(SourceRevision revision)
revision
- The revisionpublic String getServiceAccount()
public void setServiceAccount(String serviceAccount)
serviceAccount
- The serviceAccountpublic BuildSource getSource()
public void setSource(BuildSource source)
source
- The sourcepublic BuildStrategy getStrategy()
public void setStrategy(BuildStrategy strategy)
strategy
- The strategypublic List<BuildTriggerCause> getTriggeredBy()
public void setTriggeredBy(List<BuildTriggerCause> triggeredBy)
triggeredBy
- The triggeredByCopyright © 2015–2020 Red Hat. All rights reserved.