RuntimeScriptAction Class

  • java.lang.Object
    • com.azure.resourcemanager.hdinsight.models.RuntimeScriptAction

public class RuntimeScriptAction

Describes a script action on a running cluster.

Constructor Summary

Constructor Description
RuntimeScriptAction()

Creates an instance of RuntimeScriptAction class.

Method Summary

Modifier and Type Method and Description
String applicationName()

Get the applicationName property: The application name of the script action, if any.

String name()

Get the name property: The name of the script action.

String parameters()

Get the parameters property: The parameters for the script.

List<String> roles()

Get the roles property: The list of roles where script will be executed.

String uri()

Get the uri property: The URI to the script.

void validate()

Validates the instance.

RuntimeScriptAction withName(String name)

Set the name property: The name of the script action.

RuntimeScriptAction withParameters(String parameters)

Set the parameters property: The parameters for the script.

RuntimeScriptAction withRoles(List<String> roles)

Set the roles property: The list of roles where script will be executed.

RuntimeScriptAction withUri(String uri)

Set the uri property: The URI to the script.

Methods inherited from java.lang.Object

Constructor Details

RuntimeScriptAction

public RuntimeScriptAction()

Creates an instance of RuntimeScriptAction class.

Method Details

applicationName

public String applicationName()

Get the applicationName property: The application name of the script action, if any.

Returns:

the applicationName value.

name

public String name()

Get the name property: The name of the script action.

Returns:

the name value.

parameters

public String parameters()

Get the parameters property: The parameters for the script.

Returns:

the parameters value.

roles

public List roles()

Get the roles property: The list of roles where script will be executed.

Returns:

the roles value.

uri

public String uri()

Get the uri property: The URI to the script.

Returns:

the uri value.

validate

public void validate()

Validates the instance.

withName

public RuntimeScriptAction withName(String name)

Set the name property: The name of the script action.

Parameters:

name - the name value to set.

Returns:

the RuntimeScriptAction object itself.

withParameters

public RuntimeScriptAction withParameters(String parameters)

Set the parameters property: The parameters for the script.

Parameters:

parameters - the parameters value to set.

Returns:

the RuntimeScriptAction object itself.

withRoles

public RuntimeScriptAction withRoles(List roles)

Set the roles property: The list of roles where script will be executed.

Parameters:

roles - the roles value to set.

Returns:

the RuntimeScriptAction object itself.

withUri

public RuntimeScriptAction withUri(String uri)

Set the uri property: The URI to the script.

Parameters:

uri - the uri value to set.

Returns:

the RuntimeScriptAction object itself.

Applies to