Class CfnServicePropsMixin.PagerDutyDetailsProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.devopsagent.CfnServicePropsMixin.PagerDutyDetailsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnServicePropsMixin.PagerDutyDetailsProperty>
- Enclosing interface:
CfnServicePropsMixin.PagerDutyDetailsProperty
@Stability(Stable)
public static final class CfnServicePropsMixin.PagerDutyDetailsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnServicePropsMixin.PagerDutyDetailsProperty>
A builder for
CfnServicePropsMixin.PagerDutyDetailsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionauthorizationConfig(CfnServicePropsMixin.PagerDutyAuthorizationConfigProperty authorizationConfig) Sets the value ofCfnServicePropsMixin.PagerDutyDetailsProperty.getAuthorizationConfig()authorizationConfig(IResolvable authorizationConfig) Sets the value ofCfnServicePropsMixin.PagerDutyDetailsProperty.getAuthorizationConfig()build()Builds the configured instance.Sets the value ofCfnServicePropsMixin.PagerDutyDetailsProperty.getScopes()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
authorizationConfig
@Stability(Stable) public CfnServicePropsMixin.PagerDutyDetailsProperty.Builder authorizationConfig(IResolvable authorizationConfig) Sets the value ofCfnServicePropsMixin.PagerDutyDetailsProperty.getAuthorizationConfig()- Parameters:
authorizationConfig- PagerDuty OAuth authorization configuration.- Returns:
this
-
authorizationConfig
@Stability(Stable) public CfnServicePropsMixin.PagerDutyDetailsProperty.Builder authorizationConfig(CfnServicePropsMixin.PagerDutyAuthorizationConfigProperty authorizationConfig) Sets the value ofCfnServicePropsMixin.PagerDutyDetailsProperty.getAuthorizationConfig()- Parameters:
authorizationConfig- PagerDuty OAuth authorization configuration.- Returns:
this
-
scopes
@Stability(Stable) public CfnServicePropsMixin.PagerDutyDetailsProperty.Builder scopes(List<String> scopes) Sets the value ofCfnServicePropsMixin.PagerDutyDetailsProperty.getScopes()- Parameters:
scopes- PagerDuty scopes.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnServicePropsMixin.PagerDutyDetailsProperty>- Returns:
- a new instance of
CfnServicePropsMixin.PagerDutyDetailsProperty - Throws:
NullPointerException- if any required attribute was not provided
-