public DeploymentStrategyBuilder( DeploymentStrategyFluent<?> fluent , DeploymentStrategy instance ){ this.fluent = fluent; fluent.withCustomParams(instance.getCustomParams()); fluent.withRecreateParams(instance.getRecreateParams()); fluent.withResources(instance.getResources()); fluent.withRollingParams(instance.getRollingParams()); fluent.withType(instance.getType()); } public DeploymentStrategyBuilder( DeploymentStrategy instance ){
public DeploymentStrategyBuilder( DeploymentStrategyFluent<?> fluent , DeploymentStrategy instance ){ this.fluent = fluent; fluent.withCustomParams(instance.getCustomParams()); fluent.withRecreateParams(instance.getRecreateParams()); fluent.withResources(instance.getResources()); fluent.withRollingParams(instance.getRollingParams()); fluent.withType(instance.getType()); } public DeploymentStrategyBuilder( DeploymentStrategy instance ){
public DeploymentStrategyBuilder(DeploymentStrategyFluent<?> fluent,DeploymentStrategy instance,Boolean validationEnabled){ this.fluent = fluent; fluent.withAnnotations(instance.getAnnotations()); fluent.withCustomParams(instance.getCustomParams()); fluent.withLabels(instance.getLabels()); fluent.withRecreateParams(instance.getRecreateParams()); fluent.withResources(instance.getResources()); fluent.withRollingParams(instance.getRollingParams()); fluent.withType(instance.getType()); this.validationEnabled = validationEnabled; } public DeploymentStrategyBuilder(DeploymentStrategy instance){