@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.SchedulingRequestBuilder
SchedulingRequest.setAllocationRequestId(long)
@InterfaceAudience.Public @InterfaceStability.Unstable public SchedulingRequest.SchedulingRequestBuilder priority(Priority priority)
priority
of the request.priority
- priority
of the requestSchedulingRequest.SchedulingRequestBuilder
SchedulingRequest.setPriority(Priority)
@InterfaceAudience.Public @InterfaceStability.Unstable public SchedulingRequest.SchedulingRequestBuilder executionType(ExecutionTypeRequest executionType)
executionType
of the request.executionType
- executionType
of the requestSchedulingRequest.SchedulingRequestBuilder
SchedulingRequest.setExecutionType(ExecutionTypeRequest)
@InterfaceAudience.Public @InterfaceStability.Unstable public SchedulingRequest.SchedulingRequestBuilder allocationTags(Set<String> allocationTags)
allocationTags
of the request.allocationTags
- allocationsTags
of the requestSchedulingRequest.SchedulingRequestBuilder
SchedulingRequest.setAllocationTags(Set)
@InterfaceAudience.Public @InterfaceStability.Unstable public SchedulingRequest.SchedulingRequestBuilder resourceSizing(ResourceSizing resourceSizing)
executionType
of the request.resourceSizing
- resourceSizing
of the requestSchedulingRequest.SchedulingRequestBuilder
SchedulingRequest.setResourceSizing(ResourceSizing)
@InterfaceAudience.Public @InterfaceStability.Unstable public SchedulingRequest.SchedulingRequestBuilder placementConstraintExpression(PlacementConstraint placementConstraintExpression)
placementConstraintExpression
of the request.placementConstraintExpression
- placementConstraints
of
the requestSchedulingRequest.SchedulingRequestBuilder
SchedulingRequest.setPlacementConstraint(
PlacementConstraint)
@InterfaceAudience.Public @InterfaceStability.Unstable public SchedulingRequest build()
SchedulingRequest
object.SchedulingRequest
Copyright © 2022 Apache Software Foundation. All rights reserved.