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