@Test public void differentMemberAreNotEqual() { MemberShape member1 = MemberShape.builder().id("ns.foo#bar$member").target("ns.foo#bam").build(); ListShape shape1 = ListShape.builder().id("ns.foo#bar").member(member1).build(); MemberShape member2 = MemberShape.builder().id("ns.foo#bar$member").target("ns.foo#qux").build(); ListShape shape2 = ListShape.builder().id("ns.foo#bar").member(member2).build(); assertNotEquals(shape1, shape2); }
public static Builder builder() { return new Builder(); }
ListShape extends CollectionShape implements ToSmithyBuilder<ListShape> { public static Builder builder() { return new Builder(); } }
ListShape extends CollectionShape implements ToSmithyBuilder<ListShape> { public static Builder builder() { return new Builder(); } private  ListShape(Builder builder); }
ListShape extends CollectionShape implements ToSmithyBuilder<ListShape> { public static Builder builder() { return new Builder(); } private  ListShape(Builder builder); static Builder builder(); @Override Builder toBuilder(); @Override R accept(ShapeVisitor<R> cases); @Override Optional<ListShape> asListShape(); }
ListShape extends CollectionShape implements ToSmithyBuilder<ListShape> { public static Builder builder() { return new Builder(); } private  ListShape(Builder builder); static Builder builder(); @Override Builder toBuilder(); @Override R accept(ShapeVisitor<R> cases); @Override Optional<ListShape> asListShape();  }