Class CfnOrganizationTelemetryRule.TelemetryRuleProperty.Builder
java.lang.Object
software.amazon.awscdk.services.observabilityadmin.CfnOrganizationTelemetryRule.TelemetryRuleProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnOrganizationTelemetryRule.TelemetryRuleProperty>
- Enclosing interface:
CfnOrganizationTelemetryRule.TelemetryRuleProperty
@Stability(Stable)
public static final class CfnOrganizationTelemetryRule.TelemetryRuleProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnOrganizationTelemetryRule.TelemetryRuleProperty>
A builder for
CfnOrganizationTelemetryRule.TelemetryRuleProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.destinationConfiguration
(IResolvable destinationConfiguration) destinationConfiguration
(CfnOrganizationTelemetryRule.TelemetryDestinationConfigurationProperty destinationConfiguration) resourceType
(String resourceType) Sets the value ofCfnOrganizationTelemetryRule.TelemetryRuleProperty.getResourceType()
Sets the value ofCfnOrganizationTelemetryRule.TelemetryRuleProperty.getScope()
selectionCriteria
(String selectionCriteria) telemetryType
(String telemetryType) Sets the value ofCfnOrganizationTelemetryRule.TelemetryRuleProperty.getTelemetryType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
resourceType
@Stability(Stable) public CfnOrganizationTelemetryRule.TelemetryRuleProperty.Builder resourceType(String resourceType) Sets the value ofCfnOrganizationTelemetryRule.TelemetryRuleProperty.getResourceType()
- Parameters:
resourceType
- Resource Type associated with the Organization Telemetry Rule. This parameter is required.- Returns:
this
-
telemetryType
@Stability(Stable) public CfnOrganizationTelemetryRule.TelemetryRuleProperty.Builder telemetryType(String telemetryType) Sets the value ofCfnOrganizationTelemetryRule.TelemetryRuleProperty.getTelemetryType()
- Parameters:
telemetryType
- Telemetry Type associated with the Organization Telemetry Rule. This parameter is required.- Returns:
this
-
destinationConfiguration
@Stability(Stable) public CfnOrganizationTelemetryRule.TelemetryRuleProperty.Builder destinationConfiguration(IResolvable destinationConfiguration) - Parameters:
destinationConfiguration
- The destination configuration for telemetry data.- Returns:
this
-
destinationConfiguration
@Stability(Stable) public CfnOrganizationTelemetryRule.TelemetryRuleProperty.Builder destinationConfiguration(CfnOrganizationTelemetryRule.TelemetryDestinationConfigurationProperty destinationConfiguration) - Parameters:
destinationConfiguration
- The destination configuration for telemetry data.- Returns:
this
-
scope
@Stability(Stable) public CfnOrganizationTelemetryRule.TelemetryRuleProperty.Builder scope(String scope) Sets the value ofCfnOrganizationTelemetryRule.TelemetryRuleProperty.getScope()
- Parameters:
scope
- Selection Criteria on scope level for rule application.- Returns:
this
-
selectionCriteria
@Stability(Stable) public CfnOrganizationTelemetryRule.TelemetryRuleProperty.Builder selectionCriteria(String selectionCriteria) - Parameters:
selectionCriteria
- Selection Criteria on resource level for rule application.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnOrganizationTelemetryRule.TelemetryRuleProperty>
- Returns:
- a new instance of
CfnOrganizationTelemetryRule.TelemetryRuleProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-