Interface Target.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Target.Builder,Target>,SdkBuilder<Target.Builder,Target>,SdkPojo
- Enclosing class:
- Target
public static interface Target.Builder extends SdkPojo, CopyableBuilder<Target.Builder,Target>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Target.BuilderchannelTargetInfo(Consumer<ChannelTargetInfo.Builder> channelTargetInfo)Information about the contact channel Incident Manager is engaging.Target.BuilderchannelTargetInfo(ChannelTargetInfo channelTargetInfo)Information about the contact channel Incident Manager is engaging.default Target.BuildercontactTargetInfo(Consumer<ContactTargetInfo.Builder> contactTargetInfo)Information about the contact that Incident Manager is engaging.Target.BuildercontactTargetInfo(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 Detail
-
channelTargetInfo
Target.Builder channelTargetInfo(ChannelTargetInfo 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
default Target.Builder channelTargetInfo(Consumer<ChannelTargetInfo.Builder> channelTargetInfo)
Information about the contact channel Incident Manager is engaging.
This is a convenience method that creates an instance of theChannelTargetInfo.Builderavoiding the need to create one manually viaChannelTargetInfo.builder().When the
Consumercompletes,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:
channelTargetInfo(ChannelTargetInfo)
-
contactTargetInfo
Target.Builder contactTargetInfo(ContactTargetInfo 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
default Target.Builder contactTargetInfo(Consumer<ContactTargetInfo.Builder> contactTargetInfo)
Information about the contact that Incident Manager is engaging.
This is a convenience method that creates an instance of theContactTargetInfo.Builderavoiding the need to create one manually viaContactTargetInfo.builder().When the
Consumercompletes,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:
contactTargetInfo(ContactTargetInfo)
-
-