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
Modifier and TypeMethodDescriptionactivationStatus(String activationStatus) A Boolean value indicating if the contact channel has been activated or not.activationStatus(ActivationStatus activationStatus) A Boolean value indicating if the contact channel has been activated or not.contactArn(String contactArn) The ARN of the contact that the channel belongs to.contactChannelArn(String contactChannelArn) The ARN of the contact channel.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 channelThe type of contact channel.type(ChannelType type) The type of contact channel.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.ssmcontacts.model.SsmContactsResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
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
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
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 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:
-
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:
-
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:
-
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
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:
-