Class Account
- java.lang.Object
-
- software.amazon.awssdk.services.partnercentralselling.model.Account
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Account.Builder,Account>
@Generated("software.amazon.awssdk:codegen") public final class Account extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Account.Builder,Account>
Specifies the
Customer's account details associated with theOpportunity.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAccount.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Addressaddress()Specifies the endCustomer's address details associated with theOpportunity.StringawsAccountId()Specifies theCustomerAmazon Web Services account ID associated with theOpportunity.static Account.Builderbuilder()StringcompanyName()Specifies the endCustomer's company name associated with theOpportunity.Stringduns()Indicates theCustomerDUNS number, if available.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Industryindustry()Specifies the industry the endCustomerbelongs to that's associated with theOpportunity.StringindustryAsString()Specifies the industry the endCustomerbelongs to that's associated with theOpportunity.StringotherIndustry()Specifies the endCustomer's industry associated with theOpportunity, when the selected value in theIndustryfield isOther.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends Account.Builder>serializableBuilderClass()Account.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringwebsiteUrl()Specifies the end customer's company website URL associated with theOpportunity.-
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
-
address
public final Address address()
Specifies the end
Customer's address details associated with theOpportunity.- Returns:
- Specifies the end
Customer's address details associated with theOpportunity.
-
awsAccountId
public final String awsAccountId()
Specifies the
CustomerAmazon Web Services account ID associated with theOpportunity.- Returns:
- Specifies the
CustomerAmazon Web Services account ID associated with theOpportunity.
-
companyName
public final String companyName()
Specifies the end
Customer's company name associated with theOpportunity.- Returns:
- Specifies the end
Customer's company name associated with theOpportunity.
-
duns
public final String duns()
Indicates the
CustomerDUNS number, if available.- Returns:
- Indicates the
CustomerDUNS number, if available.
-
industry
public final Industry industry()
Specifies the industry the end
Customerbelongs to that's associated with theOpportunity. It refers to the category or sector where the customer's business operates. This is a required field.If the service returns an enum value that is not available in the current SDK version,
industrywill returnIndustry.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromindustryAsString().- Returns:
- Specifies the industry the end
Customerbelongs to that's associated with theOpportunity. It refers to the category or sector where the customer's business operates. This is a required field. - See Also:
Industry
-
industryAsString
public final String industryAsString()
Specifies the industry the end
Customerbelongs to that's associated with theOpportunity. It refers to the category or sector where the customer's business operates. This is a required field.If the service returns an enum value that is not available in the current SDK version,
industrywill returnIndustry.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromindustryAsString().- Returns:
- Specifies the industry the end
Customerbelongs to that's associated with theOpportunity. It refers to the category or sector where the customer's business operates. This is a required field. - See Also:
Industry
-
otherIndustry
public final String otherIndustry()
Specifies the end
Customer's industry associated with theOpportunity, when the selected value in theIndustryfield isOther.- Returns:
- Specifies the end
Customer's industry associated with theOpportunity, when the selected value in theIndustryfield isOther.
-
websiteUrl
public final String websiteUrl()
Specifies the end customer's company website URL associated with the
Opportunity. This value is crucial to map the customer within the Amazon Web Services CRM system. This field is required in all cases except when the opportunity is related to national security.- Returns:
- Specifies the end customer's company website URL associated with the
Opportunity. This value is crucial to map the customer within the Amazon Web Services CRM system. This field is required in all cases except when the opportunity is related to national security.
-
toBuilder
public Account.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Account.Builder,Account>
-
builder
public static Account.Builder builder()
-
serializableBuilderClass
public static Class<? extends Account.Builder> serializableBuilderClass()
-
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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-