Interface ClosedDays.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ClosedDays.Builder,,ClosedDays> SdkBuilder<ClosedDays.Builder,,ClosedDays> SdkPojo
- Enclosing class:
ClosedDays
-
Method Summary
Modifier and TypeMethodDescriptioncustom(Collection<ClosedDaysRule> custom) Rules for the Custom channel.custom(Consumer<ClosedDaysRule.Builder>... custom) Rules for the Custom channel.custom(ClosedDaysRule... custom) Rules for the Custom channel.email(Collection<ClosedDaysRule> email) Rules for the Email channel.email(Consumer<ClosedDaysRule.Builder>... email) Rules for the Email channel.email(ClosedDaysRule... email) Rules for the Email channel.push(Collection<ClosedDaysRule> push) Rules for the Push channel.push(Consumer<ClosedDaysRule.Builder>... push) Rules for the Push channel.push(ClosedDaysRule... push) Rules for the Push channel.sms(Collection<ClosedDaysRule> sms) Rules for the SMS channel.sms(Consumer<ClosedDaysRule.Builder>... sms) Rules for the SMS channel.sms(ClosedDaysRule... sms) Rules for the SMS channel.voice(Collection<ClosedDaysRule> voice) Rules for the Voice channel.voice(Consumer<ClosedDaysRule.Builder>... voice) Rules for the Voice channel.voice(ClosedDaysRule... voice) Rules for the Voice channel.Methods 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, sdkFields
-
Method Details
-
email
Rules for the Email channel.
- Parameters:
email- Rules for the Email channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
email
Rules for the Email channel.
- Parameters:
email- Rules for the Email channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
email
Rules for the Email channel.
This is a convenience method that creates an instance of theClosedDaysRule.Builderavoiding the need to create one manually viaClosedDaysRule.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toemail(List<ClosedDaysRule>).- Parameters:
email- a consumer that will call methods onClosedDaysRule.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sms
Rules for the SMS channel.
- Parameters:
sms- Rules for the SMS channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sms
Rules for the SMS channel.
- Parameters:
sms- Rules for the SMS channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sms
Rules for the SMS channel.
This is a convenience method that creates an instance of theClosedDaysRule.Builderavoiding the need to create one manually viaClosedDaysRule.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosms(List<ClosedDaysRule>).- Parameters:
sms- a consumer that will call methods onClosedDaysRule.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
push
Rules for the Push channel.
- Parameters:
push- Rules for the Push channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
push
Rules for the Push channel.
- Parameters:
push- Rules for the Push channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
push
Rules for the Push channel.
This is a convenience method that creates an instance of theClosedDaysRule.Builderavoiding the need to create one manually viaClosedDaysRule.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topush(List<ClosedDaysRule>).- Parameters:
push- a consumer that will call methods onClosedDaysRule.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
voice
Rules for the Voice channel.
- Parameters:
voice- Rules for the Voice channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
voice
Rules for the Voice channel.
- Parameters:
voice- Rules for the Voice channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
voice
Rules for the Voice channel.
This is a convenience method that creates an instance of theClosedDaysRule.Builderavoiding the need to create one manually viaClosedDaysRule.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovoice(List<ClosedDaysRule>).- Parameters:
voice- a consumer that will call methods onClosedDaysRule.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
custom
Rules for the Custom channel.
- Parameters:
custom- Rules for the Custom channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
custom
Rules for the Custom channel.
- Parameters:
custom- Rules for the Custom channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
custom
Rules for the Custom channel.
This is a convenience method that creates an instance of theClosedDaysRule.Builderavoiding the need to create one manually viaClosedDaysRule.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocustom(List<ClosedDaysRule>).- Parameters:
custom- a consumer that will call methods onClosedDaysRule.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-