Interface UpdateContactChannelRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateContactChannelRequest.Builder,
,UpdateContactChannelRequest> SdkBuilder<UpdateContactChannelRequest.Builder,
,UpdateContactChannelRequest> SdkPojo
,SdkRequest.Builder
,SsmContactsRequest.Builder
- Enclosing class:
UpdateContactChannelRequest
public static interface UpdateContactChannelRequest.Builder
extends SsmContactsRequest.Builder, SdkPojo, CopyableBuilder<UpdateContactChannelRequest.Builder,UpdateContactChannelRequest>
-
Method Summary
Modifier and TypeMethodDescriptioncontactChannelId
(String contactChannelId) The Amazon Resource Name (ARN) of the contact channel you want to update.deliveryAddress
(Consumer<ContactChannelAddress.Builder> deliveryAddress) The details that Incident Manager uses when trying to engage the contact channel.deliveryAddress
(ContactChannelAddress deliveryAddress) The details that Incident Manager uses when trying to engage the contact channel.The name of the contact channel.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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
Methods inherited from interface software.amazon.awssdk.services.ssmcontacts.model.SsmContactsRequest.Builder
build
-
Method Details
-
contactChannelId
The Amazon Resource Name (ARN) of the contact channel you want to update.
- Parameters:
contactChannelId
- The Amazon Resource Name (ARN) of the contact channel you want to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the contact channel.
- Parameters:
name
- The name of the contact channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deliveryAddress
The details that Incident Manager uses when trying to engage the contact channel.
- Parameters:
deliveryAddress
- The details that Incident Manager uses when trying to engage the contact channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deliveryAddress
default UpdateContactChannelRequest.Builder deliveryAddress(Consumer<ContactChannelAddress.Builder> deliveryAddress) The details that Incident Manager uses when trying to engage the contact channel.
This is a convenience method that creates an instance of theContactChannelAddress.Builder
avoiding the need to create one manually viaContactChannelAddress.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todeliveryAddress(ContactChannelAddress)
.- Parameters:
deliveryAddress
- a consumer that will call methods onContactChannelAddress.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateContactChannelRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateContactChannelRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-