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