Class CfnAssociation.DynatraceConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.devopsagent.CfnAssociation.DynatraceConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAssociation.DynatraceConfigurationProperty>
- Enclosing interface:
CfnAssociation.DynatraceConfigurationProperty
@Stability(Stable)
public static final class CfnAssociation.DynatraceConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAssociation.DynatraceConfigurationProperty>
A builder for
CfnAssociation.DynatraceConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.enableWebhookUpdates(Boolean enableWebhookUpdates) Sets the value ofCfnAssociation.DynatraceConfigurationProperty.getEnableWebhookUpdates()enableWebhookUpdates(IResolvable enableWebhookUpdates) Sets the value ofCfnAssociation.DynatraceConfigurationProperty.getEnableWebhookUpdates()Sets the value ofCfnAssociation.DynatraceConfigurationProperty.getEnvId()Sets the value ofCfnAssociation.DynatraceConfigurationProperty.getResources()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
envId
Sets the value ofCfnAssociation.DynatraceConfigurationProperty.getEnvId()- Parameters:
envId- Dynatrace environment id. This parameter is required.- Returns:
this
-
enableWebhookUpdates
@Stability(Stable) public CfnAssociation.DynatraceConfigurationProperty.Builder enableWebhookUpdates(Boolean enableWebhookUpdates) Sets the value ofCfnAssociation.DynatraceConfigurationProperty.getEnableWebhookUpdates()- Parameters:
enableWebhookUpdates- When set to true, enables the Agent Space to create and update webhooks for receiving notifications and events from the service.- Returns:
this
-
enableWebhookUpdates
@Stability(Stable) public CfnAssociation.DynatraceConfigurationProperty.Builder enableWebhookUpdates(IResolvable enableWebhookUpdates) Sets the value ofCfnAssociation.DynatraceConfigurationProperty.getEnableWebhookUpdates()- Parameters:
enableWebhookUpdates- When set to true, enables the Agent Space to create and update webhooks for receiving notifications and events from the service.- Returns:
this
-
resources
@Stability(Stable) public CfnAssociation.DynatraceConfigurationProperty.Builder resources(List<String> resources) Sets the value ofCfnAssociation.DynatraceConfigurationProperty.getResources()- Parameters:
resources- List of Dynatrace resources to monitor.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAssociation.DynatraceConfigurationProperty>- Returns:
- a new instance of
CfnAssociation.DynatraceConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-