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