Interface ListPackageDecisionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,ContinuumResponse.Builder,CopyableBuilder<ListPackageDecisionsResponse.Builder,,ListPackageDecisionsResponse> SdkBuilder<ListPackageDecisionsResponse.Builder,,ListPackageDecisionsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListPackageDecisionsResponse
@Mutable
@NotThreadSafe
public static interface ListPackageDecisionsResponse.Builder
extends ContinuumResponse.Builder, SdkPojo, CopyableBuilder<ListPackageDecisionsResponse.Builder,ListPackageDecisionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondecisions(Collection<PackageDecisionSummary> decisions) The decisions, newest first.decisions(Consumer<PackageDecisionSummary.Builder>... decisions) The decisions, newest first.decisions(PackageDecisionSummary... decisions) The decisions, newest first.The token to pass in the next call to get the next page of decisions.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
-
decisions
The decisions, newest first.
- Parameters:
decisions- The decisions, newest first.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
decisions
The decisions, newest first.
- Parameters:
decisions- The decisions, newest first.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
decisions
ListPackageDecisionsResponse.Builder decisions(Consumer<PackageDecisionSummary.Builder>... decisions) The decisions, newest first.
This is a convenience method that creates an instance of thePackageDecisionSummary.Builderavoiding the need to create one manually viaPackageDecisionSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todecisions(List<PackageDecisionSummary>).- Parameters:
decisions- a consumer that will call methods onPackageDecisionSummary.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 decisions. Absent when there are no more decisions.
- Parameters:
nextToken- The token to pass in the next call to get the next page of decisions. Absent when there are no more decisions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-