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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods 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.Builderavoiding the need to create one manually viaContactChannelAddress.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-