Class CfnEventTrigger.ObjectAttributeProperty.Builder
java.lang.Object
software.amazon.awscdk.services.customerprofiles.CfnEventTrigger.ObjectAttributeProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEventTrigger.ObjectAttributeProperty>
- Enclosing interface:
CfnEventTrigger.ObjectAttributeProperty
@Stability(Stable)
public static final class CfnEventTrigger.ObjectAttributeProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEventTrigger.ObjectAttributeProperty>
A builder for
CfnEventTrigger.ObjectAttributeProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.comparisonOperator(String comparisonOperator) Sets the value ofCfnEventTrigger.ObjectAttributeProperty.getComparisonOperator()Sets the value ofCfnEventTrigger.ObjectAttributeProperty.getFieldName()Sets the value ofCfnEventTrigger.ObjectAttributeProperty.getSource()Sets the value ofCfnEventTrigger.ObjectAttributeProperty.getValues()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
comparisonOperator
@Stability(Stable) public CfnEventTrigger.ObjectAttributeProperty.Builder comparisonOperator(String comparisonOperator) Sets the value ofCfnEventTrigger.ObjectAttributeProperty.getComparisonOperator()- Parameters:
comparisonOperator- The operator used to compare an attribute against a list of values. This parameter is required.- Returns:
this
-
values
@Stability(Stable) public CfnEventTrigger.ObjectAttributeProperty.Builder values(List<String> values) Sets the value ofCfnEventTrigger.ObjectAttributeProperty.getValues()- Parameters:
values- The amount of time of the specified unit. This parameter is required.- Returns:
this
-
fieldName
@Stability(Stable) public CfnEventTrigger.ObjectAttributeProperty.Builder fieldName(String fieldName) Sets the value ofCfnEventTrigger.ObjectAttributeProperty.getFieldName()- Parameters:
fieldName- A field defined within an object type.- Returns:
this
-
source
Sets the value ofCfnEventTrigger.ObjectAttributeProperty.getSource()- Parameters:
source- An attribute contained within a source object.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnEventTrigger.ObjectAttributeProperty>- Returns:
- a new instance of
CfnEventTrigger.ObjectAttributeProperty - Throws:
NullPointerException- if any required attribute was not provided
-