Class CfnTelemetryRulePropsMixin.AdvancedFieldSelectorProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.observabilityadmin.CfnTelemetryRulePropsMixin.AdvancedFieldSelectorProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTelemetryRulePropsMixin.AdvancedFieldSelectorProperty>
- Enclosing interface:
CfnTelemetryRulePropsMixin.AdvancedFieldSelectorProperty
@Stability(Stable)
public static final class CfnTelemetryRulePropsMixin.AdvancedFieldSelectorProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTelemetryRulePropsMixin.AdvancedFieldSelectorProperty>
A builder for
CfnTelemetryRulePropsMixin.AdvancedFieldSelectorProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnTelemetryRulePropsMixin.AdvancedFieldSelectorProperty.getEndsWith()Sets the value ofCfnTelemetryRulePropsMixin.AdvancedFieldSelectorProperty.getEqualTo()Sets the value ofCfnTelemetryRulePropsMixin.AdvancedFieldSelectorProperty.getField()notEndsWith(List<String> notEndsWith) Sets the value ofCfnTelemetryRulePropsMixin.AdvancedFieldSelectorProperty.getNotEquals()notStartsWith(List<String> notStartsWith) startsWith(List<String> startsWith) Sets the value ofCfnTelemetryRulePropsMixin.AdvancedFieldSelectorProperty.getStartsWith()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
endsWith
@Stability(Stable) public CfnTelemetryRulePropsMixin.AdvancedFieldSelectorProperty.Builder endsWith(List<String> endsWith) Sets the value ofCfnTelemetryRulePropsMixin.AdvancedFieldSelectorProperty.getEndsWith()- Parameters:
endsWith- Matches if the field value ends with the specified value.- Returns:
this
-
equalTo
@Stability(Stable) public CfnTelemetryRulePropsMixin.AdvancedFieldSelectorProperty.Builder equalTo(List<String> equalTo) Sets the value ofCfnTelemetryRulePropsMixin.AdvancedFieldSelectorProperty.getEqualTo()- Parameters:
equalTo- Matches if the field value equals the specified value.- Returns:
this
-
field
@Stability(Stable) public CfnTelemetryRulePropsMixin.AdvancedFieldSelectorProperty.Builder field(String field) Sets the value ofCfnTelemetryRulePropsMixin.AdvancedFieldSelectorProperty.getField()- Parameters:
field- The name of the field to use for selection.- Returns:
this
-
notEndsWith
@Stability(Stable) public CfnTelemetryRulePropsMixin.AdvancedFieldSelectorProperty.Builder notEndsWith(List<String> notEndsWith) - Parameters:
notEndsWith- Matches if the field value does not end with the specified value.- Returns:
this
-
notEquals
@Stability(Stable) public CfnTelemetryRulePropsMixin.AdvancedFieldSelectorProperty.Builder notEquals(List<String> notEquals) Sets the value ofCfnTelemetryRulePropsMixin.AdvancedFieldSelectorProperty.getNotEquals()- Parameters:
notEquals- Matches if the field value does not equal the specified value.- Returns:
this
-
notStartsWith
@Stability(Stable) public CfnTelemetryRulePropsMixin.AdvancedFieldSelectorProperty.Builder notStartsWith(List<String> notStartsWith) - Parameters:
notStartsWith- Matches if the field value does not start with the specified value.- Returns:
this
-
startsWith
@Stability(Stable) public CfnTelemetryRulePropsMixin.AdvancedFieldSelectorProperty.Builder startsWith(List<String> startsWith) Sets the value ofCfnTelemetryRulePropsMixin.AdvancedFieldSelectorProperty.getStartsWith()- Parameters:
startsWith- Matches if the field value starts with the specified value.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTelemetryRulePropsMixin.AdvancedFieldSelectorProperty>- Returns:
- a new instance of
CfnTelemetryRulePropsMixin.AdvancedFieldSelectorProperty - Throws:
NullPointerException- if any required attribute was not provided
-