Class GetInvoiceUnitResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.invoicing.model.InvoicingResponse
-
- software.amazon.awssdk.services.invoicing.model.GetInvoiceUnitResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetInvoiceUnitResponse.Builder,GetInvoiceUnitResponse>
@Generated("software.amazon.awssdk:codegen") public final class GetInvoiceUnitResponse extends InvoicingResponse implements ToCopyableBuilder<GetInvoiceUnitResponse.Builder,GetInvoiceUnitResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetInvoiceUnitResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetInvoiceUnitResponse.Builderbuilder()Stringdescription()The assigned description for an invoice unit.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringinvoiceReceiver()The Amazon Web Services account ID chosen to be the receiver of an invoice unit.StringinvoiceUnitArn()The ARN to identify an invoice unit.InstantlastModified()The most recent date the invoice unit response was updated.Stringname()The unique name of the invoice unit that is shown on the generated invoice.InvoiceUnitRulerule()Returns the value of the Rule property for this object.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends GetInvoiceUnitResponse.Builder>serializableBuilderClass()BooleantaxInheritanceDisabled()Whether the invoice unit based tax inheritance is/ should be enabled or disabled.GetInvoiceUnitResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.services.invoicing.model.InvoicingResponse
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
invoiceUnitArn
public final String invoiceUnitArn()
The ARN to identify an invoice unit. This information can't be modified or deleted.
- Returns:
- The ARN to identify an invoice unit. This information can't be modified or deleted.
-
invoiceReceiver
public final String invoiceReceiver()
The Amazon Web Services account ID chosen to be the receiver of an invoice unit. All invoices generated for that invoice unit will be sent to this account ID.
- Returns:
- The Amazon Web Services account ID chosen to be the receiver of an invoice unit. All invoices generated for that invoice unit will be sent to this account ID.
-
name
public final String name()
The unique name of the invoice unit that is shown on the generated invoice.
- Returns:
- The unique name of the invoice unit that is shown on the generated invoice.
-
description
public final String description()
The assigned description for an invoice unit.
- Returns:
- The assigned description for an invoice unit.
-
taxInheritanceDisabled
public final Boolean taxInheritanceDisabled()
Whether the invoice unit based tax inheritance is/ should be enabled or disabled.
- Returns:
- Whether the invoice unit based tax inheritance is/ should be enabled or disabled.
-
rule
public final InvoiceUnitRule rule()
Returns the value of the Rule property for this object.- Returns:
- The value of the Rule property for this object.
-
lastModified
public final Instant lastModified()
The most recent date the invoice unit response was updated.
- Returns:
- The most recent date the invoice unit response was updated.
-
toBuilder
public GetInvoiceUnitResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetInvoiceUnitResponse.Builder,GetInvoiceUnitResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static GetInvoiceUnitResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetInvoiceUnitResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkResponse
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-