Class CfnDataAccessor.AttributeFilterProperty.Builder
java.lang.Object
software.amazon.awscdk.services.qbusiness.CfnDataAccessor.AttributeFilterProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataAccessor.AttributeFilterProperty>
- Enclosing interface:
CfnDataAccessor.AttributeFilterProperty
@Stability(Stable)
public static final class CfnDataAccessor.AttributeFilterProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataAccessor.AttributeFilterProperty>
A builder for
CfnDataAccessor.AttributeFilterProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionandAllFilters(List<? extends Object> andAllFilters) Sets the value ofCfnDataAccessor.AttributeFilterProperty.getAndAllFilters()andAllFilters(IResolvable andAllFilters) Sets the value ofCfnDataAccessor.AttributeFilterProperty.getAndAllFilters()build()Builds the configured instance.containsAll(IResolvable containsAll) Sets the value ofCfnDataAccessor.AttributeFilterProperty.getContainsAll()containsAll(CfnDataAccessor.DocumentAttributeProperty containsAll) Sets the value ofCfnDataAccessor.AttributeFilterProperty.getContainsAll()containsAny(IResolvable containsAny) Sets the value ofCfnDataAccessor.AttributeFilterProperty.getContainsAny()containsAny(CfnDataAccessor.DocumentAttributeProperty containsAny) Sets the value ofCfnDataAccessor.AttributeFilterProperty.getContainsAny()equalsTo(IResolvable equalsTo) Sets the value ofCfnDataAccessor.AttributeFilterProperty.getEqualsTo()Sets the value ofCfnDataAccessor.AttributeFilterProperty.getEqualsTo()greaterThan(IResolvable greaterThan) Sets the value ofCfnDataAccessor.AttributeFilterProperty.getGreaterThan()greaterThan(CfnDataAccessor.DocumentAttributeProperty greaterThan) Sets the value ofCfnDataAccessor.AttributeFilterProperty.getGreaterThan()greaterThanOrEquals(IResolvable greaterThanOrEquals) Sets the value ofCfnDataAccessor.AttributeFilterProperty.getGreaterThanOrEquals()greaterThanOrEquals(CfnDataAccessor.DocumentAttributeProperty greaterThanOrEquals) Sets the value ofCfnDataAccessor.AttributeFilterProperty.getGreaterThanOrEquals()lessThan(IResolvable lessThan) Sets the value ofCfnDataAccessor.AttributeFilterProperty.getLessThan()Sets the value ofCfnDataAccessor.AttributeFilterProperty.getLessThan()lessThanOrEquals(IResolvable lessThanOrEquals) Sets the value ofCfnDataAccessor.AttributeFilterProperty.getLessThanOrEquals()lessThanOrEquals(CfnDataAccessor.DocumentAttributeProperty lessThanOrEquals) Sets the value ofCfnDataAccessor.AttributeFilterProperty.getLessThanOrEquals()notFilter(IResolvable notFilter) Sets the value ofCfnDataAccessor.AttributeFilterProperty.getNotFilter()notFilter(CfnDataAccessor.AttributeFilterProperty notFilter) Sets the value ofCfnDataAccessor.AttributeFilterProperty.getNotFilter()orAllFilters(List<? extends Object> orAllFilters) Sets the value ofCfnDataAccessor.AttributeFilterProperty.getOrAllFilters()orAllFilters(IResolvable orAllFilters) Sets the value ofCfnDataAccessor.AttributeFilterProperty.getOrAllFilters()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
andAllFilters
@Stability(Stable) public CfnDataAccessor.AttributeFilterProperty.Builder andAllFilters(IResolvable andAllFilters) Sets the value ofCfnDataAccessor.AttributeFilterProperty.getAndAllFilters()- Parameters:
andAllFilters- Performs a logicalANDoperation on all supplied filters.- Returns:
this
-
andAllFilters
@Stability(Stable) public CfnDataAccessor.AttributeFilterProperty.Builder andAllFilters(List<? extends Object> andAllFilters) Sets the value ofCfnDataAccessor.AttributeFilterProperty.getAndAllFilters()- Parameters:
andAllFilters- Performs a logicalANDoperation on all supplied filters.- Returns:
this
-
containsAll
@Stability(Stable) public CfnDataAccessor.AttributeFilterProperty.Builder containsAll(IResolvable containsAll) Sets the value ofCfnDataAccessor.AttributeFilterProperty.getContainsAll()- Parameters:
containsAll- Returnstruewhen a document contains all the specified document attributes or metadata fields. Supported for the following document attribute value types :stringListValue.- Returns:
this
-
containsAll
@Stability(Stable) public CfnDataAccessor.AttributeFilterProperty.Builder containsAll(CfnDataAccessor.DocumentAttributeProperty containsAll) Sets the value ofCfnDataAccessor.AttributeFilterProperty.getContainsAll()- Parameters:
containsAll- Returnstruewhen a document contains all the specified document attributes or metadata fields. Supported for the following document attribute value types :stringListValue.- Returns:
this
-
containsAny
@Stability(Stable) public CfnDataAccessor.AttributeFilterProperty.Builder containsAny(IResolvable containsAny) Sets the value ofCfnDataAccessor.AttributeFilterProperty.getContainsAny()- Parameters:
containsAny- Returnstruewhen a document contains any of the specified document attributes or metadata fields. Supported for the following document attribute value types :stringListValue.- Returns:
this
-
containsAny
@Stability(Stable) public CfnDataAccessor.AttributeFilterProperty.Builder containsAny(CfnDataAccessor.DocumentAttributeProperty containsAny) Sets the value ofCfnDataAccessor.AttributeFilterProperty.getContainsAny()- Parameters:
containsAny- Returnstruewhen a document contains any of the specified document attributes or metadata fields. Supported for the following document attribute value types :stringListValue.- Returns:
this
-
equalsTo
@Stability(Stable) public CfnDataAccessor.AttributeFilterProperty.Builder equalsTo(IResolvable equalsTo) Sets the value ofCfnDataAccessor.AttributeFilterProperty.getEqualsTo()- Parameters:
equalsTo- Performs an equals operation on two document attributes or metadata fields. Supported for the following document attribute value types :dateValue,longValue,stringListValueandstringValue.- Returns:
this
-
equalsTo
@Stability(Stable) public CfnDataAccessor.AttributeFilterProperty.Builder equalsTo(CfnDataAccessor.DocumentAttributeProperty equalsTo) Sets the value ofCfnDataAccessor.AttributeFilterProperty.getEqualsTo()- Parameters:
equalsTo- Performs an equals operation on two document attributes or metadata fields. Supported for the following document attribute value types :dateValue,longValue,stringListValueandstringValue.- Returns:
this
-
greaterThan
@Stability(Stable) public CfnDataAccessor.AttributeFilterProperty.Builder greaterThan(IResolvable greaterThan) Sets the value ofCfnDataAccessor.AttributeFilterProperty.getGreaterThan()- Parameters:
greaterThan- Performs a greater than operation on two document attributes or metadata fields. Supported for the following document attribute value types :dateValueandlongValue.- Returns:
this
-
greaterThan
@Stability(Stable) public CfnDataAccessor.AttributeFilterProperty.Builder greaterThan(CfnDataAccessor.DocumentAttributeProperty greaterThan) Sets the value ofCfnDataAccessor.AttributeFilterProperty.getGreaterThan()- Parameters:
greaterThan- Performs a greater than operation on two document attributes or metadata fields. Supported for the following document attribute value types :dateValueandlongValue.- Returns:
this
-
greaterThanOrEquals
@Stability(Stable) public CfnDataAccessor.AttributeFilterProperty.Builder greaterThanOrEquals(IResolvable greaterThanOrEquals) Sets the value ofCfnDataAccessor.AttributeFilterProperty.getGreaterThanOrEquals()- Parameters:
greaterThanOrEquals- Performs a greater or equals than operation on two document attributes or metadata fields. Supported for the following document attribute value types :dateValueandlongValue.- Returns:
this
-
greaterThanOrEquals
@Stability(Stable) public CfnDataAccessor.AttributeFilterProperty.Builder greaterThanOrEquals(CfnDataAccessor.DocumentAttributeProperty greaterThanOrEquals) Sets the value ofCfnDataAccessor.AttributeFilterProperty.getGreaterThanOrEquals()- Parameters:
greaterThanOrEquals- Performs a greater or equals than operation on two document attributes or metadata fields. Supported for the following document attribute value types :dateValueandlongValue.- Returns:
this
-
lessThan
@Stability(Stable) public CfnDataAccessor.AttributeFilterProperty.Builder lessThan(IResolvable lessThan) Sets the value ofCfnDataAccessor.AttributeFilterProperty.getLessThan()- Parameters:
lessThan- Performs a less than operation on two document attributes or metadata fields. Supported for the following document attribute value types :dateValueandlongValue.- Returns:
this
-
lessThan
@Stability(Stable) public CfnDataAccessor.AttributeFilterProperty.Builder lessThan(CfnDataAccessor.DocumentAttributeProperty lessThan) Sets the value ofCfnDataAccessor.AttributeFilterProperty.getLessThan()- Parameters:
lessThan- Performs a less than operation on two document attributes or metadata fields. Supported for the following document attribute value types :dateValueandlongValue.- Returns:
this
-
lessThanOrEquals
@Stability(Stable) public CfnDataAccessor.AttributeFilterProperty.Builder lessThanOrEquals(IResolvable lessThanOrEquals) Sets the value ofCfnDataAccessor.AttributeFilterProperty.getLessThanOrEquals()- Parameters:
lessThanOrEquals- Performs a less than or equals operation on two document attributes or metadata fields.Supported for the following document attribute value type :dateValueandlongValue.- Returns:
this
-
lessThanOrEquals
@Stability(Stable) public CfnDataAccessor.AttributeFilterProperty.Builder lessThanOrEquals(CfnDataAccessor.DocumentAttributeProperty lessThanOrEquals) Sets the value ofCfnDataAccessor.AttributeFilterProperty.getLessThanOrEquals()- Parameters:
lessThanOrEquals- Performs a less than or equals operation on two document attributes or metadata fields.Supported for the following document attribute value type :dateValueandlongValue.- Returns:
this
-
notFilter
@Stability(Stable) public CfnDataAccessor.AttributeFilterProperty.Builder notFilter(IResolvable notFilter) Sets the value ofCfnDataAccessor.AttributeFilterProperty.getNotFilter()- Parameters:
notFilter- Performs a logicalNOToperation on all supplied filters.- Returns:
this
-
notFilter
@Stability(Stable) public CfnDataAccessor.AttributeFilterProperty.Builder notFilter(CfnDataAccessor.AttributeFilterProperty notFilter) Sets the value ofCfnDataAccessor.AttributeFilterProperty.getNotFilter()- Parameters:
notFilter- Performs a logicalNOToperation on all supplied filters.- Returns:
this
-
orAllFilters
@Stability(Stable) public CfnDataAccessor.AttributeFilterProperty.Builder orAllFilters(IResolvable orAllFilters) Sets the value ofCfnDataAccessor.AttributeFilterProperty.getOrAllFilters()- Parameters:
orAllFilters- Performs a logicalORoperation on all supplied filters.- Returns:
this
-
orAllFilters
@Stability(Stable) public CfnDataAccessor.AttributeFilterProperty.Builder orAllFilters(List<? extends Object> orAllFilters) Sets the value ofCfnDataAccessor.AttributeFilterProperty.getOrAllFilters()- Parameters:
orAllFilters- Performs a logicalORoperation on all supplied filters.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDataAccessor.AttributeFilterProperty>- Returns:
- a new instance of
CfnDataAccessor.AttributeFilterProperty - Throws:
NullPointerException- if any required attribute was not provided
-