Interface BatchPutTaxRegistrationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<BatchPutTaxRegistrationResponse.Builder,
,BatchPutTaxRegistrationResponse> SdkBuilder<BatchPutTaxRegistrationResponse.Builder,
,BatchPutTaxRegistrationResponse> SdkPojo
,SdkResponse.Builder
,TaxSettingsResponse.Builder
- Enclosing class:
BatchPutTaxRegistrationResponse
@Mutable
@NotThreadSafe
public static interface BatchPutTaxRegistrationResponse.Builder
extends TaxSettingsResponse.Builder, SdkPojo, CopyableBuilder<BatchPutTaxRegistrationResponse.Builder,BatchPutTaxRegistrationResponse>
-
Method Summary
Modifier and TypeMethodDescriptionerrors
(Collection<BatchPutTaxRegistrationError> errors) List of errors for the accounts the TRN information could not be added or updated to.errors
(Consumer<BatchPutTaxRegistrationError.Builder>... errors) List of errors for the accounts the TRN information could not be added or updated to.errors
(BatchPutTaxRegistrationError... errors) List of errors for the accounts the TRN information could not be added or updated to.The status of your TRN stored in the system after processing.status
(TaxRegistrationStatus status) The status of your TRN stored in the system after processing.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
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
Methods inherited from interface software.amazon.awssdk.services.taxsettings.model.TaxSettingsResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
errors
List of errors for the accounts the TRN information could not be added or updated to.
- Parameters:
errors
- List of errors for the accounts the TRN information could not be added or updated to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
List of errors for the accounts the TRN information could not be added or updated to.
- Parameters:
errors
- List of errors for the accounts the TRN information could not be added or updated to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
BatchPutTaxRegistrationResponse.Builder errors(Consumer<BatchPutTaxRegistrationError.Builder>... errors) List of errors for the accounts the TRN information could not be added or updated to.
This is a convenience method that creates an instance of theBatchPutTaxRegistrationError.Builder
avoiding the need to create one manually viaBatchPutTaxRegistrationError.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toerrors(List<BatchPutTaxRegistrationError>)
.- Parameters:
errors
- a consumer that will call methods onBatchPutTaxRegistrationError.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of your TRN stored in the system after processing. Based on the validation occurring on the TRN, the status can be
Verified
,Pending
orRejected
.- Parameters:
status
- The status of your TRN stored in the system after processing. Based on the validation occurring on the TRN, the status can beVerified
,Pending
orRejected
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of your TRN stored in the system after processing. Based on the validation occurring on the TRN, the status can be
Verified
,Pending
orRejected
.- Parameters:
status
- The status of your TRN stored in the system after processing. Based on the validation occurring on the TRN, the status can beVerified
,Pending
orRejected
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-