Class CfnResponsePlanPropsMixin.PagerDutyConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ssmincidents.CfnResponsePlanPropsMixin.PagerDutyConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnResponsePlanPropsMixin.PagerDutyConfigurationProperty>
- Enclosing interface:
CfnResponsePlanPropsMixin.PagerDutyConfigurationProperty
@Stability(Stable)
public static final class CfnResponsePlanPropsMixin.PagerDutyConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnResponsePlanPropsMixin.PagerDutyConfigurationProperty>
A builder for
CfnResponsePlanPropsMixin.PagerDutyConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnResponsePlanPropsMixin.PagerDutyConfigurationProperty.getName()pagerDutyIncidentConfiguration(CfnResponsePlanPropsMixin.PagerDutyIncidentConfigurationProperty pagerDutyIncidentConfiguration) pagerDutyIncidentConfiguration(IResolvable pagerDutyIncidentConfiguration) Sets the value ofCfnResponsePlanPropsMixin.PagerDutyConfigurationProperty.getSecretId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
@Stability(Stable) public CfnResponsePlanPropsMixin.PagerDutyConfigurationProperty.Builder name(String name) Sets the value ofCfnResponsePlanPropsMixin.PagerDutyConfigurationProperty.getName()- Parameters:
name- The name of the PagerDuty configuration.- Returns:
this
-
pagerDutyIncidentConfiguration
@Stability(Stable) public CfnResponsePlanPropsMixin.PagerDutyConfigurationProperty.Builder pagerDutyIncidentConfiguration(IResolvable pagerDutyIncidentConfiguration) Sets the value ofCfnResponsePlanPropsMixin.PagerDutyConfigurationProperty.getPagerDutyIncidentConfiguration()- Parameters:
pagerDutyIncidentConfiguration- Details about the PagerDuty service associated with the configuration.- Returns:
this
-
pagerDutyIncidentConfiguration
@Stability(Stable) public CfnResponsePlanPropsMixin.PagerDutyConfigurationProperty.Builder pagerDutyIncidentConfiguration(CfnResponsePlanPropsMixin.PagerDutyIncidentConfigurationProperty pagerDutyIncidentConfiguration) Sets the value ofCfnResponsePlanPropsMixin.PagerDutyConfigurationProperty.getPagerDutyIncidentConfiguration()- Parameters:
pagerDutyIncidentConfiguration- Details about the PagerDuty service associated with the configuration.- Returns:
this
-
secretId
@Stability(Stable) public CfnResponsePlanPropsMixin.PagerDutyConfigurationProperty.Builder secretId(String secretId) Sets the value ofCfnResponsePlanPropsMixin.PagerDutyConfigurationProperty.getSecretId()- Parameters:
secretId- The ID of the AWS Secrets Manager secret that stores your PagerDuty key, either a General Access REST API Key or User Token REST API Key, and other user credentials.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnResponsePlanPropsMixin.PagerDutyConfigurationProperty>- Returns:
- a new instance of
CfnResponsePlanPropsMixin.PagerDutyConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-