Interface ContactChannel.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ContactChannel.Builder,
,ContactChannel> SdkBuilder<ContactChannel.Builder,
,ContactChannel> SdkPojo
- Enclosing class:
ContactChannel
-
Method Summary
Modifier and TypeMethodDescriptionactivationStatus
(String activationStatus) A Boolean value describing if the contact channel has been activated or not.activationStatus
(ActivationStatus activationStatus) A Boolean value describing if the contact channel has been activated or not.contactArn
(String contactArn) The ARN of the contact that contains the contact channel.contactChannelArn
(String contactChannelArn) The Amazon Resource Name (ARN) of the contact channel.default ContactChannel.Builder
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.The type of the contact channel.type
(ChannelType type) The type of the contact channel.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 Details
-
contactChannelArn
The Amazon Resource Name (ARN) of the contact channel.
- Parameters:
contactChannelArn
- The Amazon Resource Name (ARN) of the contact channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contactArn
The ARN of the contact that contains the contact channel.
- Parameters:
contactArn
- The ARN of the contact that contains the contact channel.- 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
The type of the contact channel. Incident Manager supports three contact methods:
-
SMS
-
VOICE
-
EMAIL
- Parameters:
type
- The type of the contact channel. Incident Manager supports three contact methods:-
SMS
-
VOICE
-
EMAIL
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
type
The type of the contact channel. Incident Manager supports three contact methods:
-
SMS
-
VOICE
-
EMAIL
- Parameters:
type
- The type of the contact channel. Incident Manager supports three contact methods:-
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.
- 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 ContactChannel.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:
-
activationStatus
A Boolean value describing if the contact channel has been activated or not. If the contact channel isn't activated, Incident Manager can't engage the contact through it.
- Parameters:
activationStatus
- A Boolean value describing if the contact channel has been activated or not. If the contact channel isn't activated, Incident Manager can't engage the contact through it.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
activationStatus
A Boolean value describing if the contact channel has been activated or not. If the contact channel isn't activated, Incident Manager can't engage the contact through it.
- Parameters:
activationStatus
- A Boolean value describing if the contact channel has been activated or not. If the contact channel isn't activated, Incident Manager can't engage the contact through it.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-