public static final class CfnApplication.ComponentMonitoringSettingProperty.Builder
extends java.lang.Object
CfnApplication.ComponentMonitoringSettingProperty
Constructor and Description |
---|
Builder() |
public CfnApplication.ComponentMonitoringSettingProperty.Builder componentConfigurationMode(java.lang.String componentConfigurationMode)
componentConfigurationMode
- Component monitoring can be configured in one of the following three modes:. This parameter is required.
DEFAULT
: The component will be configured with the recommended default monitoring settings of the selected Tier
.CUSTOM
: The component will be configured with the customized monitoring settings that are specified in CustomComponentConfiguration
. If used, CustomComponentConfiguration
must be provided.DEFAULT_WITH_OVERWRITE
: The component will be configured with the recommended default monitoring settings of the selected Tier
, and merged with customized overwrite settings that are specified in DefaultOverwriteComponentConfiguration
. If used, DefaultOverwriteComponentConfiguration
must be provided.this
public CfnApplication.ComponentMonitoringSettingProperty.Builder tier(java.lang.String tier)
CfnApplication.ComponentMonitoringSettingProperty.getTier()
tier
- The tier of the application component. This parameter is required.
Supported tiers include DOT_NET_CORE
, DOT_NET_WORKER
, DOT_NET_WEB
, SQL_SERVER
, SQL_SERVER_ALWAYSON_AVAILABILITY_GROUP
, SQL_SERVER_FAILOVER_CLUSTER_INSTANCE
, MYSQL
, POSTGRESQL
, JAVA_JMX
, ORACLE
, SAP_HANA_MULTI_NODE
, SAP_HANA_SINGLE_NODE
, SAP_HANA_HIGH_AVAILABILITY
, SHAREPOINT
. ACTIVE_DIRECTORY
, and DEFAULT
.this
public CfnApplication.ComponentMonitoringSettingProperty.Builder componentArn(java.lang.String componentArn)
CfnApplication.ComponentMonitoringSettingProperty.getComponentArn()
componentArn
- The ARN of the component.this
public CfnApplication.ComponentMonitoringSettingProperty.Builder componentName(java.lang.String componentName)
CfnApplication.ComponentMonitoringSettingProperty.getComponentName()
componentName
- The name of the component.this
public CfnApplication.ComponentMonitoringSettingProperty.Builder customComponentConfiguration(IResolvable customComponentConfiguration)
CfnApplication.ComponentMonitoringSettingProperty.getCustomComponentConfiguration()
customComponentConfiguration
- Customized monitoring settings.
Required if CUSTOM mode is configured in ComponentConfigurationMode
.this
public CfnApplication.ComponentMonitoringSettingProperty.Builder customComponentConfiguration(CfnApplication.ComponentConfigurationProperty customComponentConfiguration)
CfnApplication.ComponentMonitoringSettingProperty.getCustomComponentConfiguration()
customComponentConfiguration
- Customized monitoring settings.
Required if CUSTOM mode is configured in ComponentConfigurationMode
.this
public CfnApplication.ComponentMonitoringSettingProperty.Builder defaultOverwriteComponentConfiguration(IResolvable defaultOverwriteComponentConfiguration)
CfnApplication.ComponentMonitoringSettingProperty.getDefaultOverwriteComponentConfiguration()
defaultOverwriteComponentConfiguration
- Customized overwrite monitoring settings.
Required if CUSTOM mode is configured in ComponentConfigurationMode
.this
public CfnApplication.ComponentMonitoringSettingProperty.Builder defaultOverwriteComponentConfiguration(CfnApplication.ComponentConfigurationProperty defaultOverwriteComponentConfiguration)
CfnApplication.ComponentMonitoringSettingProperty.getDefaultOverwriteComponentConfiguration()
defaultOverwriteComponentConfiguration
- Customized overwrite monitoring settings.
Required if CUSTOM mode is configured in ComponentConfigurationMode
.this
public CfnApplication.ComponentMonitoringSettingProperty build()
CfnApplication.ComponentMonitoringSettingProperty
java.lang.NullPointerException
- if any required attribute was not provided