@InterfaceAudience.Public @InterfaceStability.Unstable public static final class SchedulingRequest.SchedulingRequestBuilder extends Object
SchedulingRequest with specific
options.| Modifier and Type | Method and Description |
|---|---|
SchedulingRequest.SchedulingRequestBuilder |
allocationRequestId(long allocationRequestId)
Set the
allocationRequestId of the request. |
SchedulingRequest.SchedulingRequestBuilder |
allocationTags(Set<String> allocationTags)
Set the
allocationTags of the request. |
SchedulingRequest |
build()
Return generated
SchedulingRequest object. |
SchedulingRequest.SchedulingRequestBuilder |
executionType(ExecutionTypeRequest executionType)
Set the
executionType of the request. |
SchedulingRequest.SchedulingRequestBuilder |
placementConstraintExpression(PlacementConstraint placementConstraintExpression)
Set the
placementConstraintExpression of the request. |
SchedulingRequest.SchedulingRequestBuilder |
priority(Priority priority)
Set the
priority of the request. |
SchedulingRequest.SchedulingRequestBuilder |
resourceSizing(ResourceSizing resourceSizing)
Set the
executionType of the request. |
@InterfaceAudience.Public @InterfaceStability.Unstable public SchedulingRequest.SchedulingRequestBuilder allocationRequestId(long allocationRequestId)
allocationRequestId of the request.allocationRequestId - allocationRequestId of the
requestSchedulingRequest.SchedulingRequestBuilderSchedulingRequest.setAllocationRequestId(long)@InterfaceAudience.Public @InterfaceStability.Unstable public SchedulingRequest.SchedulingRequestBuilder priority(Priority priority)
priority of the request.priority - priority of the requestSchedulingRequest.SchedulingRequestBuilderSchedulingRequest.setPriority(Priority)@InterfaceAudience.Public @InterfaceStability.Unstable public SchedulingRequest.SchedulingRequestBuilder executionType(ExecutionTypeRequest executionType)
executionType of the request.executionType - executionType of the requestSchedulingRequest.SchedulingRequestBuilderSchedulingRequest.setExecutionType(ExecutionTypeRequest)@InterfaceAudience.Public @InterfaceStability.Unstable public SchedulingRequest.SchedulingRequestBuilder allocationTags(Set<String> allocationTags)
allocationTags of the request.allocationTags - allocationsTags of the requestSchedulingRequest.SchedulingRequestBuilderSchedulingRequest.setAllocationTags(Set)@InterfaceAudience.Public @InterfaceStability.Unstable public SchedulingRequest.SchedulingRequestBuilder resourceSizing(ResourceSizing resourceSizing)
executionType of the request.resourceSizing - resourceSizing of the requestSchedulingRequest.SchedulingRequestBuilderSchedulingRequest.setResourceSizing(ResourceSizing)@InterfaceAudience.Public @InterfaceStability.Unstable public SchedulingRequest.SchedulingRequestBuilder placementConstraintExpression(PlacementConstraint placementConstraintExpression)
placementConstraintExpression of the request.placementConstraintExpression - placementConstraints of
the requestSchedulingRequest.SchedulingRequestBuilderSchedulingRequest.setPlacementConstraint(
PlacementConstraint)@InterfaceAudience.Public @InterfaceStability.Unstable public SchedulingRequest build()
SchedulingRequest object.SchedulingRequestCopyright © 2022 Apache Software Foundation. All rights reserved.