Class CfnServicePropsMixin.NewRelicApiKeyConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.devopsagent.mixins.CfnServicePropsMixin.NewRelicApiKeyConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnServicePropsMixin.NewRelicApiKeyConfigProperty>
- Enclosing interface:
CfnServicePropsMixin.NewRelicApiKeyConfigProperty
@Stability(Stable)
public static final class CfnServicePropsMixin.NewRelicApiKeyConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnServicePropsMixin.NewRelicApiKeyConfigProperty>
A builder for
CfnServicePropsMixin.NewRelicApiKeyConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnServicePropsMixin.NewRelicApiKeyConfigProperty.getAccountId()alertPolicyIds(List<String> alertPolicyIds) Sets the value ofCfnServicePropsMixin.NewRelicApiKeyConfigProperty.getAlertPolicyIds()Sets the value ofCfnServicePropsMixin.NewRelicApiKeyConfigProperty.getApiKey()applicationIds(List<String> applicationIds) Sets the value ofCfnServicePropsMixin.NewRelicApiKeyConfigProperty.getApplicationIds()build()Builds the configured instance.entityGuids(List<String> entityGuids) Sets the value ofCfnServicePropsMixin.NewRelicApiKeyConfigProperty.getEntityGuids()Sets the value ofCfnServicePropsMixin.NewRelicApiKeyConfigProperty.getRegion()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
accountId
@Stability(Stable) public CfnServicePropsMixin.NewRelicApiKeyConfigProperty.Builder accountId(String accountId) Sets the value ofCfnServicePropsMixin.NewRelicApiKeyConfigProperty.getAccountId()- Parameters:
accountId- New Relic Account ID.- Returns:
this
-
alertPolicyIds
@Stability(Stable) public CfnServicePropsMixin.NewRelicApiKeyConfigProperty.Builder alertPolicyIds(List<String> alertPolicyIds) Sets the value ofCfnServicePropsMixin.NewRelicApiKeyConfigProperty.getAlertPolicyIds()- Parameters:
alertPolicyIds- List of alert policy IDs.- Returns:
this
-
apiKey
@Stability(Stable) public CfnServicePropsMixin.NewRelicApiKeyConfigProperty.Builder apiKey(String apiKey) Sets the value ofCfnServicePropsMixin.NewRelicApiKeyConfigProperty.getApiKey()- Parameters:
apiKey- New Relic User API Key.- Returns:
this
-
applicationIds
@Stability(Stable) public CfnServicePropsMixin.NewRelicApiKeyConfigProperty.Builder applicationIds(List<String> applicationIds) Sets the value ofCfnServicePropsMixin.NewRelicApiKeyConfigProperty.getApplicationIds()- Parameters:
applicationIds- List of monitored APM application IDs.- Returns:
this
-
entityGuids
@Stability(Stable) public CfnServicePropsMixin.NewRelicApiKeyConfigProperty.Builder entityGuids(List<String> entityGuids) Sets the value ofCfnServicePropsMixin.NewRelicApiKeyConfigProperty.getEntityGuids()- Parameters:
entityGuids- List of globally unique IDs for New Relic resources.- Returns:
this
-
region
@Stability(Stable) public CfnServicePropsMixin.NewRelicApiKeyConfigProperty.Builder region(String region) Sets the value ofCfnServicePropsMixin.NewRelicApiKeyConfigProperty.getRegion()- Parameters:
region- New Relic region.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnServicePropsMixin.NewRelicApiKeyConfigProperty>- Returns:
- a new instance of
CfnServicePropsMixin.NewRelicApiKeyConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-