Interface ContactChannel.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ContactChannel.Builder,ContactChannel>,SdkBuilder<ContactChannel.Builder,ContactChannel>,SdkPojo
- Enclosing class:
- ContactChannel
public static interface ContactChannel.Builder extends SdkPojo, CopyableBuilder<ContactChannel.Builder,ContactChannel>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ContactChannel.BuilderactivationStatus(String activationStatus)A Boolean value describing if the contact channel has been activated or not.ContactChannel.BuilderactivationStatus(ActivationStatus activationStatus)A Boolean value describing if the contact channel has been activated or not.ContactChannel.BuildercontactArn(String contactArn)The ARN of the contact that contains the contact channel.ContactChannel.BuildercontactChannelArn(String contactChannelArn)The Amazon Resource Name (ARN) of the contact channel.default ContactChannel.BuilderdeliveryAddress(Consumer<ContactChannelAddress.Builder> deliveryAddress)The details that Incident Manager uses when trying to engage the contact channel.ContactChannel.BuilderdeliveryAddress(ContactChannelAddress deliveryAddress)The details that Incident Manager uses when trying to engage the contact channel.ContactChannel.Buildername(String name)The name of the contact channel.ContactChannel.Buildertype(String type)The type of the contact channel.ContactChannel.Buildertype(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 Detail
-
contactChannelArn
ContactChannel.Builder contactChannelArn(String 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
ContactChannel.Builder contactArn(String 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
ContactChannel.Builder name(String 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
ContactChannel.Builder type(String 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:
ChannelType,ChannelType
-
-
type
ContactChannel.Builder type(ChannelType 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:
ChannelType,ChannelType
-
-
deliveryAddress
ContactChannel.Builder deliveryAddress(ContactChannelAddress 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.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:
deliveryAddress(ContactChannelAddress)
-
activationStatus
ContactChannel.Builder activationStatus(String 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,ActivationStatus
-
activationStatus
ContactChannel.Builder activationStatus(ActivationStatus 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,ActivationStatus
-
-