Interface CreateHoursOfOperationOverrideRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,ConnectRequest.Builder,CopyableBuilder<CreateHoursOfOperationOverrideRequest.Builder,,CreateHoursOfOperationOverrideRequest> SdkBuilder<CreateHoursOfOperationOverrideRequest.Builder,,CreateHoursOfOperationOverrideRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateHoursOfOperationOverrideRequest
-
Method Summary
Modifier and TypeMethodDescriptionConfiguration information for the hours of operation override: day, start time, and end time.config(Consumer<HoursOfOperationOverrideConfig.Builder>... config) Configuration information for the hours of operation override: day, start time, and end time.config(HoursOfOperationOverrideConfig... config) Configuration information for the hours of operation override: day, start time, and end time.description(String description) The description of the hours of operation override.effectiveFrom(String effectiveFrom) The date from when the hours of operation override is effective.effectiveTill(String effectiveTill) The date until when the hours of operation override is effective.hoursOfOperationId(String hoursOfOperationId) The identifier for the hours of operationinstanceId(String instanceId) The identifier of the Amazon Connect instance.The name of the hours of operation override.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.overrideType(String overrideType) Whether the override will be defined as a standard or as a recurring event.overrideType(OverrideType overrideType) Whether the override will be defined as a standard or as a recurring event.recurrenceConfig(Consumer<RecurrenceConfig.Builder> recurrenceConfig) Configuration for a recurring event.recurrenceConfig(RecurrenceConfig recurrenceConfig) Configuration for a recurring event.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.
- Parameters:
instanceId- The identifier of the Amazon Connect instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hoursOfOperationId
The identifier for the hours of operation
- Parameters:
hoursOfOperationId- The identifier for the hours of operation- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the hours of operation override.
- Parameters:
name- The name of the hours of operation override.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the hours of operation override.
- Parameters:
description- The description of the hours of operation override.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
config
CreateHoursOfOperationOverrideRequest.Builder config(Collection<HoursOfOperationOverrideConfig> config) Configuration information for the hours of operation override: day, start time, and end time.
- Parameters:
config- Configuration information for the hours of operation override: day, start time, and end time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
config
Configuration information for the hours of operation override: day, start time, and end time.
- Parameters:
config- Configuration information for the hours of operation override: day, start time, and end time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
config
CreateHoursOfOperationOverrideRequest.Builder config(Consumer<HoursOfOperationOverrideConfig.Builder>... config) Configuration information for the hours of operation override: day, start time, and end time.
This is a convenience method that creates an instance of theHoursOfOperationOverrideConfig.Builderavoiding the need to create one manually viaHoursOfOperationOverrideConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconfig(List<HoursOfOperationOverrideConfig>).- Parameters:
config- a consumer that will call methods onHoursOfOperationOverrideConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
effectiveFrom
The date from when the hours of operation override is effective.
- Parameters:
effectiveFrom- The date from when the hours of operation override is effective.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
effectiveTill
The date until when the hours of operation override is effective.
- Parameters:
effectiveTill- The date until when the hours of operation override is effective.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recurrenceConfig
Configuration for a recurring event.
- Parameters:
recurrenceConfig- Configuration for a recurring event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recurrenceConfig
default CreateHoursOfOperationOverrideRequest.Builder recurrenceConfig(Consumer<RecurrenceConfig.Builder> recurrenceConfig) Configuration for a recurring event.
This is a convenience method that creates an instance of theRecurrenceConfig.Builderavoiding the need to create one manually viaRecurrenceConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torecurrenceConfig(RecurrenceConfig).- Parameters:
recurrenceConfig- a consumer that will call methods onRecurrenceConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideType
Whether the override will be defined as a standard or as a recurring event.
For more information about how override types are applied, see Build your list of overrides in the Administrator Guide.
- Parameters:
overrideType- Whether the override will be defined as a standard or as a recurring event.For more information about how override types are applied, see Build your list of overrides in the Administrator Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideType
Whether the override will be defined as a standard or as a recurring event.
For more information about how override types are applied, see Build your list of overrides in the Administrator Guide.
- Parameters:
overrideType- Whether the override will be defined as a standard or as a recurring event.For more information about how override types are applied, see Build your list of overrides in the Administrator Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateHoursOfOperationOverrideRequest.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
CreateHoursOfOperationOverrideRequest.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.
-