Interface Target.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Target.Builder,,Target> SdkBuilder<Target.Builder,,Target> SdkPojo
- Enclosing class:
Target
@Mutable
@NotThreadSafe
public static interface Target.Builder
extends SdkPojo, CopyableBuilder<Target.Builder,Target>
-
Method Summary
Modifier and TypeMethodDescriptiondefault Target.BuilderchannelTargetInfo(Consumer<ChannelTargetInfo.Builder> channelTargetInfo) Information about the contact channel that Incident Manager engages.channelTargetInfo(ChannelTargetInfo channelTargetInfo) Information about the contact channel that Incident Manager engages.default Target.BuildercontactTargetInfo(Consumer<ContactTargetInfo.Builder> contactTargetInfo) Information about the contact that Incident Manager engages.contactTargetInfo(ContactTargetInfo contactTargetInfo) Information about the contact that Incident Manager engages.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, sdkFieldNameToField, sdkFields
-
Method Details
-
channelTargetInfo
Information about the contact channel that Incident Manager engages.
- Parameters:
channelTargetInfo- Information about the contact channel that Incident Manager engages.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channelTargetInfo
Information about the contact channel that Incident Manager engages.
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:
-
contactTargetInfo
Information about the contact that Incident Manager engages.
- Parameters:
contactTargetInfo- Information about the contact that Incident Manager engages.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contactTargetInfo
Information about the contact that Incident Manager engages.
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:
-