Interface CommunicationTypeOptions.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<CommunicationTypeOptions.Builder,CommunicationTypeOptions>,SdkBuilder<CommunicationTypeOptions.Builder,CommunicationTypeOptions>,SdkPojo
- Enclosing class:
- CommunicationTypeOptions
public static interface CommunicationTypeOptions.Builder extends SdkPojo, CopyableBuilder<CommunicationTypeOptions.Builder,CommunicationTypeOptions>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CommunicationTypeOptions.BuilderdatesWithoutSupport(Collection<DateInterval> datesWithoutSupport)A JSON-formatted list containing date and time ranges for periods without supportCommunicationTypeOptions.BuilderdatesWithoutSupport(Consumer<DateInterval.Builder>... datesWithoutSupport)A JSON-formatted list containing date and time ranges for periods without supportCommunicationTypeOptions.BuilderdatesWithoutSupport(DateInterval... datesWithoutSupport)A JSON-formatted list containing date and time ranges for periods without supportCommunicationTypeOptions.BuildersupportedHours(Collection<SupportedHour> supportedHours)A JSON-formatted list containing time ranges when support is available.CommunicationTypeOptions.BuildersupportedHours(Consumer<SupportedHour.Builder>... supportedHours)A JSON-formatted list containing time ranges when support is available.CommunicationTypeOptions.BuildersupportedHours(SupportedHour... supportedHours)A JSON-formatted list containing time ranges when support is available.CommunicationTypeOptions.Buildertype(String type)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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
type
CommunicationTypeOptions.Builder type(String 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
CommunicationTypeOptions.Builder supportedHours(Collection<SupportedHour> 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
CommunicationTypeOptions.Builder supportedHours(SupportedHour... 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
CommunicationTypeOptions.Builder supportedHours(Consumer<SupportedHour.Builder>... supportedHours)
A JSON-formatted list containing time ranges when support is available.
This is a convenience method that creates an instance of theSupportedHour.Builderavoiding the need to create one manually viaSupportedHour.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#supportedHours(List.) - 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:
#supportedHours(java.util.Collection)
-
datesWithoutSupport
CommunicationTypeOptions.Builder datesWithoutSupport(Collection<DateInterval> 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(DateInterval... 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.Builderavoiding the need to create one manually viaDateInterval.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#datesWithoutSupport(List.) - 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:
#datesWithoutSupport(java.util.Collection)
-
-