Class Contact
- java.lang.Object
-
- software.amazon.awssdk.services.partnercentralselling.model.Contact
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Contact.Builder,Contact>
@Generated("software.amazon.awssdk:codegen") public final class Contact extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Contact.Builder,Contact>
An object that contains a
Customer Partner's contact details.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceContact.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Contact.Builderbuilder()StringbusinessTitle()The partner contact's title (job title or role) associated with theOpportunity.Stringemail()The contact's email address associated with theOpportunity.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringfirstName()The contact's first name associated with theOpportunity.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringlastName()The contact's last name associated with theOpportunity.Stringphone()The contact's phone number associated with theOpportunity.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends Contact.Builder>serializableBuilderClass()Contact.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
businessTitle
public final String businessTitle()
The partner contact's title (job title or role) associated with the
Opportunity.BusinessTitlesupports eitherPartnerAccountManagerorOpportunityOwner.- Returns:
- The partner contact's title (job title or role) associated with the
Opportunity.BusinessTitlesupports eitherPartnerAccountManagerorOpportunityOwner.
-
email
public final String email()
The contact's email address associated with the
Opportunity.- Returns:
- The contact's email address associated with the
Opportunity.
-
firstName
public final String firstName()
The contact's first name associated with the
Opportunity.- Returns:
- The contact's first name associated with the
Opportunity.
-
lastName
public final String lastName()
The contact's last name associated with the
Opportunity.- Returns:
- The contact's last name associated with the
Opportunity.
-
phone
public final String phone()
The contact's phone number associated with the
Opportunity.- Returns:
- The contact's phone number associated with the
Opportunity.
-
toBuilder
public Contact.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Contact.Builder,Contact>
-
builder
public static Contact.Builder builder()
-
serializableBuilderClass
public static Class<? extends Contact.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
-
-