Interface Integration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Integration.Builder,
,Integration> SdkBuilder<Integration.Builder,
,Integration> SdkPojo
- Enclosing class:
Integration
@Mutable
@NotThreadSafe
public static interface Integration.Builder
extends SdkPojo, CopyableBuilder<Integration.Builder,Integration>
-
Method Summary
Modifier and TypeMethodDescriptiondefault Integration.Builder
pagerDutyConfiguration
(Consumer<PagerDutyConfiguration.Builder> pagerDutyConfiguration) Information about the PagerDuty service where the response plan creates an incident.pagerDutyConfiguration
(PagerDutyConfiguration pagerDutyConfiguration) Information about the PagerDuty service where the response plan creates an incident.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, sdkFieldNameToField, sdkFields
-
Method Details
-
pagerDutyConfiguration
Information about the PagerDuty service where the response plan creates an incident.
- Parameters:
pagerDutyConfiguration
- Information about the PagerDuty service where the response plan creates an incident.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pagerDutyConfiguration
default Integration.Builder pagerDutyConfiguration(Consumer<PagerDutyConfiguration.Builder> pagerDutyConfiguration) Information about the PagerDuty service where the response plan creates an incident.
This is a convenience method that creates an instance of thePagerDutyConfiguration.Builder
avoiding the need to create one manually viaPagerDutyConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topagerDutyConfiguration(PagerDutyConfiguration)
.- Parameters:
pagerDutyConfiguration
- a consumer that will call methods onPagerDutyConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-