Interface BatchCreateBillingAdjustmentRequestResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<BatchCreateBillingAdjustmentRequestResponse.Builder,,BatchCreateBillingAdjustmentRequestResponse> MarketplaceAgreementResponse.Builder,SdkBuilder<BatchCreateBillingAdjustmentRequestResponse.Builder,,BatchCreateBillingAdjustmentRequestResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
BatchCreateBillingAdjustmentRequestResponse
-
Method Summary
Modifier and TypeMethodDescriptionA list of errors for entries that failed validation, each containing theclientToken, errorcode, andmessage.errors(Consumer<BatchCreateBillingAdjustmentError.Builder>... errors) A list of errors for entries that failed validation, each containing theclientToken, errorcode, andmessage.errors(BatchCreateBillingAdjustmentError... errors) A list of errors for entries that failed validation, each containing theclientToken, errorcode, andmessage.A list of successfully created billing adjustment items, each containing thebillingAdjustmentRequestIdandclientToken.A list of successfully created billing adjustment items, each containing thebillingAdjustmentRequestIdandclientToken.items(BatchCreateBillingAdjustmentItem... items) A list of successfully created billing adjustment items, each containing thebillingAdjustmentRequestIdandclientToken.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.marketplaceagreement.model.MarketplaceAgreementResponse.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
-
items
BatchCreateBillingAdjustmentRequestResponse.Builder items(Collection<BatchCreateBillingAdjustmentItem> items) A list of successfully created billing adjustment items, each containing the
billingAdjustmentRequestIdandclientToken.- Parameters:
items- A list of successfully created billing adjustment items, each containing thebillingAdjustmentRequestIdandclientToken.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
BatchCreateBillingAdjustmentRequestResponse.Builder items(BatchCreateBillingAdjustmentItem... items) A list of successfully created billing adjustment items, each containing the
billingAdjustmentRequestIdandclientToken.- Parameters:
items- A list of successfully created billing adjustment items, each containing thebillingAdjustmentRequestIdandclientToken.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
BatchCreateBillingAdjustmentRequestResponse.Builder items(Consumer<BatchCreateBillingAdjustmentItem.Builder>... items) A list of successfully created billing adjustment items, each containing the
This is a convenience method that creates an instance of thebillingAdjustmentRequestIdandclientToken.BatchCreateBillingAdjustmentItem.Builderavoiding the need to create one manually viaBatchCreateBillingAdjustmentItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toitems(List<BatchCreateBillingAdjustmentItem>).- Parameters:
items- a consumer that will call methods onBatchCreateBillingAdjustmentItem.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
errors
BatchCreateBillingAdjustmentRequestResponse.Builder errors(Collection<BatchCreateBillingAdjustmentError> errors) A list of errors for entries that failed validation, each containing the
clientToken, errorcode, andmessage.- Parameters:
errors- A list of errors for entries that failed validation, each containing theclientToken, errorcode, andmessage.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
BatchCreateBillingAdjustmentRequestResponse.Builder errors(BatchCreateBillingAdjustmentError... errors) A list of errors for entries that failed validation, each containing the
clientToken, errorcode, andmessage.- Parameters:
errors- A list of errors for entries that failed validation, each containing theclientToken, errorcode, andmessage.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
BatchCreateBillingAdjustmentRequestResponse.Builder errors(Consumer<BatchCreateBillingAdjustmentError.Builder>... errors) A list of errors for entries that failed validation, each containing the
This is a convenience method that creates an instance of theclientToken, errorcode, andmessage.BatchCreateBillingAdjustmentError.Builderavoiding the need to create one manually viaBatchCreateBillingAdjustmentError.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toerrors(List<BatchCreateBillingAdjustmentError>).- Parameters:
errors- a consumer that will call methods onBatchCreateBillingAdjustmentError.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-