Interface GetTimeOffRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,ConnectSchedulingRequest.Builder,CopyableBuilder<GetTimeOffRequest.Builder,,GetTimeOffRequest> SdkBuilder<GetTimeOffRequest.Builder,,GetTimeOffRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
GetTimeOffRequest
@Mutable
@NotThreadSafe
public static interface GetTimeOffRequest.Builder
extends ConnectSchedulingRequest.Builder, SdkPojo, CopyableBuilder<GetTimeOffRequest.Builder,GetTimeOffRequest>
-
Method Summary
Modifier and TypeMethodDescriptioninstanceId(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 identifier of the time off request.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 identifier of the time off request. If the time off request doesn't belong to
UserId, the operation returnsResourceNotFoundException.- Parameters:
timeOffId- The identifier of the time off request. 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.
-
overrideConfiguration
GetTimeOffRequest.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
GetTimeOffRequest.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.
-