Interface CreateContactRequest.Builder
-
- All Superinterfaces:
AlexaForBusinessRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<CreateContactRequest.Builder,CreateContactRequest>,SdkBuilder<CreateContactRequest.Builder,CreateContactRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateContactRequest
public static interface CreateContactRequest.Builder extends AlexaForBusinessRequest.Builder, SdkPojo, CopyableBuilder<CreateContactRequest.Builder,CreateContactRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateContactRequest.BuilderclientRequestToken(String clientRequestToken)A unique, user-specified identifier for this request that ensures idempotency.CreateContactRequest.BuilderdisplayName(String displayName)The name of the contact to display on the console.CreateContactRequest.BuilderfirstName(String firstName)The first name of the contact that is used to call the contact on the device.CreateContactRequest.BuilderlastName(String lastName)The last name of the contact that is used to call the contact on the device.CreateContactRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateContactRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateContactRequest.BuilderphoneNumber(String phoneNumber)The phone number of the contact in E.164 format.CreateContactRequest.BuilderphoneNumbers(Collection<PhoneNumber> phoneNumbers)The list of phone numbers for the contact.CreateContactRequest.BuilderphoneNumbers(Consumer<PhoneNumber.Builder>... phoneNumbers)The list of phone numbers for the contact.CreateContactRequest.BuilderphoneNumbers(PhoneNumber... phoneNumbers)The list of phone numbers for the contact.CreateContactRequest.BuildersipAddresses(Collection<SipAddress> sipAddresses)The list of SIP addresses for the contact.CreateContactRequest.BuildersipAddresses(Consumer<SipAddress.Builder>... sipAddresses)The list of SIP addresses for the contact.CreateContactRequest.BuildersipAddresses(SipAddress... sipAddresses)The list of SIP addresses for the contact.CreateContactRequest.Buildertags(Collection<Tag> tags)The tags to be added to the specified resource.CreateContactRequest.Buildertags(Consumer<Tag.Builder>... tags)The tags to be added to the specified resource.CreateContactRequest.Buildertags(Tag... tags)The tags to be added to the specified resource.-
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
-
displayName
CreateContactRequest.Builder displayName(String displayName)
The name of the contact to display on the console.
- Parameters:
displayName- The name of the contact to display on the console.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
firstName
CreateContactRequest.Builder firstName(String firstName)
The first name of the contact that is used to call the contact on the device.
- Parameters:
firstName- The first name of the contact that is used to call the contact on the device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastName
CreateContactRequest.Builder lastName(String lastName)
The last name of the contact that is used to call the contact on the device.
- Parameters:
lastName- The last name of the contact that is used to call the contact on the device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
phoneNumber
CreateContactRequest.Builder phoneNumber(String phoneNumber)
The phone number of the contact in E.164 format. The phone number type defaults to WORK. You can specify PhoneNumber or PhoneNumbers. We recommend that you use PhoneNumbers, which lets you specify the phone number type and multiple numbers.
- Parameters:
phoneNumber- The phone number of the contact in E.164 format. The phone number type defaults to WORK. You can 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
CreateContactRequest.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
CreateContactRequest.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
CreateContactRequest.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
CreateContactRequest.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
CreateContactRequest.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
CreateContactRequest.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)
-
clientRequestToken
CreateContactRequest.Builder clientRequestToken(String clientRequestToken)
A unique, user-specified identifier for this request that ensures idempotency.
- Parameters:
clientRequestToken- A unique, user-specified identifier for this request that ensures idempotency.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateContactRequest.Builder tags(Collection<Tag> tags)
The tags to be added to the specified resource. Do not provide system tags.
- Parameters:
tags- The tags to be added to the specified resource. Do not provide system tags.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateContactRequest.Builder tags(Tag... tags)
The tags to be added to the specified resource. Do not provide system tags.
- Parameters:
tags- The tags to be added to the specified resource. Do not provide system tags.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateContactRequest.Builder tags(Consumer<Tag.Builder>... tags)
The tags to be added to the specified resource. Do not provide system tags.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tags(java.util.Collection)
-
overrideConfiguration
CreateContactRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateContactRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-