Class CfnAssociationPropsMixin.PagerDutyConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.devopsagent.CfnAssociationPropsMixin.PagerDutyConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAssociationPropsMixin.PagerDutyConfigurationProperty>
- Enclosing interface:
CfnAssociationPropsMixin.PagerDutyConfigurationProperty
@Stability(Stable)
public static final class CfnAssociationPropsMixin.PagerDutyConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAssociationPropsMixin.PagerDutyConfigurationProperty>
A builder for
CfnAssociationPropsMixin.PagerDutyConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.customerEmail(String customerEmail) enableWebhookUpdates(Boolean enableWebhookUpdates) enableWebhookUpdates(IResolvable enableWebhookUpdates) Sets the value ofCfnAssociationPropsMixin.PagerDutyConfigurationProperty.getServices()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
customerEmail
@Stability(Stable) public CfnAssociationPropsMixin.PagerDutyConfigurationProperty.Builder customerEmail(String customerEmail) - Parameters:
customerEmail- Email to be used in PagerDuty API header.- Returns:
this
-
enableWebhookUpdates
@Stability(Stable) public CfnAssociationPropsMixin.PagerDutyConfigurationProperty.Builder enableWebhookUpdates(Boolean enableWebhookUpdates) - Parameters:
enableWebhookUpdates- When set to true, enables the Agent Space to create and update webhooks for receiving notifications and events from the service.- Returns:
this
-
enableWebhookUpdates
@Stability(Stable) public CfnAssociationPropsMixin.PagerDutyConfigurationProperty.Builder enableWebhookUpdates(IResolvable enableWebhookUpdates) - Parameters:
enableWebhookUpdates- When set to true, enables the Agent Space to create and update webhooks for receiving notifications and events from the service.- Returns:
this
-
services
@Stability(Stable) public CfnAssociationPropsMixin.PagerDutyConfigurationProperty.Builder services(List<String> services) Sets the value ofCfnAssociationPropsMixin.PagerDutyConfigurationProperty.getServices()- Parameters:
services- List of PagerDuty service IDs available for the association.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAssociationPropsMixin.PagerDutyConfigurationProperty>- Returns:
- a new instance of
CfnAssociationPropsMixin.PagerDutyConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-