Interface RejectTimeOffRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,ConnectSchedulingRequest.Builder,CopyableBuilder<RejectTimeOffRequest.Builder,,RejectTimeOffRequest> SdkBuilder<RejectTimeOffRequest.Builder,,RejectTimeOffRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
RejectTimeOffRequest
@Mutable
@NotThreadSafe
public static interface RejectTimeOffRequest.Builder
extends ConnectSchedulingRequest.Builder, SdkPojo, CopyableBuilder<RejectTimeOffRequest.Builder,RejectTimeOffRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) A description recorded with the rejection, such as the reason.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 reject.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 reject. If the time off request doesn't belong to
UserId, the operation returnsResourceNotFoundException.- Parameters:
timeOffId- The unique identifier of the time off request to reject. 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 rejection, such as the reason.
GetTimeOffdoesn't return it.- Parameters:
description- A description recorded with the rejection, such as the reason.GetTimeOffdoesn't return it.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
RejectTimeOffRequest.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
RejectTimeOffRequest.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.
-