public Builder clearCollectionOperations() {
            collectionOperations.clear();
            return this;
        }
Adds an identifier to the resource.

@param name Name of the identifier.
@param identifier Shape ID of the identifier.
@return Returns the builder.
smithy-model/src/main/java/software/amazon/smithy/model/shapes/ResourceShape.java