Interface CustomActionAttachment.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<CustomActionAttachment.Builder,,- CustomActionAttachment> - SdkBuilder<CustomActionAttachment.Builder,,- CustomActionAttachment> - SdkPojo
- Enclosing class:
- CustomActionAttachment
@Mutable
@NotThreadSafe
public static interface CustomActionAttachment.Builder
extends SdkPojo, CopyableBuilder<CustomActionAttachment.Builder,CustomActionAttachment> 
- 
Method SummaryModifier and TypeMethodDescriptionbuttonText(String buttonText) The text of the button that appears on the notification.criteria(Collection<CustomActionAttachmentCriteria> criteria) The criteria for when a button should be shown based on values in the notification.criteria(Consumer<CustomActionAttachmentCriteria.Builder>... criteria) The criteria for when a button should be shown based on values in the notification.criteria(CustomActionAttachmentCriteria... criteria) The criteria for when a button should be shown based on values in the notification.notificationType(String notificationType) The type of notification that the custom action should be attached to.The variables to extract from the notification.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
notificationTypeThe type of notification that the custom action should be attached to. - Parameters:
- notificationType- The type of notification that the custom action should be attached to.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
buttonTextThe text of the button that appears on the notification. - Parameters:
- buttonText- The text of the button that appears on the notification.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
criteriaThe criteria for when a button should be shown based on values in the notification. - Parameters:
- criteria- The criteria for when a button should be shown based on values in the notification.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
criteriaThe criteria for when a button should be shown based on values in the notification. - Parameters:
- criteria- The criteria for when a button should be shown based on values in the notification.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
criteriaCustomActionAttachment.Builder criteria(Consumer<CustomActionAttachmentCriteria.Builder>... criteria) The criteria for when a button should be shown based on values in the notification. This is a convenience method that creates an instance of theCustomActionAttachmentCriteria.Builderavoiding the need to create one manually viaCustomActionAttachmentCriteria.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocriteria(List<CustomActionAttachmentCriteria>).- Parameters:
- criteria- a consumer that will call methods on- CustomActionAttachmentCriteria.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
variablesThe variables to extract from the notification. - Parameters:
- variables- The variables to extract from the notification.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
 
-