public UpdateResourceCollectionRequest withAction(UpdateResourceCollectionAction action) {
        this.action = action.toString();
        return this;
    }
<p>
Specifies if the resource collection in the request is added or deleted to the resource collection.
</p>

@param action
       Specifies if the resource collection in the request is added or deleted to the resource collection.
@return Returns a reference to this object so that method calls can be chained together.
@see UpdateResourceCollectionAction
aws-java-sdk-devopsguru/src/main/java/com/amazonaws/services/devopsguru/model/UpdateResourceCollectionRequest.java