Interface ResourceLogicalExpression.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ResourceLogicalExpression.Builder,,ResourceLogicalExpression> SdkBuilder<ResourceLogicalExpression.Builder,,ResourceLogicalExpression> SdkPojo
- Enclosing class:
ResourceLogicalExpression
-
Method Summary
Modifier and TypeMethodDescriptionA list of subexpressions that must all match.and(Consumer<ResourceLogicalExpression.Builder>... and) A list of subexpressions that must all match.and(ResourceLogicalExpression... and) A list of subexpressions that must all match.criteria(Consumer<ResourceCriteria.Builder> criteria) A leaf condition that matches resources by tag or by resource-type-specific configuration.criteria(ResourceCriteria criteria) A leaf condition that matches resources by tag or by resource-type-specific configuration.A subexpression that must not match.A subexpression that must not match.A list of subexpressions of which at least one must match.A list of subexpressions of which at least one must match.or(ResourceLogicalExpression... or) A list of subexpressions of which at least one must match.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
criteria
A leaf condition that matches resources by tag or by resource-type-specific configuration.
- Parameters:
criteria- A leaf condition that matches resources by tag or by resource-type-specific configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
criteria
A leaf condition that matches resources by tag or by resource-type-specific configuration.
This is a convenience method that creates an instance of theResourceCriteria.Builderavoiding the need to create one manually viaResourceCriteria.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocriteria(ResourceCriteria).- Parameters:
criteria- a consumer that will call methods onResourceCriteria.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
and
A list of subexpressions that must all match.
- Parameters:
and- A list of subexpressions that must all match.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
and
A list of subexpressions that must all match.
- Parameters:
and- A list of subexpressions that must all match.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
and
A list of subexpressions that must all match.
This is a convenience method that creates an instance of theResourceLogicalExpression.Builderavoiding the need to create one manually viaResourceLogicalExpression.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toand(List<ResourceLogicalExpression>).- Parameters:
and- a consumer that will call methods onResourceLogicalExpression.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
or
A list of subexpressions of which at least one must match.
- Parameters:
or- A list of subexpressions of which at least one must match.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
or
A list of subexpressions of which at least one must match.
- Parameters:
or- A list of subexpressions of which at least one must match.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
or
A list of subexpressions of which at least one must match.
This is a convenience method that creates an instance of theResourceLogicalExpression.Builderavoiding the need to create one manually viaResourceLogicalExpression.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toor(List<ResourceLogicalExpression>).- Parameters:
or- a consumer that will call methods onResourceLogicalExpression.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
not
A subexpression that must not match.
- Parameters:
not- A subexpression that must not match.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
not
A subexpression that must not match.
This is a convenience method that creates an instance of theResourceLogicalExpression.Builderavoiding the need to create one manually viaResourceLogicalExpression.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tonot(ResourceLogicalExpression).- Parameters:
not- a consumer that will call methods onResourceLogicalExpression.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-