@Test public void returnsAppropriateType() { BooleanShape shape = BooleanShape.builder().id("ns.foo#bar").build(); assertEquals(shape.getType(), ShapeType.BOOLEAN); }
public static Builder builder() { return new Builder(); }
BooleanShape extends SimpleShape implements ToSmithyBuilder<BooleanShape> { public static Builder builder() { return new Builder(); } }
BooleanShape extends SimpleShape implements ToSmithyBuilder<BooleanShape> { public static Builder builder() { return new Builder(); } private  BooleanShape(Builder builder); }
BooleanShape extends SimpleShape implements ToSmithyBuilder<BooleanShape> { public static Builder builder() { return new Builder(); } private  BooleanShape(Builder builder); static Builder builder(); @Override Builder toBuilder(); @Override R accept(ShapeVisitor<R> cases); @Override Optional<BooleanShape> asBooleanShape(); }
BooleanShape extends SimpleShape implements ToSmithyBuilder<BooleanShape> { public static Builder builder() { return new Builder(); } private  BooleanShape(Builder builder); static Builder builder(); @Override Builder toBuilder(); @Override R accept(ShapeVisitor<R> cases); @Override Optional<BooleanShape> asBooleanShape();  }