Interface CancelTimeOffRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,ConnectSchedulingRequest.Builder,CopyableBuilder<CancelTimeOffRequest.Builder,,CancelTimeOffRequest> SdkBuilder<CancelTimeOffRequest.Builder,,CancelTimeOffRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CancelTimeOffRequest
@Mutable
@NotThreadSafe
public static interface CancelTimeOffRequest.Builder
extends ConnectSchedulingRequest.Builder, SdkPojo, CopyableBuilder<CancelTimeOffRequest.Builder,CancelTimeOffRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) A description recorded with the cancellation.instanceId(String instanceId) The identifier of the Connect Customer instance.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The unique identifier of the time off request to cancel.The identifier of the user who the time off request belongs to.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.connectscheduling.model.ConnectSchedulingRequest.Builder
buildMethods 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
-
instanceId
The identifier of the Connect Customer instance. This can be the ID or the ARN of the instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- Parameters:
instanceId- The identifier of the Connect Customer instance. This can be the ID or the ARN of the instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userId
The identifier of the user who the time off request belongs to. This can be the ID or the ARN of the user.
- Parameters:
userId- The identifier of the user who the time off request belongs to. This can be the ID or the ARN of the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timeOffId
The unique identifier of the time off request to cancel. If the time off request doesn't belong to
UserId, the operation returnsResourceNotFoundException.- Parameters:
timeOffId- The unique identifier of the time off request to cancel. If the time off request doesn't belong toUserId, the operation returnsResourceNotFoundException.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A description recorded with the cancellation. It replaces the description of the time off request. If you omit it, the request's description is removed.
- Parameters:
description- A description recorded with the cancellation. It replaces the description of the time off request. If you omit it, the request's description is removed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CancelTimeOffRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CancelTimeOffRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-