@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.AllocateRequestBuilder
AllocateRequest.setResponseId(int)
@InterfaceAudience.Public @InterfaceStability.Stable public AllocateRequest.AllocateRequestBuilder progress(float progress)
progress
of the request.progress
- progress
of the requestAllocateRequest.AllocateRequestBuilder
AllocateRequest.setProgress(float)
@InterfaceAudience.Public @InterfaceStability.Stable public AllocateRequest.AllocateRequestBuilder askList(List<ResourceRequest> askList)
askList
of the request.askList
- askList
of the requestAllocateRequest.AllocateRequestBuilder
AllocateRequest.setAskList(List)
@InterfaceAudience.Public @InterfaceStability.Stable public AllocateRequest.AllocateRequestBuilder releaseList(List<ContainerId> releaseList)
releaseList
of the request.releaseList
- releaseList
of the requestAllocateRequest.AllocateRequestBuilder
AllocateRequest.setReleaseList(List)
@InterfaceAudience.Public @InterfaceStability.Stable public AllocateRequest.AllocateRequestBuilder resourceBlacklistRequest(ResourceBlacklistRequest resourceBlacklistRequest)
resourceBlacklistRequest
of the request.resourceBlacklistRequest
- resourceBlacklistRequest
of the requestAllocateRequest.AllocateRequestBuilder
AllocateRequest.setResourceBlacklistRequest(
ResourceBlacklistRequest)
@InterfaceAudience.Public @InterfaceStability.Unstable public AllocateRequest.AllocateRequestBuilder updateRequests(List<UpdateContainerRequest> updateRequests)
updateRequests
of the request.updateRequests
- updateRequests
of the requestAllocateRequest.AllocateRequestBuilder
AllocateRequest.setUpdateRequests(List)
@InterfaceAudience.Public @InterfaceStability.Unstable public AllocateRequest.AllocateRequestBuilder schedulingRequests(List<SchedulingRequest> schedulingRequests)
schedulingRequests
of the request.schedulingRequests
- SchedulingRequest
of the requestAllocateRequest.AllocateRequestBuilder
AllocateRequest.setSchedulingRequests(List)
@InterfaceAudience.Public @InterfaceStability.Unstable public AllocateRequest.AllocateRequestBuilder trackingUrl(String trackingUrl)
trackingUrl
of the request.trackingUrl
- new tracking urlAllocateRequest.AllocateRequestBuilder
AllocateRequest.setTrackingUrl(String)
@InterfaceAudience.Public @InterfaceStability.Stable public AllocateRequest build()
AllocateRequest
object.AllocateRequest
Copyright © 2019 Apache Software Foundation. All rights reserved.