Package io.fabric8.openshift.api.model
Class DeploymentConfigRollbackSpec
- java.lang.Object
-
- io.fabric8.openshift.api.model.DeploymentConfigRollbackSpec
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<DeploymentConfigRollbackSpecBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class DeploymentConfigRollbackSpec extends Object implements io.fabric8.kubernetes.api.builder.Editable<DeploymentConfigRollbackSpecBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
DeploymentConfigRollbackSpec represents the options for rollback generation.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DeploymentConfigRollbackSpec()No args constructor for use in serializationDeploymentConfigRollbackSpec(io.fabric8.kubernetes.api.model.ObjectReference from, Boolean includeReplicationMeta, Boolean includeStrategy, Boolean includeTemplate, Boolean includeTriggers, Long revision)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DeploymentConfigRollbackSpecBuilderedit()Map<String,Object>getAdditionalProperties()io.fabric8.kubernetes.api.model.ObjectReferencegetFrom()DeploymentConfigRollbackSpec represents the options for rollback generation.BooleangetIncludeReplicationMeta()includeReplicationMeta specifies whether to include the replica count and selector.BooleangetIncludeStrategy()includeStrategy specifies whether to include the deployment Strategy.BooleangetIncludeTemplate()includeTemplate specifies whether to include the PodTemplateSpec.BooleangetIncludeTriggers()includeTriggers specifies whether to include config Triggers.LonggetRevision()revision to rollback to.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetFrom(io.fabric8.kubernetes.api.model.ObjectReference from)DeploymentConfigRollbackSpec represents the options for rollback generation.voidsetIncludeReplicationMeta(Boolean includeReplicationMeta)includeReplicationMeta specifies whether to include the replica count and selector.voidsetIncludeStrategy(Boolean includeStrategy)includeStrategy specifies whether to include the deployment Strategy.voidsetIncludeTemplate(Boolean includeTemplate)includeTemplate specifies whether to include the PodTemplateSpec.voidsetIncludeTriggers(Boolean includeTriggers)includeTriggers specifies whether to include config Triggers.voidsetRevision(Long revision)revision to rollback to.DeploymentConfigRollbackSpecBuildertoBuilder()
-
-
-
Method Detail
-
getFrom
public io.fabric8.kubernetes.api.model.ObjectReference getFrom()
DeploymentConfigRollbackSpec represents the options for rollback generation.
-
setFrom
public void setFrom(io.fabric8.kubernetes.api.model.ObjectReference from)
DeploymentConfigRollbackSpec represents the options for rollback generation.
-
getIncludeReplicationMeta
public Boolean getIncludeReplicationMeta()
includeReplicationMeta specifies whether to include the replica count and selector.
-
setIncludeReplicationMeta
public void setIncludeReplicationMeta(Boolean includeReplicationMeta)
includeReplicationMeta specifies whether to include the replica count and selector.
-
getIncludeStrategy
public Boolean getIncludeStrategy()
includeStrategy specifies whether to include the deployment Strategy.
-
setIncludeStrategy
public void setIncludeStrategy(Boolean includeStrategy)
includeStrategy specifies whether to include the deployment Strategy.
-
getIncludeTemplate
public Boolean getIncludeTemplate()
includeTemplate specifies whether to include the PodTemplateSpec.
-
setIncludeTemplate
public void setIncludeTemplate(Boolean includeTemplate)
includeTemplate specifies whether to include the PodTemplateSpec.
-
getIncludeTriggers
public Boolean getIncludeTriggers()
includeTriggers specifies whether to include config Triggers.
-
setIncludeTriggers
public void setIncludeTriggers(Boolean includeTriggers)
includeTriggers specifies whether to include config Triggers.
-
getRevision
public Long getRevision()
revision to rollback to. If set to 0, rollback to the last revision.
-
setRevision
public void setRevision(Long revision)
revision to rollback to. If set to 0, rollback to the last revision.
-
edit
public DeploymentConfigRollbackSpecBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<DeploymentConfigRollbackSpecBuilder>
-
toBuilder
public DeploymentConfigRollbackSpecBuilder toBuilder()
-
-