public final class EffectiveTraitQuery extends java.lang.Object implements ToSmithyBuilder<EffectiveTraitQuery>
Modifier and Type | Class and Description |
---|---|
static class |
EffectiveTraitQuery.Builder
Builds a reusable EffectiveTraitQuery.
|
Modifier and Type | Method and Description |
---|---|
static EffectiveTraitQuery.Builder |
builder()
Creates a new query builder.
|
boolean |
isTraitApplied(ToShapeId shapeId)
Checks if the trait is effectively applied to a shape.
|
EffectiveTraitQuery.Builder |
toBuilder()
Take this object and create a builder that contains all of the
current property values of this object.
|
public boolean isTraitApplied(ToShapeId shapeId)
shapeId
- Shape to test.public static EffectiveTraitQuery.Builder builder()
public EffectiveTraitQuery.Builder toBuilder()
ToSmithyBuilder
toBuilder
in interface ToSmithyBuilder<EffectiveTraitQuery>