Class CfnAssociation.PagerDutyConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.devopsagent.CfnAssociation.PagerDutyConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAssociation.PagerDutyConfigurationProperty>
- Enclosing interface:
CfnAssociation.PagerDutyConfigurationProperty
@Stability(Stable)
public static final class CfnAssociation.PagerDutyConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAssociation.PagerDutyConfigurationProperty>
A builder for
CfnAssociation.PagerDutyConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.customerEmail(String customerEmail) Sets the value ofCfnAssociation.PagerDutyConfigurationProperty.getCustomerEmail()enableWebhookUpdates(Boolean enableWebhookUpdates) Sets the value ofCfnAssociation.PagerDutyConfigurationProperty.getEnableWebhookUpdates()enableWebhookUpdates(IResolvable enableWebhookUpdates) Sets the value ofCfnAssociation.PagerDutyConfigurationProperty.getEnableWebhookUpdates()Sets the value ofCfnAssociation.PagerDutyConfigurationProperty.getServices()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
customerEmail
@Stability(Stable) public CfnAssociation.PagerDutyConfigurationProperty.Builder customerEmail(String customerEmail) Sets the value ofCfnAssociation.PagerDutyConfigurationProperty.getCustomerEmail()- Parameters:
customerEmail- Email to be used in PagerDuty API header. This parameter is required.- Returns:
this
-
services
@Stability(Stable) public CfnAssociation.PagerDutyConfigurationProperty.Builder services(List<String> services) Sets the value ofCfnAssociation.PagerDutyConfigurationProperty.getServices()- Parameters:
services- List of PagerDuty service IDs available for the association. This parameter is required.- Returns:
this
-
enableWebhookUpdates
@Stability(Stable) public CfnAssociation.PagerDutyConfigurationProperty.Builder enableWebhookUpdates(Boolean enableWebhookUpdates) Sets the value ofCfnAssociation.PagerDutyConfigurationProperty.getEnableWebhookUpdates()- 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 CfnAssociation.PagerDutyConfigurationProperty.Builder enableWebhookUpdates(IResolvable enableWebhookUpdates) Sets the value ofCfnAssociation.PagerDutyConfigurationProperty.getEnableWebhookUpdates()- 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
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAssociation.PagerDutyConfigurationProperty>- Returns:
- a new instance of
CfnAssociation.PagerDutyConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-