Interface ChannelSubtypeParameters.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ChannelSubtypeParameters.Builder,ChannelSubtypeParameters>,SdkBuilder<ChannelSubtypeParameters.Builder,ChannelSubtypeParameters>,SdkPojo
- Enclosing class:
- ChannelSubtypeParameters
public static interface ChannelSubtypeParameters.Builder extends SdkPojo, CopyableBuilder<ChannelSubtypeParameters.Builder,ChannelSubtypeParameters>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ChannelSubtypeParameters.Builderemail(Consumer<EmailChannelSubtypeParameters.Builder> email)Sets the value of the Email property for this object.ChannelSubtypeParameters.Builderemail(EmailChannelSubtypeParameters email)Sets the value of the Email property for this object.default ChannelSubtypeParameters.Buildersms(Consumer<SmsChannelSubtypeParameters.Builder> sms)Sets the value of the Sms property for this object.ChannelSubtypeParameters.Buildersms(SmsChannelSubtypeParameters sms)Sets the value of the Sms property for this object.default ChannelSubtypeParameters.Buildertelephony(Consumer<TelephonyChannelSubtypeParameters.Builder> telephony)Sets the value of the Telephony property for this object.ChannelSubtypeParameters.Buildertelephony(TelephonyChannelSubtypeParameters 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
ChannelSubtypeParameters.Builder telephony(TelephonyChannelSubtypeParameters 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 ChannelSubtypeParameters.Builder telephony(Consumer<TelephonyChannelSubtypeParameters.Builder> telephony)
Sets the value of the Telephony property for this object. This is a convenience method that creates an instance of theTelephonyChannelSubtypeParameters.Builderavoiding the need to create one manually viaTelephonyChannelSubtypeParameters.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totelephony(TelephonyChannelSubtypeParameters).- Parameters:
telephony- a consumer that will call methods onTelephonyChannelSubtypeParameters.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
telephony(TelephonyChannelSubtypeParameters)
-
sms
ChannelSubtypeParameters.Builder sms(SmsChannelSubtypeParameters 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 ChannelSubtypeParameters.Builder sms(Consumer<SmsChannelSubtypeParameters.Builder> sms)
Sets the value of the Sms property for this object. This is a convenience method that creates an instance of theSmsChannelSubtypeParameters.Builderavoiding the need to create one manually viaSmsChannelSubtypeParameters.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosms(SmsChannelSubtypeParameters).- Parameters:
sms- a consumer that will call methods onSmsChannelSubtypeParameters.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
sms(SmsChannelSubtypeParameters)
-
email
ChannelSubtypeParameters.Builder email(EmailChannelSubtypeParameters 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 ChannelSubtypeParameters.Builder email(Consumer<EmailChannelSubtypeParameters.Builder> email)
Sets the value of the Email property for this object. This is a convenience method that creates an instance of theEmailChannelSubtypeParameters.Builderavoiding the need to create one manually viaEmailChannelSubtypeParameters.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toemail(EmailChannelSubtypeParameters).- Parameters:
email- a consumer that will call methods onEmailChannelSubtypeParameters.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
email(EmailChannelSubtypeParameters)
-
-