Interface Contacts.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Contacts.Builder,
,Contacts> SdkBuilder<Contacts.Builder,
,Contacts> SdkPojo
- Enclosing class:
Contacts
-
Method Summary
Modifier and TypeMethodDescriptionemails
(Collection<ContactDetails> emails) List of emails for contacts of the result.emails
(Consumer<ContactDetails.Builder>... emails) List of emails for contacts of the result.emails
(ContactDetails... emails) List of emails for contacts of the result.faxes
(Collection<ContactDetails> faxes) List of fax addresses for the result contact.faxes
(Consumer<ContactDetails.Builder>... faxes) List of fax addresses for the result contact.faxes
(ContactDetails... faxes) List of fax addresses for the result contact.phones
(Collection<ContactDetails> phones) List of phone numbers for the results contact.phones
(Consumer<ContactDetails.Builder>... phones) List of phone numbers for the results contact.phones
(ContactDetails... phones) List of phone numbers for the results contact.websites
(Collection<ContactDetails> websites) List of website URLs that belong to the result.websites
(Consumer<ContactDetails.Builder>... websites) List of website URLs that belong to the result.websites
(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 Details
-
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
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
List of phone numbers for the results contact.
This is a convenience method that creates an instance of theContactDetails.Builder
avoiding the need to create one manually viaContactDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tophones(List<ContactDetails>)
.- 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:
-
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
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
List of fax addresses for the result contact.
This is a convenience method that creates an instance of theContactDetails.Builder
avoiding the need to create one manually viaContactDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofaxes(List<ContactDetails>)
.- 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:
-
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
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
List of website URLs that belong to the result.
This is a convenience method that creates an instance of theContactDetails.Builder
avoiding the need to create one manually viaContactDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed towebsites(List<ContactDetails>)
.- 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:
-
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
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
List of emails for contacts of the result.
This is a convenience method that creates an instance of theContactDetails.Builder
avoiding the need to create one manually viaContactDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toemails(List<ContactDetails>)
.- 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:
-