@InterfaceAudience.Public @InterfaceStability.Stable public static final class AllocateRequest.AllocateRequestBuilder extends Object
AllocateRequest with specific
options.@InterfaceAudience.Public @InterfaceStability.Stable public AllocateRequest.AllocateRequestBuilder responseId(int responseId)
responseId of the request.responseId - responseId of the requestAllocateRequest.AllocateRequestBuilderAllocateRequest.setResponseId(int)@InterfaceAudience.Public @InterfaceStability.Stable public AllocateRequest.AllocateRequestBuilder progress(float progress)
progress of the request.progress - progress of the requestAllocateRequest.AllocateRequestBuilderAllocateRequest.setProgress(float)@InterfaceAudience.Public @InterfaceStability.Stable public AllocateRequest.AllocateRequestBuilder askList(List<ResourceRequest> askList)
askList of the request.askList - askList of the requestAllocateRequest.AllocateRequestBuilderAllocateRequest.setAskList(List)@InterfaceAudience.Public @InterfaceStability.Stable public AllocateRequest.AllocateRequestBuilder releaseList(List<ContainerId> releaseList)
releaseList of the request.releaseList - releaseList of the requestAllocateRequest.AllocateRequestBuilderAllocateRequest.setReleaseList(List)@InterfaceAudience.Public @InterfaceStability.Stable public AllocateRequest.AllocateRequestBuilder resourceBlacklistRequest(ResourceBlacklistRequest resourceBlacklistRequest)
resourceBlacklistRequest of the request.resourceBlacklistRequest - resourceBlacklistRequest of the requestAllocateRequest.AllocateRequestBuilderAllocateRequest.setResourceBlacklistRequest(
ResourceBlacklistRequest)@InterfaceAudience.Public @InterfaceStability.Unstable public AllocateRequest.AllocateRequestBuilder updateRequests(List<UpdateContainerRequest> updateRequests)
updateRequests of the request.updateRequests - updateRequests of the requestAllocateRequest.AllocateRequestBuilderAllocateRequest.setUpdateRequests(List)@InterfaceAudience.Public @InterfaceStability.Unstable public AllocateRequest.AllocateRequestBuilder schedulingRequests(List<SchedulingRequest> schedulingRequests)
schedulingRequests of the request.schedulingRequests - SchedulingRequest of the requestAllocateRequest.AllocateRequestBuilderAllocateRequest.setSchedulingRequests(List)@InterfaceAudience.Public @InterfaceStability.Unstable public AllocateRequest.AllocateRequestBuilder trackingUrl(String trackingUrl)
trackingUrl of the request.trackingUrl - new tracking urlAllocateRequest.AllocateRequestBuilderAllocateRequest.setTrackingUrl(String)@InterfaceAudience.Public @InterfaceStability.Stable public AllocateRequest build()
AllocateRequest object.AllocateRequestCopyright © 2022 Apache Software Foundation. All rights reserved.