RunCommandInputParameter Class

  • java.lang.Object
    • com.azure.resourcemanager.compute.models.RunCommandInputParameter

public final class RunCommandInputParameter

Describes the properties of a run command parameter.

Constructor Summary

Constructor Description
RunCommandInputParameter()

Creates an instance of RunCommandInputParameter class.

Method Summary

Modifier and Type Method and Description
String name()

Get the name property: The run command parameter name.

void validate()

Validates the instance.

String value()

Get the value property: The run command parameter value.

RunCommandInputParameter withName(String name)

Set the name property: The run command parameter name.

RunCommandInputParameter withValue(String value)

Set the value property: The run command parameter value.

Methods inherited from java.lang.Object

Constructor Details

RunCommandInputParameter

public RunCommandInputParameter()

Creates an instance of RunCommandInputParameter class.

Method Details

name

public String name()

Get the name property: The run command parameter name.

Returns:

the name value.

validate

public void validate()

Validates the instance.

value

public String value()

Get the value property: The run command parameter value.

Returns:

the value value.

withName

public RunCommandInputParameter withName(String name)

Set the name property: The run command parameter name.

Parameters:

name - the name value to set.

Returns:

the RunCommandInputParameter object itself.

withValue

public RunCommandInputParameter withValue(String value)

Set the value property: The run command parameter value.

Parameters:

value - the value value to set.

Returns:

the RunCommandInputParameter object itself.

Applies to