Compartir vía


RunCommandParameterDefinition Class

  • java.lang.Object
    • com.microsoft.azure.management.compute.RunCommandParameterDefinition

public class RunCommandParameterDefinition

Describes the properties of a run command parameter.

Method Summary

Modifier and Type Method and Description
String defaultValue()

Get the defaultValue value.

String name()

Get the name value.

Boolean required()

Get the required value.

String type()

Get the type value.

RunCommandParameterDefinition withDefaultValue(String defaultValue)

Set the defaultValue value.

RunCommandParameterDefinition withName(String name)

Set the name value.

RunCommandParameterDefinition withRequired(Boolean required)

Set the required value.

RunCommandParameterDefinition withType(String type)

Set the type value.

Method Details

defaultValue

public String defaultValue()

Get the defaultValue value.

Returns:

the defaultValue value

name

public String name()

Get the name value.

Returns:

the name value

required

public Boolean required()

Get the required value.

Returns:

the required value

type

public String type()

Get the type value.

Returns:

the type value

withDefaultValue

public RunCommandParameterDefinition withDefaultValue(String defaultValue)

Set the defaultValue value.

Parameters:

defaultValue - the defaultValue value to set

Returns:

the RunCommandParameterDefinition object itself.

withName

public RunCommandParameterDefinition withName(String name)

Set the name value.

Parameters:

name - the name value to set

Returns:

the RunCommandParameterDefinition object itself.

withRequired

public RunCommandParameterDefinition withRequired(Boolean required)

Set the required value.

Parameters:

required - the required value to set

Returns:

the RunCommandParameterDefinition object itself.

withType

public RunCommandParameterDefinition withType(String type)

Set the type value.

Parameters:

type - the type value to set

Returns:

the RunCommandParameterDefinition object itself.

Applies to