Interface CardStatus.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<CardStatus.Builder,CardStatus>,SdkBuilder<CardStatus.Builder,CardStatus>,SdkPojo
- Enclosing class:
- CardStatus
public static interface CardStatus.Builder extends SdkPojo, CopyableBuilder<CardStatus.Builder,CardStatus>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CardStatus.BuildercurrentState(String currentState)The current state of the card.CardStatus.BuildercurrentState(ExecutionStatus currentState)The current state of the card.CardStatus.BuildercurrentValue(String currentValue)The current value or result associated with the card.CardStatus.Buildersubmissions(Collection<Submission> submissions)A list of previous submissions, if the card is a form card.CardStatus.Buildersubmissions(Consumer<Submission.Builder>... submissions)A list of previous submissions, if the card is a form card.CardStatus.Buildersubmissions(Submission... submissions)A list of previous submissions, if the card is a form 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 Detail
-
currentState
CardStatus.Builder currentState(String 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:
ExecutionStatus,ExecutionStatus
-
currentState
CardStatus.Builder currentState(ExecutionStatus 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:
ExecutionStatus,ExecutionStatus
-
currentValue
CardStatus.Builder currentValue(String 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
CardStatus.Builder submissions(Collection<Submission> 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
CardStatus.Builder submissions(Submission... 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
CardStatus.Builder submissions(Consumer<Submission.Builder>... 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 to#submissions(List.) - 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:
#submissions(java.util.Collection)
-
-