Class CfnCloudVmCluster.DataCollectionOptionsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.odb.CfnCloudVmCluster.DataCollectionOptionsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCloudVmCluster.DataCollectionOptionsProperty>
- Enclosing interface:
CfnCloudVmCluster.DataCollectionOptionsProperty
@Stability(Stable)
public static final class CfnCloudVmCluster.DataCollectionOptionsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCloudVmCluster.DataCollectionOptionsProperty>
A builder for
CfnCloudVmCluster.DataCollectionOptionsProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.isDiagnosticsEventsEnabled
(Boolean isDiagnosticsEventsEnabled) isDiagnosticsEventsEnabled
(IResolvable isDiagnosticsEventsEnabled) isHealthMonitoringEnabled
(Boolean isHealthMonitoringEnabled) isHealthMonitoringEnabled
(IResolvable isHealthMonitoringEnabled) isIncidentLogsEnabled
(Boolean isIncidentLogsEnabled) isIncidentLogsEnabled
(IResolvable isIncidentLogsEnabled)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
isDiagnosticsEventsEnabled
@Stability(Stable) public CfnCloudVmCluster.DataCollectionOptionsProperty.Builder isDiagnosticsEventsEnabled(Boolean isDiagnosticsEventsEnabled) - Parameters:
isDiagnosticsEventsEnabled
- Specifies whether diagnostic collection is enabled for the VM cluster.- Returns:
this
-
isDiagnosticsEventsEnabled
@Stability(Stable) public CfnCloudVmCluster.DataCollectionOptionsProperty.Builder isDiagnosticsEventsEnabled(IResolvable isDiagnosticsEventsEnabled) - Parameters:
isDiagnosticsEventsEnabled
- Specifies whether diagnostic collection is enabled for the VM cluster.- Returns:
this
-
isHealthMonitoringEnabled
@Stability(Stable) public CfnCloudVmCluster.DataCollectionOptionsProperty.Builder isHealthMonitoringEnabled(Boolean isHealthMonitoringEnabled) - Parameters:
isHealthMonitoringEnabled
- Specifies whether health monitoring is enabled for the VM cluster.- Returns:
this
-
isHealthMonitoringEnabled
@Stability(Stable) public CfnCloudVmCluster.DataCollectionOptionsProperty.Builder isHealthMonitoringEnabled(IResolvable isHealthMonitoringEnabled) - Parameters:
isHealthMonitoringEnabled
- Specifies whether health monitoring is enabled for the VM cluster.- Returns:
this
-
isIncidentLogsEnabled
@Stability(Stable) public CfnCloudVmCluster.DataCollectionOptionsProperty.Builder isIncidentLogsEnabled(Boolean isIncidentLogsEnabled) - Parameters:
isIncidentLogsEnabled
- Specifies whether incident logs are enabled for the VM cluster.- Returns:
this
-
isIncidentLogsEnabled
@Stability(Stable) public CfnCloudVmCluster.DataCollectionOptionsProperty.Builder isIncidentLogsEnabled(IResolvable isIncidentLogsEnabled) - Parameters:
isIncidentLogsEnabled
- Specifies whether incident logs are enabled for the VM cluster.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnCloudVmCluster.DataCollectionOptionsProperty>
- Returns:
- a new instance of
CfnCloudVmCluster.DataCollectionOptionsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-