Interface CardValue.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<CardValue.Builder,
,CardValue> SdkBuilder<CardValue.Builder,
,CardValue> SdkPojo
- Enclosing class:
CardValue
@Mutable
@NotThreadSafe
public static interface CardValue.Builder
extends SdkPojo, CopyableBuilder<CardValue.Builder,CardValue>
-
Method Summary
Modifier and TypeMethodDescriptionThe unique identifier of the card.default CardValue.Builder
submissionMutation
(Consumer<SubmissionMutation.Builder> submissionMutation) The structure that describes how the current form card value is mutated.submissionMutation
(SubmissionMutation submissionMutation) The structure that describes how the current form card value is mutated.The value or result associated with the card.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
-
cardId
The unique identifier of the card.
- Parameters:
cardId
- The unique identifier of the card.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
value
The value or result associated with the card.
- Parameters:
value
- The value or result associated with the card.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
submissionMutation
The structure that describes how the current form card value is mutated. Only applies for form cards when multiple responses are allowed.
- Parameters:
submissionMutation
- The structure that describes how the current form card value is mutated. Only applies for form cards when multiple responses are allowed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
submissionMutation
default CardValue.Builder submissionMutation(Consumer<SubmissionMutation.Builder> submissionMutation) The structure that describes how the current form card value is mutated. Only applies for form cards when multiple responses are allowed.
This is a convenience method that creates an instance of theSubmissionMutation.Builder
avoiding the need to create one manually viaSubmissionMutation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosubmissionMutation(SubmissionMutation)
.- Parameters:
submissionMutation
- a consumer that will call methods onSubmissionMutation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-