@InterfaceAudience.Public @InterfaceStability.Unstable public abstract class UpdateApplicationPriorityRequest extends Object
 The request sent by the client to the ResourceManager to set or
 update the application priority.
 
 The request includes the ApplicationId of the application and
 Priority to be set for an application
 
| Constructor and Description | 
|---|
| UpdateApplicationPriorityRequest() | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract ApplicationId | getApplicationId()Get the  ApplicationIdof the application. | 
| abstract Priority | getApplicationPriority()Get the  Priorityof the application to be set. | 
| static UpdateApplicationPriorityRequest | newInstance(ApplicationId applicationId,
           Priority priority) | 
| abstract void | setApplicationId(ApplicationId applicationId)Set the  ApplicationIdof the application. | 
| abstract void | setApplicationPriority(Priority priority)Set the  Priorityof the application. | 
public static UpdateApplicationPriorityRequest newInstance(ApplicationId applicationId, Priority priority)
public abstract ApplicationId getApplicationId()
ApplicationId of the application.ApplicationId of the applicationpublic abstract void setApplicationId(ApplicationId applicationId)
ApplicationId of the application.applicationId - ApplicationId of the applicationpublic abstract Priority getApplicationPriority()
Priority of the application to be set.Priority of the application to be set.public abstract void setApplicationPriority(Priority priority)
Priority of the application.priority - Priority of the applicationCopyright © 2008–2023 Apache Software Foundation. All rights reserved.