Interface UpdateContactRequest.Builder
-
- All Superinterfaces:
AlexaForBusinessRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<UpdateContactRequest.Builder,UpdateContactRequest>,SdkBuilder<UpdateContactRequest.Builder,UpdateContactRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateContactRequest
public static interface UpdateContactRequest.Builder extends AlexaForBusinessRequest.Builder, SdkPojo, CopyableBuilder<UpdateContactRequest.Builder,UpdateContactRequest>
-
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.services.alexaforbusiness.model.AlexaForBusinessRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
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, sdkFields
-
-
-
-
Method Detail
-
contactArn
UpdateContactRequest.Builder contactArn(String contactArn)
The ARN of the contact to update.
- Parameters:
contactArn- The ARN of the contact to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
displayName
UpdateContactRequest.Builder displayName(String displayName)
The updated display name of the contact.
- Parameters:
displayName- The updated display name of the contact.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
firstName
UpdateContactRequest.Builder firstName(String firstName)
The updated first name of the contact.
- Parameters:
firstName- The updated first name of the contact.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastName
UpdateContactRequest.Builder lastName(String lastName)
The updated last name of the contact.
- Parameters:
lastName- The updated last name of the contact.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
phoneNumber
UpdateContactRequest.Builder phoneNumber(String phoneNumber)
The updated phone number of the contact. The phone number type defaults to WORK. You can either specify PhoneNumber or PhoneNumbers. We recommend that you use PhoneNumbers, which lets you specify the phone number type and multiple numbers.
- Parameters:
phoneNumber- The updated phone number of the contact. The phone number type defaults to WORK. You can either specify PhoneNumber or PhoneNumbers. We recommend that you use PhoneNumbers, which lets you specify the phone number type and multiple numbers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
phoneNumbers
UpdateContactRequest.Builder phoneNumbers(Collection<PhoneNumber> phoneNumbers)
The list of phone numbers for the contact.
- Parameters:
phoneNumbers- The list of phone numbers for the contact.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
phoneNumbers
UpdateContactRequest.Builder phoneNumbers(PhoneNumber... phoneNumbers)
The list of phone numbers for the contact.
- Parameters:
phoneNumbers- The list of phone numbers for the contact.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
phoneNumbers
UpdateContactRequest.Builder phoneNumbers(Consumer<PhoneNumber.Builder>... phoneNumbers)
The list of phone numbers for the contact.
This is a convenience method that creates an instance of thePhoneNumber.Builderavoiding the need to create one manually viaPhoneNumber.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#phoneNumbers(List.) - Parameters:
phoneNumbers- a consumer that will call methods onPhoneNumber.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#phoneNumbers(java.util.Collection)
-
sipAddresses
UpdateContactRequest.Builder sipAddresses(Collection<SipAddress> sipAddresses)
The list of SIP addresses for the contact.
- Parameters:
sipAddresses- The list of SIP addresses for the contact.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sipAddresses
UpdateContactRequest.Builder sipAddresses(SipAddress... sipAddresses)
The list of SIP addresses for the contact.
- Parameters:
sipAddresses- The list of SIP addresses for the contact.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sipAddresses
UpdateContactRequest.Builder sipAddresses(Consumer<SipAddress.Builder>... sipAddresses)
The list of SIP addresses for the contact.
This is a convenience method that creates an instance of theSipAddress.Builderavoiding the need to create one manually viaSipAddress.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#sipAddresses(List.) - Parameters:
sipAddresses- a consumer that will call methods onSipAddress.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#sipAddresses(java.util.Collection)
-
overrideConfiguration
UpdateContactRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateContactRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-