ScriptActionPersistedGetResponseSpec Class

  • java.lang.Object
    • com.microsoft.azure.management.hdinsight.v2018_06_01_preview.ScriptActionPersistedGetResponseSpec

public class ScriptActionPersistedGetResponseSpec

The persisted script action for cluster.

Constructor Summary

Constructor Description
ScriptActionPersistedGetResponseSpec()

Method Summary

Modifier and Type Method and Description
java.lang.String applicationName()

Get the application name for the script action.

java.lang.String name()

Get the name of script action.

java.lang.String parameters()

Get the parameters for the script provided.

java.util.List<java.lang.String> roles()

Get the list of roles where script will be executed.

java.lang.String uri()

Get the URI to the script.

ScriptActionPersistedGetResponseSpec withApplicationName(String applicationName)

Set the application name for the script action.

ScriptActionPersistedGetResponseSpec withName(String name)

Set the name of script action.

ScriptActionPersistedGetResponseSpec withParameters(String parameters)

Set the parameters for the script provided.

ScriptActionPersistedGetResponseSpec withRoles(List<String> roles)

Set the list of roles where script will be executed.

ScriptActionPersistedGetResponseSpec withUri(String uri)

Set the URI to the script.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

ScriptActionPersistedGetResponseSpec

public ScriptActionPersistedGetResponseSpec()

Method Details

applicationName

public String applicationName()

Get the application name for the script action.

Returns:

the applicationName value

name

public String name()

Get the name of script action.

Returns:

the name value

parameters

public String parameters()

Get the parameters for the script provided.

Returns:

the parameters value

roles

public List roles()

Get the list of roles where script will be executed.

Returns:

the roles value

uri

public String uri()

Get the URI to the script.

Returns:

the uri value

withApplicationName

public ScriptActionPersistedGetResponseSpec withApplicationName(String applicationName)

Set the application name for the script action.

Parameters:

applicationName - the applicationName value to set

Returns:

the ScriptActionPersistedGetResponseSpec object itself.

withName

public ScriptActionPersistedGetResponseSpec withName(String name)

Set the name of script action.

Parameters:

name - the name value to set

Returns:

the ScriptActionPersistedGetResponseSpec object itself.

withParameters

public ScriptActionPersistedGetResponseSpec withParameters(String parameters)

Set the parameters for the script provided.

Parameters:

parameters - the parameters value to set

Returns:

the ScriptActionPersistedGetResponseSpec object itself.

withRoles

public ScriptActionPersistedGetResponseSpec withRoles(List roles)

Set the list of roles where script will be executed.

Parameters:

roles - the roles value to set

Returns:

the ScriptActionPersistedGetResponseSpec object itself.

withUri

public ScriptActionPersistedGetResponseSpec withUri(String uri)

Set the URI to the script.

Parameters:

uri - the uri value to set

Returns:

the ScriptActionPersistedGetResponseSpec object itself.

Applies to