Interface CreateContactChannelRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateContactChannelRequest.Builder,
,CreateContactChannelRequest> SdkBuilder<CreateContactChannelRequest.Builder,
,CreateContactChannelRequest> SdkPojo
,SdkRequest.Builder
,SsmContactsRequest.Builder
- Enclosing class:
CreateContactChannelRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the contact you are adding the contact channel to.deferActivation
(Boolean deferActivation) If you want to activate the channel at a later time, you can choose to defer activation.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.idempotencyToken
(String idempotencyToken) A token ensuring that the operation is called only once with the specified details.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.Incident Manager supports three types of contact channels:type
(ChannelType type) Incident Manager supports three types of contact channels: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
-
contactId
The Amazon Resource Name (ARN) of the contact you are adding the contact channel to.
- Parameters:
contactId
- The Amazon Resource Name (ARN) of the contact you are adding the contact channel to.- 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.
-
type
Incident Manager supports three types of contact channels:
-
SMS
-
VOICE
-
EMAIL
- Parameters:
type
- Incident Manager supports three types of contact channels:-
SMS
-
VOICE
-
EMAIL
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
type
Incident Manager supports three types of contact channels:
-
SMS
-
VOICE
-
EMAIL
- Parameters:
type
- Incident Manager supports three types of contact channels:-
SMS
-
VOICE
-
EMAIL
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
deliveryAddress
The details that Incident Manager uses when trying to engage the contact channel. The format is dependent on the type of the contact channel. The following are the expected formats:
-
SMS - '+' followed by the country code and phone number
-
VOICE - '+' followed by the country code and phone number
-
EMAIL - any standard email format
- Parameters:
deliveryAddress
- The details that Incident Manager uses when trying to engage the contact channel. The format is dependent on the type of the contact channel. The following are the expected formats:-
SMS - '+' followed by the country code and phone number
-
VOICE - '+' followed by the country code and phone number
-
EMAIL - any standard email format
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
deliveryAddress
default CreateContactChannelRequest.Builder deliveryAddress(Consumer<ContactChannelAddress.Builder> deliveryAddress) The details that Incident Manager uses when trying to engage the contact channel. The format is dependent on the type of the contact channel. The following are the expected formats:
-
SMS - '+' followed by the country code and phone number
-
VOICE - '+' followed by the country code and phone number
-
EMAIL - any standard email format
ContactChannelAddress.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:
-
-
deferActivation
If you want to activate the channel at a later time, you can choose to defer activation. Incident Manager can't engage your contact channel until it has been activated.
- Parameters:
deferActivation
- If you want to activate the channel at a later time, you can choose to defer activation. Incident Manager can't engage your contact channel until it has been activated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
idempotencyToken
A token ensuring that the operation is called only once with the specified details.
- Parameters:
idempotencyToken
- A token ensuring that the operation is called only once with the specified details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateContactChannelRequest.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
CreateContactChannelRequest.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.
-