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