public AbstractShapeBuilder<?, ?> createBuilderForType() {
        switch (this) {
            case BLOB:
                return BlobShape.builder();
            case BOOLEAN:
                return BooleanShape.builder();
            case STRING:
                return StringShape.builder();
            case ENUM:
                return EnumShape.builder();
            case TIMESTAMP:
                return TimestampShape.builder();
            case BYTE:
                return ByteShape.builder();
            case SHORT:
                return ShortShape.builder();
            case INTEGER:
                return IntegerShape.builder();
            case INT_ENUM:
                return IntEnumShape.builder();
            case LONG:
                return LongShape.builder();
            case FLOAT:
                return FloatShape.builder();
            case DOCUMENT:
                return DocumentShape.builder();
            case DOUBLE:
                return DoubleShape.builder();
            case BIG_DECIMAL:
                return BigDecimalShape.builder();
            case BIG_INTEGER:
                return BigIntegerShape.builder();
            case LIST:
                return ListShape.builder();
            case SET:
                return SetShape.builder();
            case MAP:
                return MapShape.builder();
            case STRUCTURE:
                return StructureShape.builder();
            case UNION:
                return UnionShape.builder();
            case SERVICE:
                return ServiceShape.builder();
            case RESOURCE:
                return ResourceShape.builder();
            case OPERATION:
                return OperationShape.builder();
            case MEMBER:
                return MemberShape.builder();
            default:
                throw new IllegalStateException("Invalid shape type: " + this);
        }
    }
Creates a shape builder that corresponds to the shape type.

@return Returns a shape builder corresponding to the type.
smithy-model/src/main/java/software/amazon/smithy/model/shapes/ShapeType.java