Interface CreateContactChannelRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateContactChannelRequest.Builder,CreateContactChannelRequest>,SdkBuilder<CreateContactChannelRequest.Builder,CreateContactChannelRequest>,SdkPojo,SdkRequest.Builder,SsmContactsRequest.Builder
- Enclosing class:
- CreateContactChannelRequest
public static interface CreateContactChannelRequest.Builder extends SsmContactsRequest.Builder, SdkPojo, CopyableBuilder<CreateContactChannelRequest.Builder,CreateContactChannelRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateContactChannelRequest.BuildercontactId(String contactId)The Amazon Resource Name (ARN) of the contact you are adding the contact channel to.CreateContactChannelRequest.BuilderdeferActivation(Boolean deferActivation)If you want to activate the channel at a later time, you can choose to defer activation.default CreateContactChannelRequest.BuilderdeliveryAddress(Consumer<ContactChannelAddress.Builder> deliveryAddress)The details that Incident Manager uses when trying to engage the contact channel.CreateContactChannelRequest.BuilderdeliveryAddress(ContactChannelAddress deliveryAddress)The details that Incident Manager uses when trying to engage the contact channel.CreateContactChannelRequest.BuilderidempotencyToken(String idempotencyToken)A token ensuring that the operation is called only once with the specified details.CreateContactChannelRequest.Buildername(String name)The name of the contact channel.CreateContactChannelRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateContactChannelRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateContactChannelRequest.Buildertype(String type)Incident Manager supports three types of contact channels:CreateContactChannelRequest.Buildertype(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 Detail
-
contactId
CreateContactChannelRequest.Builder contactId(String 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
CreateContactChannelRequest.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
CreateContactChannelRequest.Builder type(String 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:
ChannelType,ChannelType
-
-
type
CreateContactChannelRequest.Builder type(ChannelType 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:
ChannelType,ChannelType
-
-
deliveryAddress
CreateContactChannelRequest.Builder deliveryAddress(ContactChannelAddress 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.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)
-
-
deferActivation
CreateContactChannelRequest.Builder deferActivation(Boolean 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
CreateContactChannelRequest.Builder idempotencyToken(String 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateContactChannelRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-