Interface ListCustomerAccountBulkJobResultsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListCustomerAccountBulkJobResultsResponse.Builder,,ListCustomerAccountBulkJobResultsResponse> PartnerCentralSellingResponse.Builder,SdkBuilder<ListCustomerAccountBulkJobResultsResponse.Builder,,ListCustomerAccountBulkJobResultsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListCustomerAccountBulkJobResultsResponse
@Mutable
@NotThreadSafe
public static interface ListCustomerAccountBulkJobResultsResponse.Builder
extends PartnerCentralSellingResponse.Builder, SdkPojo, CopyableBuilder<ListCustomerAccountBulkJobResultsResponse.Builder,ListCustomerAccountBulkJobResultsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe token to retrieve the next page of results.results(Collection<BulkJobResult> results) The outcome of each record in the bulk job.results(Consumer<BulkJobResult.Builder>... results) The outcome of each record in the bulk job.results(BulkJobResult... results) The outcome of each record in the bulk job.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.partnercentralselling.model.PartnerCentralSellingResponse.Builder
build, responseMetadata, responseMetadataMethods 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
-
results
The outcome of each record in the bulk job.
- Parameters:
results- The outcome of each record in the bulk job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
results
The outcome of each record in the bulk job.
- Parameters:
results- The outcome of each record in the bulk job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
results
ListCustomerAccountBulkJobResultsResponse.Builder results(Consumer<BulkJobResult.Builder>... results) The outcome of each record in the bulk job.
This is a convenience method that creates an instance of theBulkJobResult.Builderavoiding the need to create one manually viaBulkJobResult.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toresults(List<BulkJobResult>).- Parameters:
results- a consumer that will call methods onBulkJobResult.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token to retrieve the next page of results. This value is absent when there are no more results.
- Parameters:
nextToken- The token to retrieve the next page of results. This value is absent when there are no more results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-