Interface InAppMessageButton.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<InAppMessageButton.Builder,
,InAppMessageButton> SdkBuilder<InAppMessageButton.Builder,
,InAppMessageButton> SdkPojo
- Enclosing class:
InAppMessageButton
-
Method Summary
Modifier and TypeMethodDescriptiondefault InAppMessageButton.Builder
Default button content.android
(OverrideButtonConfiguration android) Default button content.default InAppMessageButton.Builder
defaultConfig
(Consumer<DefaultButtonConfiguration.Builder> defaultConfig) Default button content.defaultConfig
(DefaultButtonConfiguration defaultConfig) Default button content.default InAppMessageButton.Builder
Default button content.Default button content.default InAppMessageButton.Builder
Default button content.Default button content.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 Details
-
android
Default button content.
- Parameters:
android
- Default button content.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
android
Default button content.
This is a convenience method that creates an instance of theOverrideButtonConfiguration.Builder
avoiding the need to create one manually viaOverrideButtonConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toandroid(OverrideButtonConfiguration)
.- Parameters:
android
- a consumer that will call methods onOverrideButtonConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
defaultConfig
Default button content.
- Parameters:
defaultConfig
- Default button content.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
defaultConfig
default InAppMessageButton.Builder defaultConfig(Consumer<DefaultButtonConfiguration.Builder> defaultConfig) Default button content.
This is a convenience method that creates an instance of theDefaultButtonConfiguration.Builder
avoiding the need to create one manually viaDefaultButtonConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todefaultConfig(DefaultButtonConfiguration)
.- Parameters:
defaultConfig
- a consumer that will call methods onDefaultButtonConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
ios
Default button content.
- Parameters:
ios
- Default button content.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ios
Default button content.
This is a convenience method that creates an instance of theOverrideButtonConfiguration.Builder
avoiding the need to create one manually viaOverrideButtonConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toios(OverrideButtonConfiguration)
.- Parameters:
ios
- a consumer that will call methods onOverrideButtonConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
web
Default button content.
- Parameters:
web
- Default button content.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
web
Default button content.
This is a convenience method that creates an instance of theOverrideButtonConfiguration.Builder
avoiding the need to create one manually viaOverrideButtonConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toweb(OverrideButtonConfiguration)
.- Parameters:
web
- a consumer that will call methods onOverrideButtonConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-