@Public
@Stable
public static final class AllocateRequest.AllocateRequestBuilder
extends java.lang.Object
AllocateRequest with specific
options.| Modifier and Type | Method | Description |
|---|---|---|
AllocateRequest.AllocateRequestBuilder |
askList(java.util.List<ResourceRequest> askList) |
Set the
askList of the request. |
AllocateRequest |
build() |
Return generated
AllocateRequest object. |
AllocateRequest.AllocateRequestBuilder |
progress(float progress) |
Set the
progress of the request. |
AllocateRequest.AllocateRequestBuilder |
releaseList(java.util.List<ContainerId> releaseList) |
Set the
releaseList of the request. |
AllocateRequest.AllocateRequestBuilder |
resourceBlacklistRequest(ResourceBlacklistRequest resourceBlacklistRequest) |
Set the
resourceBlacklistRequest of the request. |
AllocateRequest.AllocateRequestBuilder |
responseId(int responseId) |
Set the
responseId of the request. |
AllocateRequest.AllocateRequestBuilder |
schedulingRequests(java.util.List<SchedulingRequest> schedulingRequests) |
Set the
schedulingRequests of the request. |
AllocateRequest.AllocateRequestBuilder |
trackingUrl(java.lang.String trackingUrl) |
Set the
trackingUrl of the request. |
AllocateRequest.AllocateRequestBuilder |
updateRequests(java.util.List<UpdateContainerRequest> updateRequests) |
Set the
updateRequests of the request. |
@Public @Stable public AllocateRequest.AllocateRequestBuilder responseId(int responseId)
responseId of the request.responseId - responseId of the requestAllocateRequest.AllocateRequestBuilderAllocateRequest.setResponseId(int)@Public @Stable public AllocateRequest.AllocateRequestBuilder progress(float progress)
progress of the request.progress - progress of the requestAllocateRequest.AllocateRequestBuilderAllocateRequest.setProgress(float)@Public @Stable public AllocateRequest.AllocateRequestBuilder askList(java.util.List<ResourceRequest> askList)
askList of the request.askList - askList of the requestAllocateRequest.AllocateRequestBuilderAllocateRequest.setAskList(List)@Public @Stable public AllocateRequest.AllocateRequestBuilder releaseList(java.util.List<ContainerId> releaseList)
releaseList of the request.releaseList - releaseList of the requestAllocateRequest.AllocateRequestBuilderAllocateRequest.setReleaseList(List)@Public @Stable public AllocateRequest.AllocateRequestBuilder resourceBlacklistRequest(ResourceBlacklistRequest resourceBlacklistRequest)
resourceBlacklistRequest of the request.resourceBlacklistRequest - resourceBlacklistRequest of the requestAllocateRequest.AllocateRequestBuilderAllocateRequest.setResourceBlacklistRequest(
ResourceBlacklistRequest)@Public @Unstable public AllocateRequest.AllocateRequestBuilder updateRequests(java.util.List<UpdateContainerRequest> updateRequests)
updateRequests of the request.updateRequests - updateRequests of the requestAllocateRequest.AllocateRequestBuilderAllocateRequest.setUpdateRequests(List)@Public @Unstable public AllocateRequest.AllocateRequestBuilder schedulingRequests(java.util.List<SchedulingRequest> schedulingRequests)
schedulingRequests of the request.schedulingRequests - SchedulingRequest of the requestAllocateRequest.AllocateRequestBuilderAllocateRequest.setSchedulingRequests(List)@Public @Unstable public AllocateRequest.AllocateRequestBuilder trackingUrl(java.lang.String trackingUrl)
trackingUrl of the request.trackingUrl - new tracking urlAllocateRequest.AllocateRequestBuilderAllocateRequest.setTrackingUrl(String)@Public @Stable public AllocateRequest build()
AllocateRequest object.AllocateRequestCopyright © 2008–2025 Apache Software Foundation. All rights reserved.