Interface SupplementalTaxRegistrationEntry.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<SupplementalTaxRegistrationEntry.Builder,SupplementalTaxRegistrationEntry>,SdkBuilder<SupplementalTaxRegistrationEntry.Builder,SupplementalTaxRegistrationEntry>,SdkPojo
- Enclosing class:
- SupplementalTaxRegistrationEntry
public static interface SupplementalTaxRegistrationEntry.Builder extends SdkPojo, CopyableBuilder<SupplementalTaxRegistrationEntry.Builder,SupplementalTaxRegistrationEntry>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default SupplementalTaxRegistrationEntry.Builderaddress(Consumer<Address.Builder> address)Sets the value of the Address property for this object.SupplementalTaxRegistrationEntry.Builderaddress(Address address)Sets the value of the Address property for this object.SupplementalTaxRegistrationEntry.BuilderlegalName(String legalName)The legal name associated with your TRN registration.SupplementalTaxRegistrationEntry.BuilderregistrationId(String registrationId)The supplemental TRN unique identifier.SupplementalTaxRegistrationEntry.BuilderregistrationType(String registrationType)Type of supplemental TRN.SupplementalTaxRegistrationEntry.BuilderregistrationType(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 Detail
-
address
SupplementalTaxRegistrationEntry.Builder address(Address 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
default SupplementalTaxRegistrationEntry.Builder address(Consumer<Address.Builder> address)
Sets the value of the Address property for this object. This is a convenience method that creates an instance of theAddress.Builderavoiding the need to create one manually viaAddress.builder().When the
Consumercompletes,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:
address(Address)
-
legalName
SupplementalTaxRegistrationEntry.Builder legalName(String 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
SupplementalTaxRegistrationEntry.Builder registrationId(String 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
SupplementalTaxRegistrationEntry.Builder registrationType(String 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:
SupplementalTaxRegistrationType,SupplementalTaxRegistrationType
-
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:
SupplementalTaxRegistrationType,SupplementalTaxRegistrationType
-
-