@InterfaceAudience.Public @InterfaceStability.Unstable public abstract class UpdateApplicationTimeoutsRequest extends Object
The request sent by the client to the ResourceManager
to set or
update the application timeout.
The request includes the ApplicationId
of the application and timeout
to be set for an application
Constructor and Description |
---|
UpdateApplicationTimeoutsRequest() |
Modifier and Type | Method and Description |
---|---|
abstract ApplicationId |
getApplicationId()
Get the
ApplicationId of the application. |
abstract Map<ApplicationTimeoutType,String> |
getApplicationTimeouts()
Get
ApplicationTimeouts of the application. |
static UpdateApplicationTimeoutsRequest |
newInstance(ApplicationId applicationId,
Map<ApplicationTimeoutType,String> applicationTimeouts) |
abstract void |
setApplicationId(ApplicationId applicationId)
Set the
ApplicationId of the application. |
abstract void |
setApplicationTimeouts(Map<ApplicationTimeoutType,String> applicationTimeouts)
Set the
ApplicationTimeouts for the application. |
public static UpdateApplicationTimeoutsRequest newInstance(ApplicationId applicationId, Map<ApplicationTimeoutType,String> applicationTimeouts)
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 Map<ApplicationTimeoutType,String> getApplicationTimeouts()
ApplicationTimeouts
of the application. Timeout value is
in ISO8601 standard with format yyyy-MM-dd'T'HH:mm:ss.SSSZ.ApplicationTimeouts
of the application.public abstract void setApplicationTimeouts(Map<ApplicationTimeoutType,String> applicationTimeouts)
ApplicationTimeouts
for the application. Timeout value
is absolute. Timeout value should meet ISO8601 format. Support ISO8601
format is yyyy-MM-dd'T'HH:mm:ss.SSSZ. All pre-existing Map entries
are cleared before adding the new Map.applicationTimeouts
- ApplicationTimeouts
s for the
applicationCopyright © 2024 Apache Software Foundation. All rights reserved.