ScriptActionPersistedGetResponseSpec Class
- java.
lang. Object - com.
microsoft. azure. management. hdinsight. v2018_06_01_preview. ScriptActionPersistedGetResponseSpec
- com.
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. |
Script |
withApplicationName(String applicationName)
Set the application name for the script action. |
Script |
withName(String name)
Set the name of script action. |
Script |
withParameters(String parameters)
Set the parameters for the script provided. |
Script |
withRoles(List<String> roles)
Set the list of roles where script will be executed. |
Script |
withUri(String uri)
Set the URI to the script. |
Methods inherited from java.lang.Object
Constructor Details
ScriptActionPersistedGetResponseSpec
public ScriptActionPersistedGetResponseSpec()
Method Details
applicationName
public String applicationName()
Get the application name for the script action.
Returns:
name
public String name()
Get the name of script action.
Returns:
parameters
public String parameters()
Get the parameters for the script provided.
Returns:
roles
public List
Get the list of roles where script will be executed.
Returns:
uri
public String uri()
Get the URI to the script.
Returns:
withApplicationName
public ScriptActionPersistedGetResponseSpec withApplicationName(String applicationName)
Set the application name for the script action.
Parameters:
Returns:
withName
public ScriptActionPersistedGetResponseSpec withName(String name)
Set the name of script action.
Parameters:
Returns:
withParameters
public ScriptActionPersistedGetResponseSpec withParameters(String parameters)
Set the parameters for the script provided.
Parameters:
Returns:
withRoles
public ScriptActionPersistedGetResponseSpec withRoles(List
Set the list of roles where script will be executed.
Parameters:
Returns:
withUri
public ScriptActionPersistedGetResponseSpec withUri(String uri)
Set the URI to the script.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for