Interface SupplementalTaxRegistrationEntry.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SupplementalTaxRegistrationEntry.Builder,
,SupplementalTaxRegistrationEntry> SdkBuilder<SupplementalTaxRegistrationEntry.Builder,
,SupplementalTaxRegistrationEntry> SdkPojo
- Enclosing class:
SupplementalTaxRegistrationEntry
@Mutable
@NotThreadSafe
public static interface SupplementalTaxRegistrationEntry.Builder
extends SdkPojo, CopyableBuilder<SupplementalTaxRegistrationEntry.Builder,SupplementalTaxRegistrationEntry>
-
Method Summary
Modifier and TypeMethodDescriptionaddress
(Consumer<Address.Builder> address) Sets the value of the Address property for this object.Sets the value of the Address property for this object.The legal name associated with your TRN registration.registrationId
(String registrationId) The supplemental TRN unique identifier.registrationType
(String registrationType) Type of supplemental TRN.registrationType
(SupplementalTaxRegistrationType registrationType) Type of supplemental TRN.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
-
Method Details
-
address
Sets the value of the Address property for this object.- Parameters:
address
- The new value for the Address property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
address
Sets the value of the Address property for this object. This is a convenience method that creates an instance of theAddress.Builder
avoiding the need to create one manually viaAddress.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toaddress(Address)
.- Parameters:
address
- a consumer that will call methods onAddress.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
legalName
The legal name associated with your TRN registration.
- Parameters:
legalName
- The legal name associated with your TRN registration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
registrationId
The supplemental TRN unique identifier.
- Parameters:
registrationId
- The supplemental TRN unique identifier.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
registrationType
Type of supplemental TRN. Currently, this can only be VAT.
- Parameters:
registrationType
- Type of supplemental TRN. Currently, this can only be VAT.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
registrationType
SupplementalTaxRegistrationEntry.Builder registrationType(SupplementalTaxRegistrationType registrationType) Type of supplemental TRN. Currently, this can only be VAT.
- Parameters:
registrationType
- Type of supplemental TRN. Currently, this can only be VAT.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-