Interface TimeOffValidationResult.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<TimeOffValidationResult.Builder,,TimeOffValidationResult> SdkBuilder<TimeOffValidationResult.Builder,,TimeOffValidationResult> SdkPojo
- Enclosing class:
TimeOffValidationResult
-
Method Summary
Modifier and TypeMethodDescriptionThe specific reason for the validation result.code(TimeOffValidationCode code) The specific reason for the validation result.The severity of the validation result.severity(TimeOffValidationSeverity severity) The severity of the validation result.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
severity
The severity of the validation result.
WARNINGis a breach of the configured rules that is not enough to reject the request, either because of the rules configuration or because the caller sentRuleFailureActionOVERRIDE.ERRORis a reason the request was rejected.- Parameters:
severity- The severity of the validation result.WARNINGis a breach of the configured rules that is not enough to reject the request, either because of the rules configuration or because the caller sentRuleFailureActionOVERRIDE.ERRORis a reason the request was rejected.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
severity
The severity of the validation result.
WARNINGis a breach of the configured rules that is not enough to reject the request, either because of the rules configuration or because the caller sentRuleFailureActionOVERRIDE.ERRORis a reason the request was rejected.- Parameters:
severity- The severity of the validation result.WARNINGis a breach of the configured rules that is not enough to reject the request, either because of the rules configuration or because the caller sentRuleFailureActionOVERRIDE.ERRORis a reason the request was rejected.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
code
The specific reason for the validation result. New values may be added, so treat an unrecognized value as a generic failure of the reported severity.
-
INSUFFICIENT_USER_TIME_OFF_BALANCE: the user's time off balance for the activity is less than the time this request deducts. Connect Customer deducts only working time in the window. For details, see How the system calculates time off deductions in the Connect Customer Administrator Guide. -
INSUFFICIENT_GROUP_TIME_OFF_ALLOWANCE: the time off allowance of the user's forecast group or demand group for the activity is too low for this request. -
INSUFFICIENT_STAFFING_GROUP_TIME_OFF_ALLOWANCE: the daily time off allowance of the user's staffing group for the activity is too low for this request. -
CONFLICTING_TIME_OFF_REQUEST: the request overlaps another time off request for the user that isAPPROVEDor being approved. Requests inAWAITING_APPROVALdon't count. ForCreateTimeOffwithAUTOMATIC, overlapping overtime and voluntary time off also count.
- Parameters:
code- The specific reason for the validation result. New values may be added, so treat an unrecognized value as a generic failure of the reported severity.-
INSUFFICIENT_USER_TIME_OFF_BALANCE: the user's time off balance for the activity is less than the time this request deducts. Connect Customer deducts only working time in the window. For details, see How the system calculates time off deductions in the Connect Customer Administrator Guide. -
INSUFFICIENT_GROUP_TIME_OFF_ALLOWANCE: the time off allowance of the user's forecast group or demand group for the activity is too low for this request. -
INSUFFICIENT_STAFFING_GROUP_TIME_OFF_ALLOWANCE: the daily time off allowance of the user's staffing group for the activity is too low for this request. -
CONFLICTING_TIME_OFF_REQUEST: the request overlaps another time off request for the user that isAPPROVEDor being approved. Requests inAWAITING_APPROVALdon't count. ForCreateTimeOffwithAUTOMATIC, overlapping overtime and voluntary time off also count.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
code
The specific reason for the validation result. New values may be added, so treat an unrecognized value as a generic failure of the reported severity.
-
INSUFFICIENT_USER_TIME_OFF_BALANCE: the user's time off balance for the activity is less than the time this request deducts. Connect Customer deducts only working time in the window. For details, see How the system calculates time off deductions in the Connect Customer Administrator Guide. -
INSUFFICIENT_GROUP_TIME_OFF_ALLOWANCE: the time off allowance of the user's forecast group or demand group for the activity is too low for this request. -
INSUFFICIENT_STAFFING_GROUP_TIME_OFF_ALLOWANCE: the daily time off allowance of the user's staffing group for the activity is too low for this request. -
CONFLICTING_TIME_OFF_REQUEST: the request overlaps another time off request for the user that isAPPROVEDor being approved. Requests inAWAITING_APPROVALdon't count. ForCreateTimeOffwithAUTOMATIC, overlapping overtime and voluntary time off also count.
- Parameters:
code- The specific reason for the validation result. New values may be added, so treat an unrecognized value as a generic failure of the reported severity.-
INSUFFICIENT_USER_TIME_OFF_BALANCE: the user's time off balance for the activity is less than the time this request deducts. Connect Customer deducts only working time in the window. For details, see How the system calculates time off deductions in the Connect Customer Administrator Guide. -
INSUFFICIENT_GROUP_TIME_OFF_ALLOWANCE: the time off allowance of the user's forecast group or demand group for the activity is too low for this request. -
INSUFFICIENT_STAFFING_GROUP_TIME_OFF_ALLOWANCE: the daily time off allowance of the user's staffing group for the activity is too low for this request. -
CONFLICTING_TIME_OFF_REQUEST: the request overlaps another time off request for the user that isAPPROVEDor being approved. Requests inAWAITING_APPROVALdon't count. ForCreateTimeOffwithAUTOMATIC, overlapping overtime and voluntary time off also count.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-