Interface GetContactChannelResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetContactChannelResponse.Builder,GetContactChannelResponse>,SdkBuilder<GetContactChannelResponse.Builder,GetContactChannelResponse>,SdkPojo,SdkResponse.Builder,SsmContactsResponse.Builder
- Enclosing class:
- GetContactChannelResponse
public static interface GetContactChannelResponse.Builder extends SsmContactsResponse.Builder, SdkPojo, CopyableBuilder<GetContactChannelResponse.Builder,GetContactChannelResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description GetContactChannelResponse.BuilderactivationStatus(String activationStatus)A Boolean value indicating if the contact channel has been activated or not.GetContactChannelResponse.BuilderactivationStatus(ActivationStatus activationStatus)A Boolean value indicating if the contact channel has been activated or not.GetContactChannelResponse.BuildercontactArn(String contactArn)The ARN of the contact that the channel belongs to.GetContactChannelResponse.BuildercontactChannelArn(String contactChannelArn)The ARN of the contact channel.default GetContactChannelResponse.BuilderdeliveryAddress(Consumer<ContactChannelAddress.Builder> deliveryAddress)The details that Incident Manager uses when trying to engage the contact channel.GetContactChannelResponse.BuilderdeliveryAddress(ContactChannelAddress deliveryAddress)The details that Incident Manager uses when trying to engage the contact channel.GetContactChannelResponse.Buildername(String name)The name of the contact channelGetContactChannelResponse.Buildertype(String type)The type of contact channel.GetContactChannelResponse.Buildertype(ChannelType type)The type of 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
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Methods inherited from interface software.amazon.awssdk.services.ssmcontacts.model.SsmContactsResponse.Builder
build, responseMetadata, responseMetadata
-
-
-
-
Method Detail
-
contactArn
GetContactChannelResponse.Builder contactArn(String contactArn)
The ARN of the contact that the channel belongs to.
- Parameters:
contactArn- The ARN of the contact that the channel belongs to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contactChannelArn
GetContactChannelResponse.Builder contactChannelArn(String contactChannelArn)
The ARN of the contact channel.
- Parameters:
contactChannelArn- The ARN of the contact channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
GetContactChannelResponse.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
GetContactChannelResponse.Builder type(String type)
The type of contact channel. The type is
SMS,VOICE, orEMAIL.- Parameters:
type- The type of contact channel. The type isSMS,VOICE, orEMAIL.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ChannelType,ChannelType
-
type
GetContactChannelResponse.Builder type(ChannelType type)
The type of contact channel. The type is
SMS,VOICE, orEMAIL.- Parameters:
type- The type of contact channel. The type isSMS,VOICE, orEMAIL.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ChannelType,ChannelType
-
deliveryAddress
GetContactChannelResponse.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 GetContactChannelResponse.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
GetContactChannelResponse.Builder activationStatus(String activationStatus)
A Boolean value indicating if the contact channel has been activated or not.
- Parameters:
activationStatus- A Boolean value indicating if the contact channel has been activated or not.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ActivationStatus,ActivationStatus
-
activationStatus
GetContactChannelResponse.Builder activationStatus(ActivationStatus activationStatus)
A Boolean value indicating if the contact channel has been activated or not.
- Parameters:
activationStatus- A Boolean value indicating if the contact channel has been activated or not.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ActivationStatus,ActivationStatus
-
-