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.
/** * 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.management.compute; import com.fasterxml.jackson.annotation.JsonProperty;
Describes the properties of a run command parameter.
/** * Describes the properties of a run command parameter. */
public class RunCommandParameterDefinition {
The run command parameter name.
/** * The run command parameter name. */
@JsonProperty(value = "name", required = true) private String name;
The run command parameter type.
/** * The run command parameter type. */
@JsonProperty(value = "type", required = true) private String type;
The run command parameter default value.
/** * The run command parameter default value. */
@JsonProperty(value = "defaultValue") private String defaultValue;
The run command parameter required.
/** * The run command parameter required. */
@JsonProperty(value = "required") private Boolean required;
Get the run command parameter name.
Returns:the name value
/** * Get the run command parameter name. * * @return the name value */
public String name() { return this.name; }
Set the run command parameter name.
Params:
  • name – the name value to set
Returns:the RunCommandParameterDefinition object itself.
/** * Set the run command parameter name. * * @param name the name value to set * @return the RunCommandParameterDefinition object itself. */
public RunCommandParameterDefinition withName(String name) { this.name = name; return this; }
Get the run command parameter type.
Returns:the type value
/** * Get the run command parameter type. * * @return the type value */
public String type() { return this.type; }
Set the run command parameter type.
Params:
  • type – the type value to set
Returns:the RunCommandParameterDefinition object itself.
/** * Set the run command parameter type. * * @param type the type value to set * @return the RunCommandParameterDefinition object itself. */
public RunCommandParameterDefinition withType(String type) { this.type = type; return this; }
Get the run command parameter default value.
Returns:the defaultValue value
/** * Get the run command parameter default value. * * @return the defaultValue value */
public String defaultValue() { return this.defaultValue; }
Set the run command parameter default value.
Params:
  • defaultValue – the defaultValue value to set
Returns:the RunCommandParameterDefinition object itself.
/** * Set the run command parameter default value. * * @param defaultValue the defaultValue value to set * @return the RunCommandParameterDefinition object itself. */
public RunCommandParameterDefinition withDefaultValue(String defaultValue) { this.defaultValue = defaultValue; return this; }
Get the run command parameter required.
Returns:the required value
/** * Get the run command parameter required. * * @return the required value */
public Boolean required() { return this.required; }
Set the run command parameter required.
Params:
  • required – the required value to set
Returns:the RunCommandParameterDefinition object itself.
/** * Set the run command parameter required. * * @param required the required value to set * @return the RunCommandParameterDefinition object itself. */
public RunCommandParameterDefinition withRequired(Boolean required) { this.required = required; return this; } }