Interface AssociateHoursOfOperationsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,ConnectRequest.Builder,CopyableBuilder<AssociateHoursOfOperationsRequest.Builder,,AssociateHoursOfOperationsRequest> SdkBuilder<AssociateHoursOfOperationsRequest.Builder,,AssociateHoursOfOperationsRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
AssociateHoursOfOperationsRequest
-
Method Summary
Modifier and TypeMethodDescriptionhoursOfOperationId(String hoursOfOperationId) The identifier of the child hours of operation.instanceId(String instanceId) The identifier of the Amazon Connect instance.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.parentHoursOfOperationConfigs(Collection<ParentHoursOfOperationConfig> parentHoursOfOperationConfigs) The Amazon Resource Names (ARNs) of the parent hours of operation resources to associate with the child hours of operation resource.parentHoursOfOperationConfigs(Consumer<ParentHoursOfOperationConfig.Builder>... parentHoursOfOperationConfigs) The Amazon Resource Names (ARNs) of the parent hours of operation resources to associate with the child hours of operation resource.parentHoursOfOperationConfigs(ParentHoursOfOperationConfig... parentHoursOfOperationConfigs) The Amazon Resource Names (ARNs) of the parent hours of operation resources to associate with the child hours of operation resource.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.connect.model.ConnectRequest.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 Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- Parameters:
instanceId- The identifier of the Amazon Connect 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.
-
hoursOfOperationId
The identifier of the child hours of operation.
- Parameters:
hoursOfOperationId- The identifier of the child hours of operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parentHoursOfOperationConfigs
AssociateHoursOfOperationsRequest.Builder parentHoursOfOperationConfigs(Collection<ParentHoursOfOperationConfig> parentHoursOfOperationConfigs) The Amazon Resource Names (ARNs) of the parent hours of operation resources to associate with the child hours of operation resource.
- Parameters:
parentHoursOfOperationConfigs- The Amazon Resource Names (ARNs) of the parent hours of operation resources to associate with the child hours of operation resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parentHoursOfOperationConfigs
AssociateHoursOfOperationsRequest.Builder parentHoursOfOperationConfigs(ParentHoursOfOperationConfig... parentHoursOfOperationConfigs) The Amazon Resource Names (ARNs) of the parent hours of operation resources to associate with the child hours of operation resource.
- Parameters:
parentHoursOfOperationConfigs- The Amazon Resource Names (ARNs) of the parent hours of operation resources to associate with the child hours of operation resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parentHoursOfOperationConfigs
AssociateHoursOfOperationsRequest.Builder parentHoursOfOperationConfigs(Consumer<ParentHoursOfOperationConfig.Builder>... parentHoursOfOperationConfigs) The Amazon Resource Names (ARNs) of the parent hours of operation resources to associate with the child hours of operation resource.
This is a convenience method that creates an instance of theParentHoursOfOperationConfig.Builderavoiding the need to create one manually viaParentHoursOfOperationConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toparentHoursOfOperationConfigs(List<ParentHoursOfOperationConfig>).- Parameters:
parentHoursOfOperationConfigs- a consumer that will call methods onParentHoursOfOperationConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
AssociateHoursOfOperationsRequest.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
AssociateHoursOfOperationsRequest.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.
-