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