Class MemberShape.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • build

        public MemberShape build()
        Description copied from interface: SmithyBuilder
        Creates an immutable object that is created from the properties that have been set on the builder.
        Returns:
        an instance of T
      • target

        public MemberShape.Builder target​(ToShapeId shapeId)
        Sets a member shape ID on the builder.
        Parameters:
        shapeId - MemberShape targeted shape ID.
        Returns:
        Returns the builder.
      • target

        public MemberShape.Builder target​(java.lang.String shapeId)
        Sets a member shape ID on the builder.
        Parameters:
        shapeId - Targeted shape ID as an absolute member.
        Returns:
        Returns the builder.
        Throws:
        ShapeIdSyntaxException - if the shape ID is invalid.
      • getTarget

        public ShapeId getTarget()
        Returns:
        Returns the target currently set on the member.