Interface Contacts.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Contacts.Builder,Contacts>,SdkBuilder<Contacts.Builder,Contacts>,SdkPojo
- Enclosing class:
- Contacts
public static interface Contacts.Builder extends SdkPojo, CopyableBuilder<Contacts.Builder,Contacts>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Contacts.Builderemails(Collection<ContactDetails> emails)List of emails for contacts of the result.Contacts.Builderemails(Consumer<ContactDetails.Builder>... emails)List of emails for contacts of the result.Contacts.Builderemails(ContactDetails... emails)List of emails for contacts of the result.Contacts.Builderfaxes(Collection<ContactDetails> faxes)List of fax addresses for the result contact.Contacts.Builderfaxes(Consumer<ContactDetails.Builder>... faxes)List of fax addresses for the result contact.Contacts.Builderfaxes(ContactDetails... faxes)List of fax addresses for the result contact.Contacts.Builderphones(Collection<ContactDetails> phones)List of phone numbers for the results contact.Contacts.Builderphones(Consumer<ContactDetails.Builder>... phones)List of phone numbers for the results contact.Contacts.Builderphones(ContactDetails... phones)List of phone numbers for the results contact.Contacts.Builderwebsites(Collection<ContactDetails> websites)List of website URLs that belong to the result.Contacts.Builderwebsites(Consumer<ContactDetails.Builder>... websites)List of website URLs that belong to the result.Contacts.Builderwebsites(ContactDetails... websites)List of website URLs that belong to the result.-
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
-
phones
Contacts.Builder phones(Collection<ContactDetails> phones)
List of phone numbers for the results contact.
- Parameters:
phones- List of phone numbers for the results contact.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
phones
Contacts.Builder phones(ContactDetails... phones)
List of phone numbers for the results contact.
- Parameters:
phones- List of phone numbers for the results contact.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
phones
Contacts.Builder phones(Consumer<ContactDetails.Builder>... phones)
List of phone numbers for the results contact.
This is a convenience method that creates an instance of theContactDetails.Builderavoiding the need to create one manually viaContactDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#phones(List.) - Parameters:
phones- a consumer that will call methods onContactDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#phones(java.util.Collection)
-
faxes
Contacts.Builder faxes(Collection<ContactDetails> faxes)
List of fax addresses for the result contact.
- Parameters:
faxes- List of fax addresses for the result contact.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
faxes
Contacts.Builder faxes(ContactDetails... faxes)
List of fax addresses for the result contact.
- Parameters:
faxes- List of fax addresses for the result contact.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
faxes
Contacts.Builder faxes(Consumer<ContactDetails.Builder>... faxes)
List of fax addresses for the result contact.
This is a convenience method that creates an instance of theContactDetails.Builderavoiding the need to create one manually viaContactDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#faxes(List.) - Parameters:
faxes- a consumer that will call methods onContactDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#faxes(java.util.Collection)
-
websites
Contacts.Builder websites(Collection<ContactDetails> websites)
List of website URLs that belong to the result.
- Parameters:
websites- List of website URLs that belong to the result.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
websites
Contacts.Builder websites(ContactDetails... websites)
List of website URLs that belong to the result.
- Parameters:
websites- List of website URLs that belong to the result.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
websites
Contacts.Builder websites(Consumer<ContactDetails.Builder>... websites)
List of website URLs that belong to the result.
This is a convenience method that creates an instance of theContactDetails.Builderavoiding the need to create one manually viaContactDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#websites(List.) - Parameters:
websites- a consumer that will call methods onContactDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#websites(java.util.Collection)
-
emails
Contacts.Builder emails(Collection<ContactDetails> emails)
List of emails for contacts of the result.
- Parameters:
emails- List of emails for contacts of the result.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
emails
Contacts.Builder emails(ContactDetails... emails)
List of emails for contacts of the result.
- Parameters:
emails- List of emails for contacts of the result.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
emails
Contacts.Builder emails(Consumer<ContactDetails.Builder>... emails)
List of emails for contacts of the result.
This is a convenience method that creates an instance of theContactDetails.Builderavoiding the need to create one manually viaContactDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#emails(List.) - Parameters:
emails- a consumer that will call methods onContactDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#emails(java.util.Collection)
-
-