/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.batch.protocol.models;
/**
* Parameters for a ComputeNodeOperations.Reimage request.
*/
public class NodeReimageParameter {
/**
* When to reimage the compute node and what to do with currently running
* tasks.
* The default value is requeue. Possible values include: 'requeue',
* 'terminate', 'taskcompletion', 'retaineddata'.
*/
private ComputeNodeReimageOption nodeReimageOption;
/**
* Get the nodeReimageOption value.
*
* @return the nodeReimageOption value
*/
public ComputeNodeReimageOption nodeReimageOption() {
return this.nodeReimageOption;
}
/**
* Set the nodeReimageOption value.
*
* @param nodeReimageOption the nodeReimageOption value to set
* @return the NodeReimageParameter object itself.
*/
public NodeReimageParameter withNodeReimageOption(ComputeNodeReimageOption nodeReimageOption) {
this.nodeReimageOption = nodeReimageOption;
return this;
}
}