Interface ListDecisionEvidenceResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,ContinuumResponse.Builder,CopyableBuilder<ListDecisionEvidenceResponse.Builder,,ListDecisionEvidenceResponse> SdkBuilder<ListDecisionEvidenceResponse.Builder,,ListDecisionEvidenceResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListDecisionEvidenceResponse
@Mutable
@NotThreadSafe
public static interface ListDecisionEvidenceResponse.Builder
extends ContinuumResponse.Builder, SdkPojo, CopyableBuilder<ListDecisionEvidenceResponse.Builder,ListDecisionEvidenceResponse>
-
Method Summary
Modifier and TypeMethodDescriptionevidence(Collection<DecisionEvidence> evidence) The evidence recorded for the decision.evidence(Consumer<DecisionEvidence.Builder>... evidence) The evidence recorded for the decision.evidence(DecisionEvidence... evidence) The evidence recorded for the decision.The token to pass in the next call to get the next page of evidence.Methods inherited from interface software.amazon.awssdk.services.continuum.model.ContinuumResponse.Builder
build, responseMetadata, responseMetadataMethods 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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
evidence
The evidence recorded for the decision.
- Parameters:
evidence- The evidence recorded for the decision.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
evidence
The evidence recorded for the decision.
- Parameters:
evidence- The evidence recorded for the decision.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
evidence
The evidence recorded for the decision.
This is a convenience method that creates an instance of theDecisionEvidence.Builderavoiding the need to create one manually viaDecisionEvidence.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toevidence(List<DecisionEvidence>).- Parameters:
evidence- a consumer that will call methods onDecisionEvidence.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token to pass in the next call to get the next page of evidence. Absent when there is no more evidence.
- Parameters:
nextToken- The token to pass in the next call to get the next page of evidence. Absent when there is no more evidence.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-