Class CfnOrganizationTelemetryRule.AdvancedEventSelectorProperty.Builder
java.lang.Object
software.amazon.awscdk.services.observabilityadmin.CfnOrganizationTelemetryRule.AdvancedEventSelectorProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnOrganizationTelemetryRule.AdvancedEventSelectorProperty>
- Enclosing interface:
CfnOrganizationTelemetryRule.AdvancedEventSelectorProperty
@Stability(Stable)
public static final class CfnOrganizationTelemetryRule.AdvancedEventSelectorProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnOrganizationTelemetryRule.AdvancedEventSelectorProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.fieldSelectors(List<? extends Object> fieldSelectors) fieldSelectors(IResolvable fieldSelectors) Sets the value ofCfnOrganizationTelemetryRule.AdvancedEventSelectorProperty.getName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
fieldSelectors
@Stability(Stable) public CfnOrganizationTelemetryRule.AdvancedEventSelectorProperty.Builder fieldSelectors(IResolvable fieldSelectors) - Parameters:
fieldSelectors- Contains all selector statements in an advanced event selector. This parameter is required.- Returns:
this
-
fieldSelectors
@Stability(Stable) public CfnOrganizationTelemetryRule.AdvancedEventSelectorProperty.Builder fieldSelectors(List<? extends Object> fieldSelectors) - Parameters:
fieldSelectors- Contains all selector statements in an advanced event selector. This parameter is required.- Returns:
this
-
name
@Stability(Stable) public CfnOrganizationTelemetryRule.AdvancedEventSelectorProperty.Builder name(String name) Sets the value ofCfnOrganizationTelemetryRule.AdvancedEventSelectorProperty.getName()- Parameters:
name- An optional, descriptive name for an advanced event selector, such as "Log data events for only two S3 buckets".- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnOrganizationTelemetryRule.AdvancedEventSelectorProperty>- Returns:
- a new instance of
CfnOrganizationTelemetryRule.AdvancedEventSelectorProperty - Throws:
NullPointerException- if any required attribute was not provided
-