Interface CardStatus.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CardStatus.Builder,,CardStatus> SdkBuilder<CardStatus.Builder,,CardStatus> SdkPojo
- Enclosing class:
CardStatus
@Mutable
@NotThreadSafe
public static interface CardStatus.Builder
extends SdkPojo, CopyableBuilder<CardStatus.Builder,CardStatus>
-
Method Summary
Modifier and TypeMethodDescriptioncurrentState(String currentState) The current state of the card.currentState(ExecutionStatus currentState) The current state of the card.currentValue(String currentValue) The current value or result associated with the card.submissions(Collection<Submission> submissions) A list of previous submissions, if the card is a form card.submissions(Consumer<Submission.Builder>... submissions) A list of previous submissions, if the card is a form card.submissions(Submission... submissions) A list of previous submissions, if the card is a form card.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
currentState
The current state of the card.
- Parameters:
currentState- The current state of the card.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
currentState
The current state of the card.
- Parameters:
currentState- The current state of the card.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
currentValue
The current value or result associated with the card.
- Parameters:
currentValue- The current value or result associated with the card.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
submissions
A list of previous submissions, if the card is a form card.
- Parameters:
submissions- A list of previous submissions, if the card is a form card.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
submissions
A list of previous submissions, if the card is a form card.
- Parameters:
submissions- A list of previous submissions, if the card is a form card.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
submissions
A list of previous submissions, if the card is a form card.
This is a convenience method that creates an instance of theSubmission.Builderavoiding the need to create one manually viaSubmission.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosubmissions(List<Submission>).- Parameters:
submissions- a consumer that will call methods onSubmission.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-