public static final class CfnApplicationProps.Builder
extends java.lang.Object
CfnApplicationProps
Constructor and Description |
---|
Builder() |
public CfnApplicationProps.Builder resourceGroupName(java.lang.String resourceGroupName)
CfnApplicationProps.getResourceGroupName()
resourceGroupName
- The name of the resource group used for the application. This parameter is required.this
public CfnApplicationProps.Builder autoConfigurationEnabled(java.lang.Boolean autoConfigurationEnabled)
CfnApplicationProps.getAutoConfigurationEnabled()
autoConfigurationEnabled
- If set to `true` , the application components will be configured with the monitoring configuration recommended by Application Insights.this
public CfnApplicationProps.Builder autoConfigurationEnabled(IResolvable autoConfigurationEnabled)
CfnApplicationProps.getAutoConfigurationEnabled()
autoConfigurationEnabled
- If set to `true` , the application components will be configured with the monitoring configuration recommended by Application Insights.this
public CfnApplicationProps.Builder componentMonitoringSettings(IResolvable componentMonitoringSettings)
CfnApplicationProps.getComponentMonitoringSettings()
componentMonitoringSettings
- The monitoring settings of the components.this
public CfnApplicationProps.Builder componentMonitoringSettings(java.util.List<? extends java.lang.Object> componentMonitoringSettings)
CfnApplicationProps.getComponentMonitoringSettings()
componentMonitoringSettings
- The monitoring settings of the components.this
public CfnApplicationProps.Builder customComponents(IResolvable customComponents)
CfnApplicationProps.getCustomComponents()
customComponents
- Describes a custom component by grouping similar standalone instances to monitor.this
public CfnApplicationProps.Builder customComponents(java.util.List<? extends java.lang.Object> customComponents)
CfnApplicationProps.getCustomComponents()
customComponents
- Describes a custom component by grouping similar standalone instances to monitor.this
public CfnApplicationProps.Builder cweMonitorEnabled(java.lang.Boolean cweMonitorEnabled)
CfnApplicationProps.getCweMonitorEnabled()
cweMonitorEnabled
- Indicates whether Application Insights can listen to CloudWatch events for the application resources, such as `instance terminated` , `failed deployment` , and others.this
public CfnApplicationProps.Builder cweMonitorEnabled(IResolvable cweMonitorEnabled)
CfnApplicationProps.getCweMonitorEnabled()
cweMonitorEnabled
- Indicates whether Application Insights can listen to CloudWatch events for the application resources, such as `instance terminated` , `failed deployment` , and others.this
public CfnApplicationProps.Builder groupingType(java.lang.String groupingType)
CfnApplicationProps.getGroupingType()
groupingType
- Application Insights can create applications based on a resource group or on an account.
To create an account-based application using all of the resources in the account, set this parameter to ACCOUNT_BASED
.this
public CfnApplicationProps.Builder logPatternSets(IResolvable logPatternSets)
CfnApplicationProps.getLogPatternSets()
logPatternSets
- The log pattern sets.this
public CfnApplicationProps.Builder logPatternSets(java.util.List<? extends java.lang.Object> logPatternSets)
CfnApplicationProps.getLogPatternSets()
logPatternSets
- The log pattern sets.this
public CfnApplicationProps.Builder opsCenterEnabled(java.lang.Boolean opsCenterEnabled)
CfnApplicationProps.getOpsCenterEnabled()
opsCenterEnabled
- Indicates whether Application Insights will create OpsItems for any problem that is detected by Application Insights for an application.this
public CfnApplicationProps.Builder opsCenterEnabled(IResolvable opsCenterEnabled)
CfnApplicationProps.getOpsCenterEnabled()
opsCenterEnabled
- Indicates whether Application Insights will create OpsItems for any problem that is detected by Application Insights for an application.this
public CfnApplicationProps.Builder opsItemSnsTopicArn(java.lang.String opsItemSnsTopicArn)
CfnApplicationProps.getOpsItemSnsTopicArn()
opsItemSnsTopicArn
- The SNS topic provided to Application Insights that is associated with the created OpsItems to receive SNS notifications for opsItem updates.this
public CfnApplicationProps.Builder tags(java.util.List<? extends CfnTag> tags)
CfnApplicationProps.getTags()
tags
- An array of `Tags` .this
public CfnApplicationProps build()
CfnApplicationProps
java.lang.NullPointerException
- if any required attribute was not provided