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