Class BusinessUnit
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<BusinessUnit.Builder,BusinessUnit>
The Amazon Web Services business unit that issued a financial record. A business unit has two parts: the merchant of record, which is the Amazon Web Services entity that issued the record, and the line of business within that entity.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic BusinessUnit.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final LineOfBusinessThe line of business within the merchant of record that issued the record.final StringThe line of business within the merchant of record that issued the record.final StringThe Amazon Web Services entity that issued the invoice and collects payment for it, such asAmazon Web Services, Inc.orAmazon Web Services EMEA SARL.static Class<? extends BusinessUnit.Builder> Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
merchantOfRecord
The Amazon Web Services entity that issued the invoice and collects payment for it, such as
Amazon Web Services, Inc.orAmazon Web Services EMEA SARL. This is the invoicing entity shown in the Amazon Web Services Billing and Cost Management console. For Amazon Web Services Marketplace purchases, it can differ from the seller of record.- Returns:
- The Amazon Web Services entity that issued the invoice and collects payment for it, such as
Amazon Web Services, Inc.orAmazon Web Services EMEA SARL. This is the invoicing entity shown in the Amazon Web Services Billing and Cost Management console. For Amazon Web Services Marketplace purchases, it can differ from the seller of record.
-
lineOfBusiness
The line of business within the merchant of record that issued the record. This member is absent when the line of business isn't known for the record. The following values are valid:
-
AWS_CLOUD_SERVICES– Your usage of Amazon Web Services services. -
PROSERVE_MARKETING_AND_TRAINING– Amazon Web Services Professional Services, marketing, and training: consulting, events, and training that Amazon Web Services sells. -
AWS_MARKETPLACE– Products that you bought from sellers in Amazon Web Services Marketplace.
If the service returns an enum value that is not available in the current SDK version,
lineOfBusinesswill returnLineOfBusiness.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlineOfBusinessAsString().- Returns:
- The line of business within the merchant of record that issued the record. This member is absent when the
line of business isn't known for the record. The following values are valid:
-
AWS_CLOUD_SERVICES– Your usage of Amazon Web Services services. -
PROSERVE_MARKETING_AND_TRAINING– Amazon Web Services Professional Services, marketing, and training: consulting, events, and training that Amazon Web Services sells. -
AWS_MARKETPLACE– Products that you bought from sellers in Amazon Web Services Marketplace.
-
- See Also:
-
-
lineOfBusinessAsString
The line of business within the merchant of record that issued the record. This member is absent when the line of business isn't known for the record. The following values are valid:
-
AWS_CLOUD_SERVICES– Your usage of Amazon Web Services services. -
PROSERVE_MARKETING_AND_TRAINING– Amazon Web Services Professional Services, marketing, and training: consulting, events, and training that Amazon Web Services sells. -
AWS_MARKETPLACE– Products that you bought from sellers in Amazon Web Services Marketplace.
If the service returns an enum value that is not available in the current SDK version,
lineOfBusinesswill returnLineOfBusiness.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlineOfBusinessAsString().- Returns:
- The line of business within the merchant of record that issued the record. This member is absent when the
line of business isn't known for the record. The following values are valid:
-
AWS_CLOUD_SERVICES– Your usage of Amazon Web Services services. -
PROSERVE_MARKETING_AND_TRAINING– Amazon Web Services Professional Services, marketing, and training: consulting, events, and training that Amazon Web Services sells. -
AWS_MARKETPLACE– Products that you bought from sellers in Amazon Web Services Marketplace.
-
- See Also:
-
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<BusinessUnit.Builder,BusinessUnit> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-