Interface ChannelSubtypeConfig.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ChannelSubtypeConfig.Builder,ChannelSubtypeConfig>,SdkBuilder<ChannelSubtypeConfig.Builder,ChannelSubtypeConfig>,SdkPojo
- Enclosing class:
- ChannelSubtypeConfig
public static interface ChannelSubtypeConfig.Builder extends SdkPojo, CopyableBuilder<ChannelSubtypeConfig.Builder,ChannelSubtypeConfig>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ChannelSubtypeConfig.Builderemail(Consumer<EmailChannelSubtypeConfig.Builder> email)Sets the value of the Email property for this object.ChannelSubtypeConfig.Builderemail(EmailChannelSubtypeConfig email)Sets the value of the Email property for this object.default ChannelSubtypeConfig.Buildersms(Consumer<SmsChannelSubtypeConfig.Builder> sms)Sets the value of the Sms property for this object.ChannelSubtypeConfig.Buildersms(SmsChannelSubtypeConfig sms)Sets the value of the Sms property for this object.default ChannelSubtypeConfig.Buildertelephony(Consumer<TelephonyChannelSubtypeConfig.Builder> telephony)Sets the value of the Telephony property for this object.ChannelSubtypeConfig.Buildertelephony(TelephonyChannelSubtypeConfig telephony)Sets the value of the Telephony property for this object.-
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
-
telephony
ChannelSubtypeConfig.Builder telephony(TelephonyChannelSubtypeConfig telephony)
Sets the value of the Telephony property for this object.- Parameters:
telephony- The new value for the Telephony property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
telephony
default ChannelSubtypeConfig.Builder telephony(Consumer<TelephonyChannelSubtypeConfig.Builder> telephony)
Sets the value of the Telephony property for this object. This is a convenience method that creates an instance of theTelephonyChannelSubtypeConfig.Builderavoiding the need to create one manually viaTelephonyChannelSubtypeConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totelephony(TelephonyChannelSubtypeConfig).- Parameters:
telephony- a consumer that will call methods onTelephonyChannelSubtypeConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
telephony(TelephonyChannelSubtypeConfig)
-
sms
ChannelSubtypeConfig.Builder sms(SmsChannelSubtypeConfig sms)
Sets the value of the Sms property for this object.- Parameters:
sms- The new value for the Sms property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sms
default ChannelSubtypeConfig.Builder sms(Consumer<SmsChannelSubtypeConfig.Builder> sms)
Sets the value of the Sms property for this object. This is a convenience method that creates an instance of theSmsChannelSubtypeConfig.Builderavoiding the need to create one manually viaSmsChannelSubtypeConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosms(SmsChannelSubtypeConfig).- Parameters:
sms- a consumer that will call methods onSmsChannelSubtypeConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
sms(SmsChannelSubtypeConfig)
-
email
ChannelSubtypeConfig.Builder email(EmailChannelSubtypeConfig email)
Sets the value of the Email property for this object.- Parameters:
email- The new value for the Email property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
email
default ChannelSubtypeConfig.Builder email(Consumer<EmailChannelSubtypeConfig.Builder> email)
Sets the value of the Email property for this object. This is a convenience method that creates an instance of theEmailChannelSubtypeConfig.Builderavoiding the need to create one manually viaEmailChannelSubtypeConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toemail(EmailChannelSubtypeConfig).- Parameters:
email- a consumer that will call methods onEmailChannelSubtypeConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
email(EmailChannelSubtypeConfig)
-
-