Class CfnAssociationPropsMixin.DynatraceConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.devopsagent.mixins.CfnAssociationPropsMixin.DynatraceConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAssociationPropsMixin.DynatraceConfigurationProperty>
- Enclosing interface:
CfnAssociationPropsMixin.DynatraceConfigurationProperty
@Stability(Stable)
public static final class CfnAssociationPropsMixin.DynatraceConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAssociationPropsMixin.DynatraceConfigurationProperty>
A builder for
CfnAssociationPropsMixin.DynatraceConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.enableWebhookUpdates(Boolean enableWebhookUpdates) enableWebhookUpdates(IResolvable enableWebhookUpdates) Sets the value ofCfnAssociationPropsMixin.DynatraceConfigurationProperty.getEnvId()Sets the value ofCfnAssociationPropsMixin.DynatraceConfigurationProperty.getResources()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
enableWebhookUpdates
@Stability(Stable) public CfnAssociationPropsMixin.DynatraceConfigurationProperty.Builder enableWebhookUpdates(Boolean enableWebhookUpdates) - 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 CfnAssociationPropsMixin.DynatraceConfigurationProperty.Builder enableWebhookUpdates(IResolvable enableWebhookUpdates) - 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
-
envId
@Stability(Stable) public CfnAssociationPropsMixin.DynatraceConfigurationProperty.Builder envId(String envId) Sets the value ofCfnAssociationPropsMixin.DynatraceConfigurationProperty.getEnvId()- Parameters:
envId- Dynatrace environment id.- Returns:
this
-
resources
@Stability(Stable) public CfnAssociationPropsMixin.DynatraceConfigurationProperty.Builder resources(List<String> resources) Sets the value ofCfnAssociationPropsMixin.DynatraceConfigurationProperty.getResources()- Parameters:
resources- List of Dynatrace resources to monitor.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAssociationPropsMixin.DynatraceConfigurationProperty>- Returns:
- a new instance of
CfnAssociationPropsMixin.DynatraceConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-