Interface Target.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Target.Builder,
,Target> SdkBuilder<Target.Builder,
,Target> SdkPojo
- Enclosing class:
Target
-
Method Summary
Modifier and TypeMethodDescriptiondefault Target.Builder
channelTargetInfo
(Consumer<ChannelTargetInfo.Builder> channelTargetInfo) Information about the contact channel Incident Manager is engaging.channelTargetInfo
(ChannelTargetInfo channelTargetInfo) Information about the contact channel Incident Manager is engaging.default Target.Builder
contactTargetInfo
(Consumer<ContactTargetInfo.Builder> contactTargetInfo) Information about the contact that Incident Manager is engaging.contactTargetInfo
(ContactTargetInfo contactTargetInfo) Information about the contact that Incident Manager is engaging.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
-
channelTargetInfo
Information about the contact channel Incident Manager is engaging.
- Parameters:
channelTargetInfo
- Information about the contact channel Incident Manager is engaging.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channelTargetInfo
Information about the contact channel Incident Manager is engaging.
This is a convenience method that creates an instance of theChannelTargetInfo.Builder
avoiding the need to create one manually viaChannelTargetInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tochannelTargetInfo(ChannelTargetInfo)
.- Parameters:
channelTargetInfo
- a consumer that will call methods onChannelTargetInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
contactTargetInfo
Information about the contact that Incident Manager is engaging.
- Parameters:
contactTargetInfo
- Information about the contact that Incident Manager is engaging.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contactTargetInfo
Information about the contact that Incident Manager is engaging.
This is a convenience method that creates an instance of theContactTargetInfo.Builder
avoiding the need to create one manually viaContactTargetInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocontactTargetInfo(ContactTargetInfo)
.- Parameters:
contactTargetInfo
- a consumer that will call methods onContactTargetInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-