Interface CommunicationTypeOptions.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<CommunicationTypeOptions.Builder,
,CommunicationTypeOptions> SdkBuilder<CommunicationTypeOptions.Builder,
,CommunicationTypeOptions> SdkPojo
- Enclosing class:
CommunicationTypeOptions
-
Method Summary
Modifier and TypeMethodDescriptiondatesWithoutSupport
(Collection<DateInterval> datesWithoutSupport) A JSON-formatted list containing date and time ranges for periods without supportdatesWithoutSupport
(Consumer<DateInterval.Builder>... datesWithoutSupport) A JSON-formatted list containing date and time ranges for periods without supportdatesWithoutSupport
(DateInterval... datesWithoutSupport) A JSON-formatted list containing date and time ranges for periods without supportsupportedHours
(Collection<SupportedHour> supportedHours) A JSON-formatted list containing time ranges when support is available.supportedHours
(Consumer<SupportedHour.Builder>... supportedHours) A JSON-formatted list containing time ranges when support is available.supportedHours
(SupportedHour... supportedHours) A JSON-formatted list containing time ranges when support is available.A string value indicating the communication type.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
type
A string value indicating the communication type. At the moment the type value can assume one of 3 values at the moment chat, web and call.
- Parameters:
type
- A string value indicating the communication type. At the moment the type value can assume one of 3 values at the moment chat, web and call.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportedHours
A JSON-formatted list containing time ranges when support is available.
- Parameters:
supportedHours
- A JSON-formatted list containing time ranges when support is available.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportedHours
A JSON-formatted list containing time ranges when support is available.
- Parameters:
supportedHours
- A JSON-formatted list containing time ranges when support is available.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportedHours
A JSON-formatted list containing time ranges when support is available.
This is a convenience method that creates an instance of theSupportedHour.Builder
avoiding the need to create one manually viaSupportedHour.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosupportedHours(List<SupportedHour>)
.- Parameters:
supportedHours
- a consumer that will call methods onSupportedHour.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
datesWithoutSupport
A JSON-formatted list containing date and time ranges for periods without support
- Parameters:
datesWithoutSupport
- A JSON-formatted list containing date and time ranges for periods without support- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
datesWithoutSupport
A JSON-formatted list containing date and time ranges for periods without support
- Parameters:
datesWithoutSupport
- A JSON-formatted list containing date and time ranges for periods without support- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
datesWithoutSupport
CommunicationTypeOptions.Builder datesWithoutSupport(Consumer<DateInterval.Builder>... datesWithoutSupport) A JSON-formatted list containing date and time ranges for periods without support
This is a convenience method that creates an instance of theDateInterval.Builder
avoiding the need to create one manually viaDateInterval.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todatesWithoutSupport(List<DateInterval>)
.- Parameters:
datesWithoutSupport
- a consumer that will call methods onDateInterval.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-